import{_ as t,a as e}from"./s-block.7185b9f8.js";import{B as s,o,a0 as a,e as p,f as n,g as i,w as r,q as l,p as m,r as u,F as _,u as y,n as d}from"./index-007bf156.js";import{_ as g}from"./s-layout.19bedb43.js";import"./phone-international-input.3617e4e0.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.eab7382e.js";import"./uni-badge.cf8b6051.js";import"./su-image.d90fd751.js";import"./su-swiper.228e56d7.js";import"./s-goods-column.dca4f2a3.js";import"./points.c381a8e1.js";import"./useGoods.ac3bf93e.js";/* empty css                                                                     */import"./uni-load-more.4c025ab2.js";/* empty css                                                                *//* empty css                                                                      */import"./const.268e8d60.js";import"./mp-html.a102e735.js";import"./pages-public-richtext.73b9c7a6.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};
