pages-index-index.DDXTW20w.js 2.4 KB

1
  1. import{h as e,c as t,o as s,s as o,$ as a,B as p,p as i,q as l,C as r,a as n,b as _,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-B06NhMHz.js";import{_ as x,a as f}from"./s-block.D30FJ5vc.js";import{_ as h}from"./s-layout.DbIXN0GQ.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a793e264_lang.DOMnQOO7.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-list.DCPRIfKu.js";import"./uni-badge.DLE7DUVo.js";import"./su-image.CzSsyxou.js";import"./s-image-banner.DTdOl-k-.js";import"./su-swiper.2HNKKl7W.js";import"./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.vP9Kau5a.js";import"./s-goods-column.Bwoxj4q2.js";import"./points.DDTOnulC.js";import"./useGoods.-yWyWuUm.js";/* empty css */import"./s-layout.vue_vue_type_style_index_0_scoped_d5f7c468_lang.BkL-KYta.js";import"./uni-load-more.DiMUgNcM.js";/* empty css */import"./s-tabbar.DmlmXQ31.js";/* empty css */import"./const.BrcayS9a.js";import"./mp-html.CTJRe0Pl.js";import"./pages-public-richtext.BHzr_tuw.js";/* empty css */import"./s-menu-tools.-LNr-fyk.js";import"./phone-international-input.CqGDnQyd.js";const S={__name:"index",setup(S){e();const $=t((()=>{var e;return null==(e=o.$store("app").template)?void 0:e.home}));return s((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(){l()}),800)})),r((()=>{})),(e,t)=>{const s=n(_("s-block-item"),x),o=n(_("s-block"),f),a=n(_("s-layout"),h),p=y;return $.value?(c(),m(p,{key:0},{default:u((()=>{var t;return[v(a,{title:e.$t("common.home"),navbar:"custom",tabbar:"/pages/index/index",bgStyle:$.value.page,navbarStyle:null==(t=$.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:u((()=>[(c(!0),j(b,null,g($.value.components,((e,t)=>(c(),m(o,{key:t,styles:e.property.style},{default:u((()=>[v(s,{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};