pages-index-page.b698ab89.js 1.7 KB

1
  1. import{_ as t,a as e}from"./s-block.4adf8640.js";import{y as s,o,X 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-b563fea4.js";import{_ as c}from"./s-layout.03034db0.js";import"./phone-international-input.9685c495.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.49285b81.js";import"./uni-badge.e6806fb8.js";import"./su-image.15a34a7a.js";import"./su-swiper.a7285e94.js";import"./s-goods-column.faa668e0.js";import"./points.c381a8e1.js";/* empty css */import"./uni-load-more.1d2f3b26.js";/* empty css *//* empty css */import"./const.b15d4c4b.js";import"./mp-html.158301dd.js";import"./pages-public-richtext.8611d5eb.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};