pages-index-page.6c7f4adb.js 1.7 KB

1
  1. import{_ as t,a as s}from"./s-block.5465332b.js";import{y as e,o,W as a,d as p,e as r,f as i,w as n,l,k as m,r as _,F as u,m as y,j as d}from"./index-04b24163.js";import{_ as c}from"./s-layout.f5353ff8.js";import"./form.8878f7a7.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2d0e593a.js";import"./uni-badge.aba89607.js";import"./su-image.3673fb09.js";import"./su-swiper.e5bc3689.js";import"./s-goods-column.40e69941.js";import"./useGoods.3bea80bb.js";/* empty css */import"./uni-load-more.2aa73d98.js";/* empty css *//* empty css */import"./spu.2a9038d6.js";import"./combination.4a547435.js";import"./const.795ed93f.js";import"./mp-html.0a93392f.js";import"./richtext.476bfb52.js";const g={__name:"page",setup(g){const j=e({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var s,e,o;let p=t.id;const{code:r,data:i}=await a.getDiyPage(p);0===r&&(j.name=i.name,j.components=null==(s=i.property)?void 0:s.components,j.navigationBar=null==(e=i.property)?void 0:e.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(e,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),s),g=l(y("s-layout"),c);return r(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(r(!0),m(u,null,_(j.components,((t,s)=>(r(),i(p,{key:s,styles:t.property.style},{default:n((()=>[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};