import{_ as s,a as e}from"./s-block.321f998a.js";import{C as t,p as a,s as l,v as o,o as i,e as p,w as n,b as d,f as r,h as m,F as u,d as y,i as _}from"./index-520dfaee.js";import{a as c}from"./s-layout.5146c957.js";import"./su-image.ba5fb633.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./su-swiper.9f671df5.js";import"./uni-list-item.7e908453.js";import"./uni-list.39b1057f.js";import"./s-goods-column.9bd716a4.js";import"./useGoods.7c6b9280.js";/* empty css                                                                     */import"./uni-load-more.ba4f287c.js";/* empty css                                                                *//* empty css                                                                      */import"./s-score-card.470ae7b0.js";import"./mp-html.30fd211a.js";const v={__name:"page",setup(v){const g=t({name:"",list:[],style:{}});return a((async s=>{var e,t,a,o;let i;s.id&&(i=s.id);const{code:p,data:n}=await l.$api.app.page(i);1===p&&(g.name=n.name,g.list=null==(t=null==(e=n.diypage)?void 0:e.page)?void 0:t.data,g.style=null==(o=null==(a=n.diypage)?void 0:a.page)?void 0:o.style)})),o((()=>{})),(t,a)=>{var l,o;const v=d(y("s-block-item"),s),j=d(y("s-block"),e),b=d(y("s-layout"),c);return i(),p(b,{title:g.name,navbar:"custom",bgStyle:null==(l=g.style)?void 0:l.background,navbarStyle:null==(o=g.style)?void 0:o.navbar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(i(!0),r(u,null,m(g.list,((s,e)=>(i(),p(j,{key:e,styles:s.style},{default:n((()=>[_(v,{type:s.type,data:s.data,styles:s.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{v as default};
