"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../utils/fun.js"),t=require("../../store/index.js"),a=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("wd-navbar")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../uni_modules/wot-design-uni/components/wd-navbar/wd-navbar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e.defineComponent({__name:"mine",setup(s){const{navTo:n}=a.useNav(),p=t.Store(),i=e.computed((()=>p.userInfo||{inviteCode:"",nickname:"",mobile:"",avatar:"",paywallet:{balance:0}}));return e.onShow((async()=>{await p.usersGetInfo()})),(t,a)=>e.e({a:o._imports_0$2,b:e.p({bordered:!1,"custom-style":"background-color: transparent !important;",safeAreaInsetTop:!0}),c:i.value.avatar,d:e.t(i.value.nickname||"微信用户"),e:e.t(i.value.mobile),f:i.value.inviteCodeImg},i.value.inviteCodeImg?{g:o._imports_1$1,h:e.o((e=>t.$refs.popup.open()))}:{},{i:o._imports_2$1,j:e.o((o=>e.unref(n)("/pages/equity/equity",!0))),k:o._imports_0$1,l:e.t(i.value.money||0),m:e.t(i.value.performanceReward||0),n:e.t(i.value.directReferralReward||0),o:e.t(i.value.indirectReferralReward||0),p:e.o((o=>e.unref(n)("/pages/wallet/wallet",!0))),q:o._imports_4$1,r:o._imports_0$1,s:e.o((o=>e.unref(n)("/pages/mine/sett",!0))),t:o._imports_5,v:o._imports_0$1,w:e.o((o=>e.unref(n)("/pages/wallet/list",!0))),x:o._imports_6,y:o._imports_0$1,z:e.o((o=>e.unref(n)("/pages/team/team",!0))),A:o._imports_7,B:o._imports_0$1,C:e.o((o=>e.unref(n)("/pages/address/list",!0))),D:o._imports_5$1,E:o._imports_0$1,F:e.o((e=>t.$refs.popup.close())),G:o._imports_9,H:i.value.inviteCodeImg,I:e.t(i.value.inviteCode),J:e.o((o=>e.unref(r.copy)(i.value.inviteCode))),K:e.sr("popup","3478e6ca-1"),L:e.p({type:"center","border-radius":"16rpx"})})}}),n=e._export_sfc(s,[["__scopeId","data-v-3478e6ca"]]);wx.createPage(n);
