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-4abe765f.js";import{_ as g,a as b}from"./s-block.b5268848.js";import{_ as x}from"./s-layout.21cf89f4.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a2d557af_lang.29fddc3b.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.93a15ed2.js";import"./uni-badge.c438251d.js";import"./su-image.0cf7657a.js";import"./s-image-banner.4ec5c128.js";import"./su-swiper.7696f0bc.js";import"./s-goods-column.e6b3ab14.js";import"./points.c381a8e1.js";import"./useGoods.b2e6a419.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_0789db2f_lang.77b18047.js";import"./uni-load-more.fb08db57.js";/* empty css */import"./s-tabbar.312fc730.js";/* empty css */import"./const.c4ab43a1.js";import"./mp-html.05a8094f.js";import"./mp-html.vue_vue_type_style_index_0_scoped_35b639b7_lang.e69f8567.js";import"./pages-public-richtext.3caf766f.js";/* empty css */import"./phone-international-input.bea7cf7d.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};
|