pages-index-page.b3b1ceb3.js 1.7 KB

1
  1. import{_ as t,a as s}from"./s-block.8446e21a.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-17c0fdfd.js";import{_ as c}from"./s-layout.7bb6bf02.js";import"./form.3c11c8bd.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.28ebcb64.js";import"./uni-badge.f7cf3349.js";import"./su-image.44cfb09b.js";import"./su-swiper.15fca05d.js";import"./s-goods-column.9fc898f3.js";import"./useGoods.fdff7cb3.js";/* empty css */import"./uni-load-more.db54e61c.js";/* empty css *//* empty css */import"./spu.2a38165d.js";import"./combination.9b82c426.js";import"./const.7c18a78c.js";import"./mp-html.6da0311c.js";import"./richtext.bd9aa268.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};