pages-index-page.71381844.js 1.8 KB

1
  1. import{_ as t,a as e}from"./s-block.e5bbd641.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-80b28de0.js";import{_ as g}from"./s-layout.20aa0562.js";import"./phone-international-input.87b594bd.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.844a10d6.js";import"./uni-badge.5d5e07eb.js";import"./su-image.1b02cdad.js";import"./su-swiper.6832cd8a.js";import"./s-goods-column.02248749.js";import"./points.c381a8e1.js";import"./useGoods.9b8dba14.js";/* empty css */import"./uni-load-more.fa5bf8cd.js";/* empty css *//* empty css */import"./const.df06bb1a.js";import"./mp-html.93ee9b5c.js";import"./pages-public-richtext.884cf396.js";const c={__name:"page",setup(c){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),c=l(y("s-layout"),g);return n(),i(c,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(_,null,u(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{c as default};