pages-index-page.538d0f3a.js 1.7 KB

1
  1. import{_ as t,a as e}from"./s-block.5b30f36c.js";import{y as s,o,V as a,d as p,e as n,f as i,w as r,l,k as m,r as _,F as u,m as y,j as d}from"./index-5a7bf64c.js";import{_ as c}from"./s-layout.63f80a10.js";import"./phone-international-input.06cda4ba.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a64fc9b1.js";import"./uni-badge.cd54747d.js";import"./su-image.0cab9745.js";import"./su-swiper.e639f7a9.js";import"./s-goods-column.25168002.js";/* empty css */import"./uni-load-more.3708478a.js";/* empty css *//* empty css */import"./spu.5007290f.js";import"./combination.e3827d65.js";import"./const.08113198.js";import"./mp-html.c606c974.js";import"./richtext.1bc6120c.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:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.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"),c);return n(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(u,null,_(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[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};