import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-219abc09.js";import{_ as f,a as x}from"./s-block.20e0e078.js";import{_ as h}from"./s-layout.e3f07a22.js";import"./form.480ce5b4.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.6882862c.js";import"./su-image.fb14a5f1.js";import"./su-swiper.d9274d69.js";import"./s-goods-column.bc5b6541.js";import"./useGoods.f5223d84.js";/* empty css                                                                     */import"./uni-load-more.989ac777.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.69458eee.js";import"./combination.e6c4064b.js";import"./const.a3d1ea94.js";import"./mp-html.435a90d3.js";import"./richtext.c51d8cc5.js";const k={__name:"index",setup(k){s();const S=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return console.log(S),t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return l(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l(S).page,navbarStyle:null==(s=l(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l(S).components,((s,e)=>(m(),n(o,{key:e,styles:s.property.style},{default:u((()=>[y(t,{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{k as default};
