pages-users-user_spread_money-index.3a8160f4.js 9.0 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_spread_money-index"],{"0281":function(t,e,n){"use strict";n.r(e);var i=n("1967"),s=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=s.a},"117a":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"commission-details"},[n("v-uni-view",{staticClass:"promoterHeader bg-color"},[n("v-uni-view",{staticClass:"headerCon acea-row row-between-wrapper"},[n("v-uni-view",[n("v-uni-view",{staticClass:"name"},[t._v(t._s(t.name))]),1==t.recordType?n("v-uni-view",{staticClass:"money"},[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.userInfo.total_extract))])],1):t._e(),2==t.recordType?n("v-uni-view",{staticClass:"money"},[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.userInfo.brokerage_price))])],1):t._e()],1),n("v-uni-view",{staticClass:"iconfont icon-jinbi1"})],1)],1),1==t.type?n("v-uni-view",{staticClass:"sign-record"},[t._l(t.recordList,(function(e,i){return t.recordList.length>0?[n("v-uni-view",{key:i+"_0",staticClass:"list"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"listn"},[n("v-uni-view",{staticClass:"itemn acea-row row-between-wrapper"},[n("v-uni-view",[e.status>=0?[0==e.extract_type?n("v-uni-view",{staticClass:"name line1"},[t._v("银行卡提现")]):t._e(),1==e.extract_type?n("v-uni-view",{staticClass:"name line1"},[t._v("微信提现")]):t._e(),2==e.extract_type?n("v-uni-view",{staticClass:"name line1"},[t._v("支付宝提现")]):t._e()]:[n("v-uni-view",{staticClass:"name line1"},[t._v("提现失败"),n("v-uni-text",{staticClass:"message"},[t._v("("+t._s(e.fail_msg)+")")])],1)],n("v-uni-view",[t._v(t._s(e.create_time))])],2),e.status>=0?n("v-uni-view",{staticClass:"num"},[t._v("-"+t._s(e.extract_price))]):n("v-uni-view",{staticClass:"num font-color"},[t._v("+"+t._s(e.extract_price))])],1)],1)],1)],1)]:t._e()})),0==t.recordList.length?n("v-uni-view",[n("emptyPage",{attrs:{title:"暂无提现记录~"}})],1):t._e()],2):t._e(),2==t.type?n("v-uni-view",{staticClass:"sign-record"},[t._l(t.recordList,(function(e,i){return t.recordList.length>0?[n("v-uni-view",{key:i+"_0",staticClass:"list"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"listn"},[n("v-uni-view",{staticClass:"itemn acea-row row-between-wrapper"},[n("v-uni-view",[n("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.title))]),n("v-uni-view",[t._v(t._s(e.create_time))])],1),0==e.pm?n("v-uni-view",{staticClass:"num"},[t._v("-"+t._s(e.number))]):n("v-uni-view",{staticClass:"num font-color"},[t._v("+"+t._s(e.number))])],1)],1)],1)],1)]:t._e()})),0==t.recordList.length?n("v-uni-view",[n("emptyPage",{attrs:{title:"暂无提现记录~"}})],1):t._e()],2):t._e()],1)],1)},a=[]},1967:function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n("5e22"),a=n("c496"),r=n("2f62"),o=i(n("b871")),c={components:{emptyPage:o.default},data:function(){return{name:"",type:0,page:1,limit:12,recordList:[],recordType:0,recordCount:0,status:!1,isAuto:!1,isShowAuth:!1,extractCount:0,userInfo:""}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(t){this.isLogin?this.type=t.type:(0,a.toLogin)()},onShow:function(){var t=this.type;2==t&&(uni.setNavigationBarTitle({title:"佣金记录"}),this.name="佣金明细",this.recordType=2),1==t&&(uni.setNavigationBarTitle({title:"提现记录"}),this.name="提现总额",this.recordType=1),this.spreadInfo(),this.getRecordList()},methods:{spreadInfo:function(){var t=this;(0,s.spreadInfo)().then((function(e){t.userInfo=e.data}))},onLoadFun:function(){this.isShowAuth=!1,this.getRecordList()},authColse:function(t){this.isShowAuth=t},getRecordList:function(){var t=this,e=t.page,n=t.limit,i=t.status,a=t.recordType,r=t.recordList,o=[];1!=i&&(1==this.type&&(0,s.extractLst)({page:e,limit:n},a).then((function(e){var i=e.data.list.length,s=e.data.list;o=r.concat(s),t.status=n>i,t.page+=1,t.$set(t,"recordList",o)})),2==this.type&&(0,s.brokerage_list)({page:e,limit:n}).then((function(e){var i=e.data.list.length,s=e.data.list;o=r.concat(s),t.status=n>i,t.page+=1,t.$set(t,"recordList",o)})))},getRecordListCount:function(){var t=this;(0,s.getSpreadInfo)().then((function(e){t.recordCount=e.data.commissionCount,t.extractCount=e.data.extractCount}))}},onReachBottom:function(){this.getRecordList()}};e.default=c},"29a4":function(t,e,n){var i=n("24fb");e=i(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.commission-details .promoterHeader .headerCon .money[data-v-228f6142]{font-size:%?36?%}.commission-details .promoterHeader .headerCon .money .num[data-v-228f6142]{font-family:Guildford Pro}.message[data-v-228f6142]{font-size:%?18?%;color:#fc4141}',""]),t.exports=e},"35cc":function(t,e,n){"use strict";var i=n("3641"),s=n.n(i);s.a},3641:function(t,e,n){var i=n("c1d6");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=n("4f06").default;s("085dfbbc",i,!0,{sourceMap:!1,shadowMode:!1})},"3f3c":function(t,e,n){"use strict";n.r(e);var i=n("117a"),s=n("0281");for(var a in s)"default"!==a&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("541e");var r,o=n("f0c5"),c=Object(o["a"])(s["default"],i["b"],i["c"],!1,null,"228f6142",null,!1,i["a"],r);e["default"]=c.exports},"4c4d":function(t,e,n){"use strict";n.r(e);var i=n("8b27"),s=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=s.a},"541e":function(t,e,n){"use strict";var i=n("b3e2"),s=n.n(i);s.a},8572:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"empty-box"},[n("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),n("v-uni-view",{staticClass:"txt"},[t._v(t._s(t.title))])],1)},a=[]},"8b27":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{title:{type:String,default:"暂无记录"}}};e.default=i},b3e2:function(t,e,n){var i=n("29a4");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=n("4f06").default;s("16c809a3",i,!0,{sourceMap:!1,shadowMode:!1})},b871:function(t,e,n){"use strict";n.r(e);var i=n("8572"),s=n("4c4d");for(var a in s)"default"!==a&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("35cc");var r,o=n("f0c5"),c=Object(o["a"])(s["default"],i["b"],i["c"],!1,null,"6b1a6701",null,!1,i["a"],r);e["default"]=c.exports},c1d6:function(t,e,n){var i=n("24fb");e=i(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-6b1a6701]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-6b1a6701]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-6b1a6701]{font-size:%?26?%;color:#999}',""]),t.exports=e}}]);