1 |
- import{_ as t,a as e}from"./s-block.339535c2.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-c3738be6.js";import{_ as g}from"./s-layout.ae349398.js";import"./phone-international-input.fd89ea4d.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.c33844bd.js";import"./uni-badge.7bc717bb.js";import"./su-image.06bb32a4.js";import"./su-swiper.9a06454e.js";import"./s-goods-column.b6a4b7ca.js";import"./points.c381a8e1.js";import"./useGoods.0ac8fbfc.js";/* empty css */import"./uni-load-more.87a061c0.js";/* empty css *//* empty css */import"./const.9262d0ab.js";import"./mp-html.b1374ac3.js";import"./pages-public-richtext.f5e1e450.js";const c={__name:"page",setup(c){const j=s({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var e,s,o;let p=t.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),e),c=l(y("s-layout"),g);return n(),i(c,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(_,null,u(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{c as default};
|