pages-index-index.EnXZQXa6.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-CRW3onsz.js";import{_ as h,a as S}from"./s-block.MsfxpHYt.js";import{_ as k}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 $={__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};