pages-shop-index.38bdff53.js 2.3 KB

1
  1. import{h as e,r as t,o as s,s as a,$ as o,bX as p,C as r,a as l,b as _,w as i,x as n,i as m,d as u,y as d,z as y,F as c,j as v,k as j}from"./index-39e65128.js";import{_ as g,a as b}from"./s-block.a1c608a3.js";import{_ as x}from"./s-layout.69eddd84.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a2d557af_lang.dec8d7d1.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.371afb17.js";import"./uni-badge.71668d1e.js";import"./su-image.fd205548.js";import"./s-image-banner.6136b25f.js";import"./su-swiper.4a57f9a0.js";import"./s-goods-column.2e534e73.js";import"./points.c381a8e1.js";import"./useGoods.133fe7ed.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_0789db2f_lang.a57fff0d.js";import"./uni-load-more.4cfd6f67.js";/* empty css */import"./s-tabbar.6c197486.js";/* empty css */import"./const.8355aac7.js";import"./mp-html.f139a7b7.js";import"./mp-html.vue_vue_type_style_index_0_scoped_35b639b7_lang.ff17c655.js";import"./pages-public-richtext.592215fa.js";/* empty css */import"./phone-international-input.20ca2464.js";const h={__name:"index",setup(h){e();const f=t({}),I=t("");return s((async e=>{I.value=e.shopName,e.templateId&&a.$store("app").init(e.templateId),e.spm&&o.decryptSpm(e.spm),e.page&&a.$router.go(decodeURIComponent(e.page));const{code:t,data:s}=await p.getPage({shopId:e.shopId,merchantId:e.merchantId});console.log(s),f.value=s.property})),r((()=>{})),(e,t)=>{const s=v(j("s-block-item"),g),a=v(j("s-block"),b),o=v(j("s-layout"),x),p=m;return f.value?(l(),_(p,{key:0},{default:i((()=>{var e;return[u(o,{title:I.value,navbar:"normal",bgStyle:f.value.page,navbarStyle:null==(e=f.value.style)?void 0:e.navbar,onShareAppMessage:""},{default:i((()=>[(l(!0),d(c,null,y(f.value.components,((e,t)=>(l(),_(a,{key:t,styles:e.property.style},{default:i((()=>[u(s,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])]})),_:1})):n("",!0)}}};export{h as default};