1 |
- import{h as e,c as s,o as t,s as a,$ as o,a as p,b as r,d as i,e as l,f as m,w as n,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-907710a4.js";import{_ as b,a as f}from"./s-block.23b51048.js";import{_ as x}from"./s-layout.42ac02bd.js";import"./form.aae9831e.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.f6e3ec89.js";import"./uni-badge.9393f3f7.js";import"./su-image.36519588.js";import"./su-swiper.67ac39a1.js";import"./s-goods-column.d662053f.js";import"./useGoods.4390bc04.js";/* empty css */import"./uni-load-more.e7cdb33f.js";/* empty css *//* empty css */import"./spu.e9668568.js";import"./combination.5e80ca51.js";import"./const.f8ab39e6.js";import"./mp-html.21800bb0.js";import"./richtext.7a4cd613.js";const h={__name:"index",setup(h){e();const k=s((()=>{var e;return null==(e=a.$store("app").template)?void 0:e.home}));return t((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,s)=>{const t=g(v("s-block-item"),b),a=g(v("s-block"),f),o=g(v("s-layout"),x),p=d;return k.value?(l(),m(p,{key:0},{default:n((()=>{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:n((()=>[(l(!0),y(j,null,c(k.value.components,((e,s)=>(l(),m(a,{key:s,styles:e.property.style},{default:n((()=>[_(t,{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};
|