import{h as e,c as t,o as s,s as a,$ as o,a as p,b as r,d as i,e as l,f as n,w as m,g as u,i as d,j as _,k as y,r as c,F as j,l as g,m as v}from"./index-68dd960a.js";import{_ as b,a as f}from"./s-block.d5afef43.js";import{_ as x}from"./s-layout.454a15cd.js";import"./phone-international-input.471da4c0.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.35e48c37.js";import"./uni-badge.ad675ab6.js";import"./su-image.2230c66c.js";import"./su-swiper.a2258ed9.js";import"./s-goods-column.81bdb65d.js";/* empty css                                                                     */import"./uni-load-more.49bf8042.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.556cee01.js";import"./combination.41abd639.js";import"./const.bbfe7152.js";import"./mp-html.e0240488.js";import"./richtext.2265ad66.js";const h={__name:"index",setup(h){e();const k=t((()=>{var e;return null==(e=a.$store("app").template)?void 0:e.home}));return s((e=>{e.templateId&&a.$store("app").init(e.templateId),e.spm&&o.decryptSpm(e.spm),e.page&&a.$router.go(decodeURIComponent(e.page))})),p((()=>{a.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(e,t)=>{const s=g(v("s-block-item"),b),a=g(v("s-block"),f),o=g(v("s-layout"),x),p=d;return k.value?(l(),n(p,{key:0},{default:m((()=>{var e;return[_(o,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:k.value.page,navbarStyle:null==(e=k.value.style)?void 0:e.navbar,onShareAppMessage:""},{default:m((()=>[(l(!0),y(j,null,c(k.value.components,((e,t)=>(l(),n(a,{key:t,styles:e.property.style},{default:m((()=>[_(s,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):u("",!0)}}};export{h as default};
