pages-index-page.263c60cf.js 1.8 KB

1
  1. import{_ as t,a as e}from"./s-block.b7ed59c3.js";import{B as s,o,a0 as a,e as p,f as n,g as i,w as r,q as l,p as m,r as u,F as _,u as y,n as d}from"./index-0723f7df.js";import{_ as g}from"./s-layout.3a3c3aa3.js";import"./phone-international-input.fd90ef46.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.238c83bd.js";import"./uni-badge.f53497b3.js";import"./su-image.41a2c07c.js";import"./su-swiper.6fd451c0.js";import"./s-goods-column.a4d23e9d.js";import"./points.c381a8e1.js";import"./useGoods.6cdf58ad.js";/* empty css */import"./uni-load-more.ed913caa.js";/* empty css *//* empty css */import"./const.82599836.js";import"./mp-html.eeb3ab24.js";import"./pages-public-richtext.dbea0110.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};