pages-index-index.71653cc7.js 2.0 KB

1
  1. import{h as s,c as e,o as t,s as a,$ as o,a as p,b as i,d as r,e as l,f as n,g as m,w as u,i as d,j as _,k as y,l as c,r as j,F as v,m as g,n as b}from"./index-ba48620e.js";import{_ as f,a as x}from"./s-block.5624ba22.js";import{_ as S}from"./s-layout.04b95866.js";import"./phone-international-input.dd3ca29e.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.8a8104ea.js";import"./uni-badge.539e0aa6.js";import"./su-image.d4b7cd31.js";import"./su-swiper.e0d6d17f.js";import"./s-goods-column.8dd4e061.js";import"./points.c381a8e1.js";import"./useGoods.edb8879f.js";/* empty css */import"./uni-load-more.966faf1b.js";/* empty css *//* empty css */import"./const.cc64b4f3.js";import"./mp-html.c71b528b.js";import"./pages-public-richtext.00605c24.js";const h={__name:"index",setup(h){s();const k=e((()=>{var s;return null==(s=a.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&a.$store("app").init(s.templateId),s.spm&&o.decryptSpm(s.spm),s.page&&a.$router.go(decodeURIComponent(s.page)),void 0===s.points&&void 0===s.scoialStatus||p({points:s.points,socialStatus:s.socialStatus})})),i((()=>{a.$store("app").init(),setTimeout((function(){r()}),800)})),l((()=>{})),(s,e)=>{const t=g(b("s-block-item"),f),a=g(b("s-block"),x),o=g(b("s-layout"),S),p=_;return k.value?(n(),m(p,{key:0},{default:u((()=>{var s;return[y(o,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:k.value.page,navbarStyle:null==(s=k.value.style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(n(!0),c(v,null,j(k.value.components,((s,e)=>(n(),m(a,{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{h as default};