"use strict";const e=require("../../../common/vendor.js"),r=require("../../index.js"),o=require("../../hooks/useGoods.js");if(require("../../url/index.js"),require("../../store/index.js"),require("../../store/app.js"),require("../../api/promotion/diy.js"),require("../../request/index.js"),require("../../config/index.js"),require("../../platform/index.js"),require("../../platform/provider/wechat/index.js"),require("../../platform/provider/wechat/miniProgram.js"),require("../../api/member/auth.js"),require("../../api/member/social.js"),require("../../api/member/user.js"),require("../../platform/provider/apple/index.js"),require("../../platform/share.js"),require("../../router/index.js"),require("../../hooks/useModal.js"),require("../../helper/index.js"),require("../../helper/test.js"),require("../../helper/digit.js"),require("../../api/member/signin.js"),require("../../helper/throttle.js"),require("../../platform/pay.js"),require("../../api/pay/order.js"),require("../../store/user.js"),require("../../store/cart.js"),require("../../api/trade/cart.js"),require("../../api/pay/wallet.js"),require("../../api/trade/order.js"),require("../../api/promotion/coupon.js"),require("../../store/sys.js"),require("../../store/modal.js"),require("../../config/zIndex.js"),require("../../util/index.js"),!Array){e.resolveComponent("su-popup")()}const s=()=>"../../ui/su-popup/su-popup.js";Math||(e.unref(t)+s)();const t=()=>"../../../pages/public/richtext2.js",i={__name:"s-wallet-card",setup(s){const t=e.reactive({showProtocol:!1,navIndex:0}),i=e.computed((()=>r.sheep.$store("user").userWallet));e.computed((()=>r.sheep.$store("user").userInfo)),e.computed((()=>r.sheep.$store("user").numData));const u=e.computed((()=>{if(!i.value.socialStatusPoint&&!i.value.socialStatusPoint)return"0%";return i.value.socialStatusPoint/(i.value.socialStatusPoint+i.value.socialUpNeed)*100+"%"})),a=()=>{t.showProtocol=!1};function n(e){t.navIndex=e}return(s,p)=>e.e({a:u.value,b:e.t(i.value.socialStatusLevel||"无等级"),c:e.o((e=>t.showProtocol=!0)),d:e.t(e.unref(o.points2point)(i.value.integralDO.currentQuota)),e:e.t(e.unref(o.points2point)(i.value.integralDO.freezeQuota)),f:e.o((o=>e.unref(r.sheep).$router.go("/pages/user/wallet/score"))),g:e.t(i.value.descNo),h:e.o((o=>e.unref(r.sheep).$router.go("/pages/user/wallet/team"))),i:e.n(0==t.navIndex?"activite":""),j:e.o((e=>n(0))),k:e.n(1==t.navIndex?"activite":""),l:e.o((e=>n(1))),m:0==t.navIndex},0==t.navIndex?{n:e.p({title:"身价产生规则",type:"tab"})}:{},{o:1==t.navIndex},1==t.navIndex?{p:e.p({title:"身价权益",type:"tab"})}:{},{q:e.o(a),r:e.p({show:t.showProtocol,type:"center",round:"10",isMaskClick:!1,showClose:!0})})}},u=e._export_sfc(i,[["__scopeId","data-v-e398afa3"]]);wx.createComponent(u);
