pages-index-index.9b989730.js 2.0 KB

1
  1. import{h as t,c as s,o as e,s as o,$ as a,a as p,b as i,d as r,e as l,f as n,g as m,w as u,i as d,j as _,k as y,l as c,r as v,F as j,m as g,n as b}from"./index-a116b7fa.js";import{_ as f,a as x}from"./s-block.518b062a.js";import{_ as S}from"./s-layout.4ae51839.js";import"./phone-international-input.b9f6c8e6.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.78aaa36c.js";import"./uni-badge.9d757a16.js";import"./su-image.cf5517c4.js";import"./su-swiper.ce1743f1.js";import"./s-goods-column.67cd78e3.js";import"./points.c381a8e1.js";import"./useGoods.6b315a78.js";/* empty css */import"./uni-load-more.2682655d.js";/* empty css *//* empty css */import"./const.24444c58.js";import"./mp-html.02bc03c7.js";import"./pages-public-richtext.b4bc67a7.js";const h={__name:"index",setup(h){t();const k=s((()=>{var t;return null==(t=o.$store("app").template)?void 0:t.home}));return e((t=>{t.templateId&&o.$store("app").init(t.templateId),t.spm&&a.decryptSpm(t.spm),t.page&&o.$router.go(decodeURIComponent(t.page)),void 0===t.points&&void 0===t.scoialStatus||p({points:t.points,socialStatus:t.socialStatus})})),i((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),l((()=>{})),(t,s)=>{const e=g(b("s-block-item"),f),o=g(b("s-block"),x),a=g(b("s-layout"),S),p=_;return k.value?(n(),m(p,{key:0},{default:u((()=>{var s;return[y(a,{title:t.$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((()=>[(n(!0),c(j,null,v(k.value.components,((t,s)=>(n(),m(o,{key:s,styles:t.property.style},{default:u((()=>[y(e,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{h as default};