"use strict";const e=require("../../common/vendor.js"),r=require("../../sheep/index.js"),s=require("../../sheep/platform/share.js");if(require("../../sheep/url/index.js"),require("../../sheep/store/index.js"),require("../../sheep/store/app.js"),require("../../sheep/api/promotion/diy.js"),require("../../sheep/request/index.js"),require("../../sheep/config/index.js"),require("../../sheep/platform/index.js"),require("../../sheep/platform/provider/wechat/index.js"),require("../../sheep/platform/provider/wechat/miniProgram.js"),require("../../sheep/api/member/auth.js"),require("../../sheep/api/member/social.js"),require("../../sheep/api/member/user.js"),require("../../sheep/platform/provider/apple/index.js"),require("../../sheep/platform/pay.js"),require("../../sheep/helper/index.js"),require("../../sheep/helper/test.js"),require("../../sheep/helper/digit.js"),require("../../sheep/api/pay/order.js"),require("../../sheep/hooks/useModal.js"),require("../../sheep/api/member/signin.js"),require("../../sheep/router/index.js"),require("../../sheep/helper/throttle.js"),require("../../sheep/store/user.js"),require("../../sheep/store/cart.js"),require("../../sheep/api/trade/cart.js"),require("../../sheep/api/pay/wallet.js"),require("../../sheep/api/trade/order.js"),require("../../sheep/api/promotion/coupon.js"),require("../../sheep/store/sys.js"),require("../../sheep/store/modal.js"),require("../../sheep/config/zIndex.js"),!Array){(e.resolveComponent("s-block-item")+e.resolveComponent("s-block")+e.resolveComponent("s-layout"))()}Math||((()=>"../../sheep/components/s-block-item/s-block-item.js")+(()=>"../../sheep/components/s-block/s-block.js")+(()=>"../../sheep/components/s-layout/s-layout.js"))();const p={__name:"index",setup(p){e.index.hideTabBar();const o=e.computed((()=>{var e;return null==(e=r.sheep.$store("app").template)?void 0:e.home}));return e.onLoad((e=>{if(e.scene){const r=decodeURIComponent(e.scene).split("=");e[r[0]]=r[1]}e.templateId&&r.sheep.$store("app").init(e.templateId),e.spm&&s.$share.decryptSpm(e.spm),e.page&&r.sheep.$router.go(decodeURIComponent(e.page))})),e.onPullDownRefresh((()=>{r.sheep.$store("app").init(),setTimeout((function(){e.index.stopPullDownRefresh()}),800)})),e.onPageScroll((()=>{})),(r,s)=>{var p;return e.e({a:o.value},o.value?{b:e.f(o.value.components,((r,s,p)=>({a:"5a854d65-2-"+p+",5a854d65-1-"+p,b:e.p({type:r.id,data:r.property,styles:r.property.style}),c:s,d:"5a854d65-1-"+p+",5a854d65-0",e:e.p({styles:r.property.style})}))),c:e.p({title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:o.value.page,navbarStyle:null==(p=o.value.style)?void 0:p.navbar,onShareAppMessage:!0})}:{})}},__runtimeHooks:3};wx.createPage(p);
