1 |
- import{h as e,c as s,o as t,s as o,$ as a,B as p,p as i,q as _,C as l,a as n,b as r,d as m,w as u,z as d,i as y,e as c,f as v,x as j,y as g,F as b}from"./index-D9Cd4Wzi.js";import{_ as x,a as f}from"./s-block.C9IOxjUT.js";import{_ as h}from"./s-layout.DxVzvGdl.js";import"./s-search-block.C_1EFRe8.js";import"./s-search-block.vue_vue_type_style_index_0_scoped_f692e81a_lang.9hHSxEmG.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.DCa9LfiH.js";import"./uni-list.ByFGVyjB.js";import"./uni-badge.Bep79I85.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a793e264_lang.73m9ziAA.js";import"./su-image.DHN6RlP6.js";import"./s-image-banner.1JkypHSX.js";import"./su-swiper.DGAzPgEn.js";import"./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.B4HqQVMV.js";import"./s-goods-column.mAnb2s_2.js";import"./points.DDTOnulC.js";import"./useGoods.DGAyI8I4.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_d5f7c468_lang.CwMGZ7ZT.js";import"./uni-load-more.e0d3KUFL.js";/* empty css *//* empty css */import"./const.Ukc_mj-p.js";import"./mp-html.51rSLnon.js";import"./pages-public-richtext.CGYMqxF-.js";/* empty css */import"./s-menu-tools.BTuKJZyA.js";import"./phone-international-input.BtgucbDY.js";const S={__name:"index",setup(S){e();const k=s((()=>{var e;return null==(e=o.$store("app").template)?void 0:e.home}));return t((e=>{e.templateId&&o.$store("app").init(e.templateId),e.spm&&a.decryptSpm(e.spm),e.page&&o.$router.go(decodeURIComponent(e.page)),void 0===e.points&&void 0===e.scoialStatus||p({points:e.points,socialStatus:e.socialStatus})})),i((()=>{o.$store("app").init(),setTimeout((function(){_()}),800)})),l((()=>{})),(e,s)=>{const t=n(r("s-block-item"),x),o=n(r("s-block"),f),a=n(r("s-layout"),h),p=y;return k.value?(c(),m(p,{key:0},{default:u((()=>{var s;return[v(a,{title:e.$t("common.home"),navbar:"custom",tabbar:"/pages/index/index",bgStyle:k.value.page,navbarStyle:null==(s=k.value.style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(c(!0),j(b,null,g(k.value.components,((e,s)=>(c(),m(o,{key:s,styles:e.property.style},{default:u((()=>[v(t,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{S as default};
|