1 |
- 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-12bef3e7.js";import{_ as b,a as f}from"./s-block.a4bc8e8d.js";import{_ as x}from"./s-layout.e80a77be.js";import"./phone-international-input.479307f1.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.0f904f9f.js";import"./uni-badge.b7d1ffe5.js";import"./su-image.8e4d5ecd.js";import"./su-swiper.8f648c15.js";import"./s-goods-column.b4e54b3e.js";import"./points.c381a8e1.js";/* empty css */import"./uni-load-more.10ffc4b2.js";/* empty css *//* empty css */import"./spu.76514567.js";import"./combination.6c0c43ab.js";import"./const.5a9c2b11.js";import"./mp-html.194117d2.js";import"./richtext.506ee07d.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};
|