distribution-account-index.0c2cc2ab.js 9.2 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["distribution-account-index"],{"0844":function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(e("2634")),o=n(e("2fdc")),s={data:function(){return{is_bangding:0,cashInfo:{}}},onLoad:function(){this.getCashInfo()},onShow:function(){this.getCashInfo()},methods:{getCashInfo:function(){var t=this;return(0,o.default)((0,a.default)().mark((function i(){var e;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.$allrequest.distribution.getCashInfo({},!0);case 2:e=i.sent,0==e.code&&(t.cashInfo=e.data);case 4:case"end":return i.stop()}}),i)})))()},getDate:function(t){var i=new Date(t),e=i.getFullYear(),n=i.getMonth()+1,a=i.getDate(),o=i.getHours(),s=i.getMinutes(),d=i.getSeconds();n>=1&&n<=9&&(n="0"+n),a>=0&&a<=9&&(a="0"+a);var r=e+"-"+n+"-"+a+" "+o+":"+s+":"+d;return r}}};i.default=s},"0eec":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAQ5JREFUaEPtmEsOgzAMRG32qMtegOQIvf856CVQ9yVVpVZCfMREMiZEwxIsO/MmsQGVSi6tRIdojDGVLKbvewg2hXi5SEe8SKN16MifFEoCJbsXF0IYVXXRodB1bHYtNMHeAtHnFPIjVb8j6JYoJa74yY6CohCUlFccHfEijdYppv2iCw4hvFW1mcdTCErQOo6OWBEdujbJ8uVWJCVZvb9R+CH3Uc48IxQyc4aO8IzMCNR0Rr7dZvFNfnu+GhWB/3aePkeGrqWQ6S6lI4d3rcwC5c6RCwpZPeyZOqQERyhk6hodyd3DR8efPkesBFKIFUmrPHTEiqRVnmxHrAp75eFPbC/SaB06gpLyiqvGkQ8hvg8IT61G/gAAAABJRU5ErkJggg=="},"4f5e":function(t,i,e){"use strict";e.r(i);var n=e("0844"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},"5bbb":function(t,i,e){var n=e("7de1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("6ae34c66",n,!0,{sourceMap:!1,shadowMode:!1})},"7de1":function(t,i,e){var n=e("c86c");i=n(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-40e5d924] .u-form-item--right__content__slot > uni-view,[data-v-40e5d924] .u-form-item--right__content__slot > div,[data-v-40e5d924] .u-form-item--right__content__slot > span,[data-v-40e5d924] .u-form-item--right__content__slot > uni-text{width:100%}.body[data-v-40e5d924]{min-height:100vh;background:#fff;padding:%?24?%}.body .top[data-v-40e5d924]{width:%?702?%;height:%?208?%;background:linear-gradient(180deg,#f22407,#f84d17);border-radius:%?20?% %?20?% %?20?% %?20?%;padding:%?44?%}.body .top .title[data-v-40e5d924]{font-size:%?30?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#fff}.body .top .price[data-v-40e5d924]{display:flex;justify-content:space-between;align-items:center}.body .top .price .tixian[data-v-40e5d924]{width:%?120?%;height:%?60?%;background:#fff;border-radius:%?10?%;line-height:%?60?%;text-align:center;font-size:%?30?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#f0250e}.body .icon_c[data-v-40e5d924]{margin:%?50?% %?0?% %?50?% %?20?%;display:flex}.body .icon_c .icon_i[data-v-40e5d924]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:%?84?%;position:relative}.body .icon_c .icon_i[data-v-40e5d924]:first-child{margin-left:0}.body .icon_c .icon_i .bangding[data-v-40e5d924]{position:absolute;top:%?-10?%;left:%?60?%;width:%?94?%;height:%?36?%;background:#f0250e;border-radius:%?120?% %?120?% %?120?% %?120?%;font-size:%?22?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:%?36?%;text-align:center}.body .border[data-v-40e5d924]{height:%?2?%;background:#f8f8f8;width:100%}.body .today_order .title[data-v-40e5d924]{margin:%?24?% 0;font-size:%?30?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#262626}.body .today_order .order_price[data-v-40e5d924]{display:flex;justify-content:space-around;width:%?702?%;height:%?168?%;background:#f5f5f5;border-radius:%?20?%;margin:0 auto}.body .today_order .order_price .order_c[data-v-40e5d924]{display:flex;flex-direction:column;justify-content:center;align-items:center}.body .today_order .order_price .order_c .price[data-v-40e5d924]{font-size:%?36?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#262626}.body .today_order .order_price .order_c .shouru[data-v-40e5d924]{font-size:%?24?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#262626;margin-top:%?10?%}.body .list .list_content[data-v-40e5d924]{display:flex;justify-content:space-between;padding:%?24?% 0;border-bottom:%?2?% solid #f8f8f8}.body .list .list_content .left[data-v-40e5d924]{width:%?468?%}.body .list .list_content .left .left_title[data-v-40e5d924]{font-size:%?28?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#262626}.body .list .list_content .left .left_time[data-v-40e5d924]{font-size:%?24?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#8c8c8c}.body .list .list_content .right[data-v-40e5d924]{display:flex;flex-direction:column;align-items:center}.body .list .list_content .right .price[data-v-40e5d924]{font-size:%?28?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#262626}.body .list .list_content .right .daozhang[data-v-40e5d924]{font-size:%?24?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#8c8c8c}.body .btn[data-v-40e5d924]{width:%?500?%;height:%?80?%;background:#f84d17;color:#fff;font-size:%?32?%;text-align:center;line-height:%?80?%;font-weight:700;margin:%?30?% auto}',""]),t.exports=i},"988f":function(t,i,e){"use strict";var n=e("5bbb"),a=e.n(n);a.a},"9f15":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{staticClass:"body"},[n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"title"},[t._v("账户余额")]),n("v-uni-view",{staticClass:"price"},[n("v-uni-view",[n("v-uni-text",{staticStyle:{"font-size":"64rpx","font-family":"PingFang SC-Semibold, PingFang SC","font-weight":"600",color:"#ffffff"}},[t._v(t._s(t.cashInfo.money))]),n("v-uni-text",{staticStyle:{"font-size":"30rpx","font-family":"PingFang SC-Regular, PingFang SC","font-weight":"400",color:"#ffffff","margin-left":"10rpx"}},[t._v("元")])],1),n("v-uni-view",{staticClass:"tixian",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$utils.toUrl("/distribution/cash/index")}}},[t._v("提现")])],1)],1),n("v-uni-view",{staticClass:"icon_c"},[n("v-uni-view",{staticClass:"icon_i",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$utils.toUrl("/distribution/cash/record")}}},[n("v-uni-image",{staticStyle:{width:"50rpx",height:"50rpx"},attrs:{src:e("0eec")}}),n("v-uni-view",{staticStyle:{"margin-top":"10rpx"}},[t._v("提现记录")])],1)],1),n("v-uni-view",{staticClass:"border"}),n("v-uni-view",{staticClass:"today_order"},[n("v-uni-view",{staticClass:"title"},[t._v("今日订单")]),n("v-uni-view",{staticClass:"order_price"},[n("v-uni-view",{staticClass:"order_c"},[n("v-uni-text",{staticClass:"price"},[t._v("+"+t._s(t.cashInfo.today_money))]),n("v-uni-text",{staticClass:"shouru"},[t._v("今日收入")])],1),n("v-uni-view",{staticClass:"order_c"},[n("v-uni-text",{staticClass:"price"},[t._v("+"+t._s(t.cashInfo.frozen_money))]),n("v-uni-text",{staticClass:"shouru"},[t._v("未到账")])],1),n("v-uni-view",{staticClass:"order_c"},[n("v-uni-text",{staticClass:"price"},[t._v("+"+t._s(t.cashInfo.today_cash))]),n("v-uni-text",{staticClass:"shouru"},[t._v("提现支出")])],1)],1)],1),t._l(t.cashInfo.data,(function(i,e){return n("v-uni-view",{key:e,staticClass:"list"},[n("v-uni-view",{staticClass:"list_content"},[n("v-uni-view",{staticClass:"left"},[n("v-uni-view",{staticClass:"left_title"},[t._v(t._s(i.desc))]),n("v-uni-text",{staticClass:"left_time"},[t._v(t._s(t.getDate(1e3*i.created_at)))])],1),n("v-uni-view",{staticClass:"right"},[n("v-uni-view",{staticClass:"price"},[t._v(t._s(1==i.type?"+":"-")+t._s(i.amount))])],1)],1)],1)})),n("v-uni-view",{staticClass:"btn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$utils.toUrl("/distribution/cash/cashInfo")}}},[t._v("查看更多")])],2)},a=[]},f49a:function(t,i,e){"use strict";e.r(i);var n=e("9f15"),a=e("4f5e");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("988f");var s=e("828b"),d=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"40e5d924",null,!1,n["a"],void 0);i["default"]=d.exports}}]);