pages-index-index.D_xbAuRH.js 2.6 KB

1
  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 u,w as m,z as d,D as c,E as y,i as v,e as j,f as g,x as b,y as x,F as f}from"./index-dGICJBA1.js";import{_ as h,a as S}from"./s-block.BV1eeEnn.js";import{_ as k}from"./s-layout.2n749i-h.js";import"./s-search-block.DW-gs1wX.js";import"./s-search-block.vue_vue_type_style_index_0_scoped_f692e81a_lang.BkXbqiPQ.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.BZJC71FJ.js";import"./uni-list.tXRGOpcy.js";import"./uni-badge.CrEKSPHb.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_0f0268ff_lang.DfrFtxCM.js";import"./su-image.YbT6r8FL.js";import"./s-image-banner.DN0xGdQh.js";import"./su-swiper.2YDj1tl7.js";import"./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.CARks-Yl.js";import"./s-goods-column.BYZ6z7oE.js";import"./useGoods.jFp9m3ab.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_c1143e8c_lang.C9LLV9dD.js";import"./uni-load-more.OaCK512J.js";/* empty css *//* empty css */import"./const.CGsTPl-H.js";import"./mp-html.NA7LCQ68.js";import"./pages-public-richtext.DwcES0qQ.js";/* empty css */import"./s-menu-tools.BHmVopdZ.js";import"./phone-international-input.BSO1ObdH.js";const $={__name:"index",setup($){e(),s((()=>c())),s((()=>y()));const I=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"),h),o=n(r("s-block"),S),a=n(r("s-layout"),k),p=v;return I.value?(j(),u(p,{key:0},{default:m((()=>{var s;return[g(a,{title:e.$t("common.home"),navbar:"custom",tabbar:"/pages/index/index",bgStyle:I.value.page,navbarStyle:null==(s=I.value.style)?void 0:s.navbar,onShareAppMessage:""},{default:m((()=>[(j(!0),b(f,null,x(I.value.components,((e,s)=>(j(),u(o,{key:s,styles:e.property.style},{default:m((()=>[g(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{$ as default};