import{_ as t,a as e}from"./s-block.02a1e4f1.js";import{v as s,o,O as a,d as p,e as r,f as n,w as i,l,k as m,r as _,F as u,m as y,j as c}from"./index-9880b451.js";import{_ as d}from"./s-layout.dfc5b0b5.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.b717f907.js";import"./su-image.53d60b59.js";import"./su-swiper.55cf865c.js";import"./s-goods-column.2324341a.js";import"./useGoods.bdd1c2ea.js";import"./index.df38848e.js";/* empty css                                                                     */import"./uni-load-more.aac4524a.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.3137f763.js";import"./combination.bbc1e13b.js";import"./const.172c6469.js";import"./mp-html.1d0f8654.js";import"./article.87a63887.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:r,data:n}=await a.getDiyPage(p);0===r&&(j.name=n.name,j.components=null==(e=n.property)?void 0:e.components,j.navigationBar=null==(s=n.property)?void 0:s.navigationBar,j.page=null==(o=n.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"),d);return r(),n(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:i((()=>[(r(!0),m(u,null,_(j.components,((t,e)=>(r(),n(p,{key:e,styles:t.property.style},{default:i((()=>[c(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};
