import{_ as t,a as e}from"./s-block.d5afef43.js";import{y as s,o,X as a,d as p,e as n,f as i,w as r,l,k as m,r as _,F as u,m as y,j as d}from"./index-68dd960a.js";import{_ as c}from"./s-layout.454a15cd.js";import"./phone-international-input.471da4c0.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.35e48c37.js";import"./uni-badge.ad675ab6.js";import"./su-image.2230c66c.js";import"./su-swiper.a2258ed9.js";import"./s-goods-column.81bdb65d.js";/* empty css                                                                     */import"./uni-load-more.49bf8042.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.556cee01.js";import"./combination.41abd639.js";import"./const.bbfe7152.js";import"./mp-html.e0240488.js";import"./richtext.2265ad66.js";const g={__name:"page",setup(g){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),g=l(y("s-layout"),c);return n(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(u,null,_(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{g as default};
