pages-index-page.DuB_kbMl.js 2.3 KB

1
  1. import{_ as e,a as t}from"./s-block.MsfxpHYt.js";import{v as s,o,a1 as a,C as p,a as n,b as i,d as _,w as r,e as l,x as m,y as u,F as y,f as c}from"./index-CRW3onsz.js";import{_ as d}from"./s-layout.DKC65HXL.js";import"./s-search-block.9OtJrST_.js";import"./s-search-block.vue_vue_type_style_index_0_scoped_f692e81a_lang.CiL8L9B_.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.CkO1HN9g.js";import"./uni-list.CwF3x2Ye.js";import"./uni-badge.DHvqM2H-.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_0f0268ff_lang.Dctrwx6t.js";import"./su-image.BuaMS5L_.js";import"./s-image-banner.Cl-NI51r.js";import"./su-swiper.D28St6v7.js";import"./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.BzDm-2iZ.js";import"./s-goods-column.Cvd5M7PN.js";import"./useGoods.Dxoq0xk-.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_c1143e8c_lang.HuwOimZj.js";import"./uni-load-more.DqGEuLGm.js";/* empty css *//* empty css */import"./const.DbGtMdOP.js";import"./mp-html.B-3YcqpZ.js";import"./pages-public-richtext.BQKo0jqw.js";/* empty css */import"./s-menu-tools.CNNsOrh3.js";import"./phone-international-input.vKvR7wTz.js";const g={__name:"page",setup(g){const v=s({name:"",components:[],navigationBar:{},page:{}});return o((async e=>{var t,s,o;let p=e.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(v.name=i.name,v.components=null==(t=i.property)?void 0:t.components,v.navigationBar=null==(s=i.property)?void 0:s.navigationBar,v.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=n(i("s-block-item"),e),p=n(i("s-block"),t),g=n(i("s-layout"),d);return l(),_(g,{title:v.name,navbar:"custom",bgStyle:v.page,navbarStyle:v.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(l(!0),m(y,null,u(v.components,((e,t)=>(l(),_(p,{key:t,styles:e.property.style},{default:r((()=>[c(a,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};