pages-index-index.c7338da8.js 1.9 KB

1
  1. import{h as e,c as s,o as t,s as a,$ as o,a as p,b as r,d as l,e as i,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-a9fee078.js";import{_ as b,a as f}from"./s-block.7bf25fdb.js";import{_ as x}from"./s-layout.85d4d27b.js";import"./form.6bc3e315.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.675c3a09.js";import"./uni-badge.8f8e7fe2.js";import"./su-image.ba8b33d7.js";import"./su-swiper.3219d5bd.js";import"./s-goods-column.7ffcf973.js";import"./useGoods.7370db74.js";/* empty css */import"./uni-load-more.c39e4e72.js";/* empty css *//* empty css */import"./spu.fac2c335.js";import"./combination.b2cd0115.js";import"./const.de305a41.js";import"./mp-html.f56fd156.js";import"./richtext.c123567e.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)})),l((()=>{})),(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?(i(),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((()=>[(i(!0),y(j,null,c(k.value.components,((e,s)=>(i(),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};