2023-05-15 14:13:36 +08:00

1 line
4.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7335],{8650:function(e,s,a){var n=a(2180),i=a(4165),l=a(5861),c=a(1515),_=a(2954),t=a.n(_),r="index-module__main___alpM7",d="index-module__header___dJHv1",x="index-module__header_balance_total___f8YMz",o="index-module__balance___h2UvW",m="index-module__balance_num___BbjnZ",h="index-module__accumulative_count___XojYi",u="index-module__withdraw___Br1dD",j="index-module__price_list___LoOGr",v="index-module__price_list_item___OnSHJ",p="index-module__con___PtrxU",f="index-module__toBeSettled___DRidF",G="index-module__text___QVWJL",N="index-module__price___YSUD6",w="index-module__card___S_HY_",b="index-module__title___O85Ou",y="index-module__card_list___nsDcE",g="index-module__card_item___Y4zRB",k=a(6028),D=a(1115),S=a(8106),Z=a(4158),B=a(4123),C=a(9498),F=a(5893),activityIncome=function(){(0,C.av)("pages/activityIncome/index");var e=(0,S.ly)(),s=e.fetchData,a=e.state,n=function(){var e=(0,l.Z)((0,i.Z)().mark((function _callee(){return(0,i.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:t().stopPullDownRefresh();case 3:case"end":return e.stop()}}),_callee)})));return function getData(){return e.apply(this,arguments)}}();return(0,_.usePullDownRefresh)((function(){n()})),(0,_.useReady)((function(){n()})),(0,F.jsxs)(c.G7,{className:r,children:[(0,F.jsxs)(c.G7,{className:d,children:[(0,F.jsxs)(c.G7,{className:x,children:[(0,F.jsxs)(c.G7,{className:o,children:[(0,F.jsx)(c.G7,{children:"账户余额(元)"}),(0,F.jsx)(c.G7,{className:m,children:(0,Z.yb)(a.data.balance,100,!0)}),(0,F.jsxs)(c.G7,{className:h,children:["累计收益",(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.total_income,100,!0)}),"元"]})]}),(0,F.jsxs)(c.G7,{className:u,onClick:function openWithdraw(){(0,D.jD)("/pages/activityIncome/withdraw/index")},children:[(0,F.jsx)(k.Z,{name:"icon-lijitixian",size:37}),(0,F.jsx)(c.xv,{children:"立即提现"}),(0,F.jsx)(k.Z,{name:"icon-rukou",color:"#fff",size:35})]})]}),(0,F.jsx)(B.Z,{direction:"horizontal",customStyles:{margin:"0",opacity:"0.3",transform:"translateY(1px) scaleY(0.6)"}}),(0,F.jsxs)(c.G7,{className:j,children:[(0,F.jsxs)(c.G7,{className:v,children:[(0,F.jsx)(c.xv,{children:"昨日收益(元)"}),(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.today_income,100,!0)})]}),(0,F.jsx)(B.Z,{direction:"vertical",customStyles:{margin:"0",height:"100rpx",opacity:"0.3",transform:"scaleX(0.6)"}}),(0,F.jsxs)(c.G7,{className:v,children:[(0,F.jsx)(c.xv,{children:"近14日收益"}),(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.recently_fourteen_day_income,100,!0)})]})]})]}),(0,F.jsxs)(c.G7,{className:p,children:[(0,F.jsxs)(c.G7,{className:f,children:[(0,F.jsxs)(c.G7,{className:G,onClick:function openMsg(){t().showModal({title:"提示",showCancel:!1,content:"每笔订单产生的返佣在已收货14天后会自动到账账户余额中期间中途产生的退货条数会自动扣除每天09:00自动更新收益。",confirmColor:"#337fff",confirmText:"我知道了"})},children:[(0,F.jsx)(c.xv,{children:"待结算收益(元)"}),(0,F.jsx)(k.Z,{name:"icon-tishi",size:30})]}),(0,F.jsx)(c.G7,{className:N,children:(0,Z.yb)(a.data.wait_settle_income,100,!0)})]}),(0,F.jsxs)(c.G7,{className:w,children:[(0,F.jsxs)(c.G7,{className:b,children:[(0,F.jsx)(c.xv,{}),(0,F.jsx)(c.xv,{children:"主动收益"})]}),(0,F.jsxs)(c.G7,{className:y,children:[(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.wait_settle_bulk_roll||0,"条"]}),(0,F.jsx)(c.xv,{children:"大货条数"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[(0,Z.yb)(a.data.wait_settle_bulk_income,100,!0),"元"]}),(0,F.jsx)(c.xv,{children:"大货收益"})]})]})]}),(0,F.jsxs)(c.G7,{className:w,children:[(0,F.jsxs)(c.G7,{className:b,children:[(0,F.jsx)(c.xv,{}),(0,F.jsx)(c.xv,{children:"被动收益"})]}),(0,F.jsxs)(c.G7,{className:y,children:[(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_bulk_roll||0,"条"]}),(0,F.jsx)(c.xv,{children:"大货条数"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[(0,Z.yb)(a.data.passive_wait_settle_bulk_income,100,!0),"元"]}),(0,F.jsx)(c.xv,{children:"大货收益"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_user_nums||0,"位"]}),(0,F.jsx)(c.xv,{children:"下单用户"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_bulk_order_nums||0,"单"]}),(0,F.jsx)(c.xv,{children:"订单数量"})]})]})]})]})]})};activityIncome.enableShareAppMessage=!0;Page((0,n.createPageConfig)(activityIncome,"pages/activityIncome/index",{root:{cn:[]}},{navigationBarTitleText:"活动收益",navigationBarTextStyle:"white",enableShareAppMessage:!0,navigationBarBackgroundColor:"#4A7FFF",enablePullDownRefresh:!0,backgroundColorTop:"#4A7FFF"}||{}))}},function(e){e.O(0,[2107,1216,8592],(function(){return s=8650,e(e.s=s);var s}));e.O()}]);