import{h as s,c as t,o as e,s as a,$ as o,a as p,b as r,d as i,r as l,e as m,f as n,w as u,g as d,i as y,j,k as c,l as g,m as b,F as v}from"./index-CWyPMHxb.js";import{_ as f,a as _}from"./s-block.DTlfkjmo.js";import{S as k}from"./s-layout.CUgh1tQ8.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-list.6iftb-0V.js";import"./su-image.CIjDVZiE.js";import"./su-swiper.B7nhIEEk.js";import"./s-goods-column.C82luEdf.js";import"./useGoods.BQLkjza8.js";import"./index.gxKvznCa.js";import"./spu.ChgsD2WR.js";import"./combination.COmbyQA3.js";import"./seckill.DwGnHLlB.js";import"./point.BjjiOo72.js";import"./mp-html.C7Z3x8rV.js";import"./article.BbkY0GGQ.js";const x={__name:"index",setup(x){s();const S=t((()=>{var s;return null==(s=a.$store("app").template)?void 0:s.home}));return e((s=>{s.templateId&&a.$store("app").init(s.templateId),s.spm&&o.decryptSpm(s.spm),s.page&&a.$router.go(decodeURIComponent(s.page))})),p((()=>{a.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,t)=>{const e=l(m("s-block-item"),f),a=l(m("s-block"),_),o=l(m("s-layout"),k),p=y;return S.value?(j(),n(p,{key:0},{default:u((()=>[c(o,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:S.value.page,navbarStyle:S.value.navigationBar,onShareAppMessage:""},{default:u((()=>[(j(!0),g(v,null,b(S.value.components,((s,t)=>(j(),n(a,{key:t,styles:s.property.style},{default:u((()=>[c(e,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])])),_:1})):d("",!0)}}};export{x as default};
