You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
7.5 KiB
1 lines
7.5 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-distribution-record"],{"2e67":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isLoad?i("v-uni-view",{staticClass:"master-income-record"},[i("v-uni-view",{staticClass:"mine-menu-list c-base",style:{background:t.primaryColor}},[i("v-uni-view",{staticClass:"space-lg"}),i("v-uni-view",{staticClass:"space-lg"}),i("v-uni-view",{staticClass:"flex-center f-caption mt-sm mb-sm"},[t._v("已累计提现金额(元)")]),i("v-uni-view",{staticClass:"money-info flex-center flex-y-baseline"},[t._v("¥"),i("v-uni-view",{staticClass:"money"},[t._v(t._s(t.list.extract_total_price))])],1),i("v-uni-view",{staticClass:"space-md"}),i("v-uni-view",{staticClass:"space-lg"})],1),i("v-uni-view",{staticClass:"fill-base"},[i("tab",{attrs:{list:t.tabList,activeIndex:1*t.activeIndex,activeColor:t.primaryColor,width:"25%",height:"100rpx"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handerTabChange.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"ml-lg mr-lg b-1px-b"}),t._l(t.list.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item pd-lg",class:[{"b-1px-t":0!=a}]},[i("v-uni-view",{staticClass:"flex-warp"},[i("v-uni-view",{staticClass:"item-tag mt-sm mr-md radius",style:{background:1==e.status?t.primaryColor:2==e.status?t.subColor:"#999"}}),i("v-uni-view",{staticClass:"flex-1"},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"flex-y-center"},[i("v-uni-view",{staticClass:"f-title c-title text-bold"},[t._v(t._s(t.statusType[e.status]))])],1),i("v-uni-view",{staticClass:"f-caption c-caption"},[t._v(t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"flex-between mt-sm"},[i("v-uni-view",{staticClass:"f-caption c-caption"},[i("v-uni-view",[t._v("申请提现金额: ¥"+t._s(e.total_price))]),i("v-uni-view",{staticClass:"flex-y-center"},[t._v("手续费扣除: "+t._s(e.tax_point)+"%"),i("v-uni-view",{staticClass:"ml-md"},[t._v("扣费: ¥"+t._s(e.service_price))])],1)],1),i("v-uni-view",{staticClass:"f-md-title"},[t._v(t._s(2==e.status?"+":"-")+t._s(e.apply_price))])],1)],1)],1)],1)}))],2),t.loading?i("load-more",{attrs:{noMore:t.list.current_page>=t.list.last_page&&t.list.data.length>0,loading:t.loading}}):t._e(),!t.loading&&t.list.data.length<=0&&1==t.list.current_page?i("abnor"):t._e(),i("v-uni-view",{staticClass:"space-footer"})],1):t._e()},n=[]},"590a":function(t,e,i){"use strict";var a=i("d2f4"),n=i.n(a);n.a},"5a25":function(t,e,i){"use strict";i.r(e);var a=i("6cb6"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"6cb6":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=a(i("9b1b")),s=a(i("2634")),o=a(i("2fdc")),r=i("8f59"),c={components:{},data:function(){return{options:{},isLoad:!1,activeIndex:0,tabList:[{title:"全部",id:0},{title:"未到账",id:1},{title:"已到账",id:2},{title:"已拒绝",id:3}],statusType:{1:"未到账",2:"已到账",3:"已拒绝"},param:{page:1,status:0},list:{data:[]},loading:!0}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),onLoad:function(t){var e=this;return(0,o.default)((0,s.default)().mark((function i(){var a,n;return(0,s.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.type,e.options=t,n=["","","服务费","车费","渠道商","代理商","业务员"],uni.setNavigationBarTitle({title:n[1*a]+"提现记录"}),e.$util.showLoading(),i.next=7,e.initIndex();case 7:e.isLoad=!0;case 8:case"end":return i.stop()}}),i)})))()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:(0,n.default)((0,n.default)({},(0,r.mapMutations)([])),{},{initIndex:function(){var t=arguments,e=this;return(0,o.default)((0,s.default)().mark((function i(){var a;return(0,s.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!e.$jweixin.isWechat()){i.next=5;break}return i.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:return i.next=7,e.getList();case 7:e.$util.setNavigationBarColor({bg:e.primaryColor});case 8:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,o.default)((0,s.default)().mark((function e(){var i,a,n,o,r,c,l,u,d,f,p,v,m;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.list,a=t.param,n=t.activeIndex,o=t.tabList,r=o[n].id,a.status=r,c={1:{methodKey:"mine",methodModel:"walletList"},2:{methodKey:"technician",methodModel:"capCashList",type:1},3:{methodKey:"technician",methodModel:"capCashList",type:2},4:{methodKey:"channel",methodModel:"walletList"},5:{methodKey:"agent",methodModel:"walletList"},6:{methodKey:"salesman",methodModel:"walletList"}},l=t.options.type,u=c[l],d=u.methodKey,f=u.methodModel,p=u.type,v=void 0===p?0:p,v&&(a.type=v),e.next=9,t.$api[d][f](a);case 9:m=e.sent,1==t.param.page||(m.data=i.data.concat(m.data)),t.list=m,t.loading=!1,t.$util.hideAll();case 13:case"end":return e.stop()}}),e)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.getList()},toCopy:function(t){var e=this.list.data[t].order_code;this.$util.goUrl({url:e,openType:"copy"})}})};e.default=c},"72cc":function(t,e,i){var a=i("c86c");e=a(!1),e.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/* 文章场景相关 */.master-income-record .mine-menu-list .money-info[data-v-f39ffaf0]{font-size:%?50?%}.master-income-record .mine-menu-list .money-info .money[data-v-f39ffaf0]{font-size:%?70?%}.master-income-record .list-item .item-tag[data-v-f39ffaf0]{width:%?24?%;height:%?24?%}',""]),t.exports=e},b4c6:function(t,e,i){"use strict";i.r(e);var a=i("2e67"),n=i("5a25");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("590a");var o=i("828b"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"f39ffaf0",null,!1,a["a"],void 0);e["default"]=r.exports},d2f4:function(t,e,i){var a=i("72cc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("41984376",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |