"use strict";const e=require("../../../common/vendor.js"),r=require("../../../sheep/index.js"),s=require("../../../sheep/api/trade/brokerage.js"),i=require("../../../sheep/hooks/useGoods.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/share.js"),require("../../../sheep/router/index.js"),require("../../../sheep/hooks/useModal.js"),require("../../../sheep/helper/index.js"),require("../../../sheep/helper/test.js"),require("../../../sheep/helper/digit.js"),require("../../../sheep/api/member/signin.js"),require("../../../sheep/helper/throttle.js"),require("../../../sheep/platform/pay.js"),require("../../../sheep/api/pay/order.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"),require("../../../sheep/util/index.js"),!Array){e.resolveComponent("uni-icons")()}Math;const o={__name:"account-info",setup(o){e.computed((()=>r.sheep.$store("user").userInfo));const p=e.reactive({showMoney:!1,summary:{}});return e.onMounted((async()=>{let{code:e,data:r}=await s.BrokerageApi.getBrokerageUserSummary();0===e&&(p.summary=r||{})})),(s,o)=>({a:e.p({type:p.showMoney?"eye-filled":"eye-slash-filled",color:"#A57A55",size:"20"}),b:e.o((e=>p.showMoney=!p.showMoney)),c:e.o((s=>e.unref(r.sheep).$router.go("/pages/user/wallet/commission"))),d:e.t(p.showMoney?e.unref(i.fen2yuan)(p.summary.brokeragePrice||0):"***"),e:e.t(p.showMoney?e.unref(i.fen2yuan)(p.summary.yesterdayPrice||0):"***"),f:e.t(p.showMoney?e.unref(i.fen2yuan)(p.summary.withdrawPrice||0):"***")})}},p=e._export_sfc(o,[["__scopeId","data-v-c2fe0f87"]]);wx.createComponent(p);
