import{_ as t,a as s}from"./s-block.DTlfkjmo.js";import{v as a,o,O as e,d as p,r,e as i,f as n,w as l,j as m,l as u,m as y,F as c,k as d}from"./index-CWyPMHxb.js";import{S as g}from"./s-layout.CUgh1tQ8.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-list.6iftb-0V.js";import"./su-image.CIjDVZiE.js";import"./su-swiper.B7nhIEEk.js";import"./s-goods-column.C82luEdf.js";import"./useGoods.BQLkjza8.js";import"./index.gxKvznCa.js";import"./spu.ChgsD2WR.js";import"./combination.COmbyQA3.js";import"./seckill.DwGnHLlB.js";import"./point.BjjiOo72.js";import"./mp-html.C7Z3x8rV.js";import"./article.BbkY0GGQ.js";const j={__name:"page",setup(j){const v=a({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var s,a,o;let p=t.id;const{code:r,data:i}=await e.getDiyPage(p);0===r&&(v.name=i.name,v.components=null==(s=i.property)?void 0:s.components,v.navigationBar=null==(a=i.property)?void 0:a.navigationBar,v.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(a,o)=>{const e=r(i("s-block-item"),t),p=r(i("s-block"),s),j=r(i("s-layout"),g);return m(),n(j,{title:v.name,navbar:"custom",bgStyle:v.page,navbarStyle:v.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:l((()=>[(m(!0),u(c,null,y(v.components,((t,s)=>(m(),n(p,{key:s,styles:t.property.style},{default:l((()=>[d(e,{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{j as default};
