1 |
- import{h as e,r as t,o as s,s as a,$ as o,bY as p,C as r,a as l,b as _,d as i,w as n,x as m,i as u,e as d,f as y,y as c,z as v,F as g}from"./index-COvsL7sM.js";import{_ as j,a as b}from"./s-block.CdDFOIHT.js";import{_ as x}from"./s-layout.Q0TYcIv8.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a793e264_lang.D45-TpFl.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-list.N5JvqniX.js";import"./uni-badge.BIvJUmly.js";import"./su-image.DlhNEUMd.js";import"./s-image-banner.DLnw-fa7.js";import"./su-swiper.D6xOTyI6.js";import"./s-goods-column.CiUt7_Jc.js";import"./points.DDTOnulC.js";import"./useGoods.BdASQpRH.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_d5f7c468_lang.BvRdGCvG.js";import"./uni-load-more.BPfyXcj0.js";/* empty css */import"./s-tabbar.Ba5AKzRx.js";/* empty css */import"./const.Dj-yc9L9.js";import"./mp-html.B20mnga-.js";import"./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.DqgJimkS.js";import"./pages-public-richtext.m8yYM3hF.js";/* empty css */import"./phone-international-input.D9wqplNI.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=l(_("s-block-item"),j),a=l(_("s-block"),b),o=l(_("s-layout"),x),p=u;return f.value?(d(),i(p,{key:0},{default:n((()=>{var e;return[y(o,{title:I.value,navbar:"normal",bgStyle:f.value.page,navbarStyle:null==(e=f.value.style)?void 0:e.navbar,onShareAppMessage:""},{default:n((()=>[(d(!0),c(g,null,v(f.value.components,((e,t)=>(d(),i(a,{key:t,styles:e.property.style},{default:n((()=>[y(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})):m("",!0)}}};export{h as default};
|