1 line
9.5 KiB
JavaScript
1 line
9.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_spread_money-index"],{"019d":function(t,e,i){"use strict";i.r(e);var n=i("e650"),s=i("adbd");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("63d9");var r=i("828b"),o=Object(r["a"])(s["default"],n["b"],n["c"],!1,null,"655bf08c",null,!1,n["a"],void 0);e["default"]=o.exports},"5dce":function(t,e,i){var n=i("c86c");e=n(!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-f1a26612]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-f1a26612]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-f1a26612]{font-size:%?26?%;color:#999}',""]),t.exports=e},"5fac":function(t,e,i){var n=i("641c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var s=i("967d").default;s("7fc50b5b",n,!0,{sourceMap:!1,shadowMode:!1})},"63d9":function(t,e,i){"use strict";var n=i("5fac"),s=i.n(n);s.a},"641c":function(t,e,i){var n=i("c86c");e=n(!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/* 文章场景相关 */.promoterHeader[data-v-655bf08c]{background-image:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22))}.sign-record[data-v-655bf08c]{margin-top:%?14?%}.commission-details .promoterHeader .headerCon .money[data-v-655bf08c]{font-size:%?36?%}.p-color[data-v-655bf08c]{color:var(--view-priceColor)}.commission-details .listn .nums[data-v-655bf08c]{font-size:%?32?%;font-weight:700}.message[data-v-655bf08c]{font-size:%?18?%;color:#fc4141}.item-label[data-v-655bf08c]{font-size:%?18?%;display:flex;width:%?76?%;height:%?26?%;text-align:center;justify-content:center;background-color:var(--view-bgColor);margin-right:%?6?%;font-weight:400}',""]),t.exports=e},"676c":function(t,e,i){"use strict";var n=i("9da7"),s=i.n(n);s.a},8329:function(t,e,i){"use strict";i.r(e);var n=i("d98d"),s=i("c4bf1");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("676c");var r=i("828b"),o=Object(r["a"])(s["default"],n["b"],n["c"],!1,null,"f1a26612",null,!1,n["a"],void 0);e["default"]=o.exports},"9a46":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var s=i("672a"),a=i("8f59"),r=n(i("8329")),o=n(i("4aed")),c=i("e44d"),u={components:{emptyPage:r.default,timeSlot:o.default},data:function(){return{name:"",type:0,page:1,limit:12,recordList:[],recordType:0,recordCount:0,status:!1,extractCount:0,userInfo:"",times:[],start:"",stop:""}},computed:(0,a.mapGetters)(["isLogin","viewColor"]),onLoad:function(t){this.isLogin?this.type=t.type:(0,c.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}))},changeTime:function(t){this.start=t.start,this.stop=t.stop,this.searchSubmitValue()},searchSubmitValue:function(t){this.page=1,this.limit=20,this.status=!1,this.$set(this,"recordList",[]),this.$set(this,"times",[]),this.getRecordList()},getRecordList:function(){var t=this,e=t.page,i=t.limit,n=t.status,a=t.recordType,r=t.start,o=t.stop,c=t.recordList,u=[];1!=n&&(1==this.type&&(0,s.extractLst)({page:e,limit:i,start:r,stop:o},a).then((function(e){var n=e.data.list.length,s=e.data.list;u=c.concat(s),t.status=i>n,t.page+=1,t.$set(t,"recordList",u)})),2==this.type&&(0,s.brokerage_list)({page:e,limit:i,start:r,stop:o}).then((function(e){var n=e.data.list.length,s=e.data.list;u=c.concat(s),t.status=i>n,t.page+=1,t.$set(t,"recordList",u)})))},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=u},"9da7":function(t,e,i){var n=i("5dce");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var s=i("967d").default;s("773f4a1f",n,!0,{sourceMap:!1,shadowMode:!1})},adbd:function(t,e,i){"use strict";i.r(e);var n=i("9a46"),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=s.a},b7b2:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},c4bf1:function(t,e,i){"use strict";i.r(e);var n=i("b7b2"),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=s.a},d98d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},s=[]},e650:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"commission-details"},[i("v-uni-view",{staticClass:"promoterHeader"},[i("timeSlot",{on:{changeTime:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTime.apply(void 0,arguments)}}})],1),1==t.type?i("v-uni-view",{staticClass:"sign-record"},[t._l(t.recordList,(function(e,n){return t.recordList.length>0?[i("v-uni-view",{key:n+"_0",staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"listn"},[i("v-uni-view",{staticClass:"itemn acea-row row-between-wrapper"},[i("v-uni-view",[e.status>=0?[0==e.extract_type?i("v-uni-view",{staticClass:"name line1"},[t._v("银行卡提现")]):t._e(),1==e.extract_type?i("v-uni-view",{staticClass:"name line1"},[t._v("微信提现")]):t._e(),2==e.extract_type?i("v-uni-view",{staticClass:"name line1"},[t._v("支付宝提现")]):t._e(),3==e.extract_type?i("v-uni-view",{staticClass:"name line1"},[t._v("提现到零钱")]):t._e()]:[i("v-uni-view",{staticClass:"name line1"},[t._v("提现失败"),i("v-uni-text",{staticClass:"message"},[t._v("("+t._s(e.fail_msg)+")")])],1)],i("v-uni-view",[t._v(t._s(e.create_time))])],2),e.status>=0?i("v-uni-view",{staticClass:"nums"},[t._v("-"+t._s(e.extract_price))]):i("v-uni-view",{staticClass:"nums p-color acea-row row-between-wrapper"},[0==e.status?i("v-uni-text",{staticClass:"item-label"},[t._v("冻结中")]):t._e(),t._v("+"+t._s(e.extract_price))],1)],1)],1)],1)],1)]:t._e()})),0==t.recordList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无提现记录~"}})],1):t._e()],2):t._e(),2==t.type?i("v-uni-view",{staticClass:"sign-record"},[t._l(t.recordList,(function(e,n){return t.recordList.length>0?[i("v-uni-view",{key:n+"_0",staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"listn"},[i("v-uni-view",{staticClass:"itemn acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.title))]),i("v-uni-view",[t._v(t._s(e.create_time))])],1),0==e.pm?i("v-uni-view",{staticClass:"nums"},[t._v("-"+t._s(e.number))]):t._e(),i("v-uni-view",{staticClass:"nums p-color acea-row row-between-wrapper"},[0==e.status?i("v-uni-text",{staticClass:"item-label"},[t._v("冻结中")]):t._e(),t._v("+"+t._s(e.number))],1)],1)],1)],1)],1)]:t._e()})),0==t.recordList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无提现记录~"}})],1):t._e()],2):t._e()],1)],1)},s=[]}}]); |