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 line
7.4 KiB
1 line
7.4 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-stored-commission"],{"4efb":function(t,e,i){"use strict";i.r(e);var n=i("ba4e"),a=i("a18e");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("8cbe");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"6d7e02e9",null,!1,n["a"],void 0);e["default"]=r.exports},"8cbe":function(t,e,i){"use strict";var n=i("de4c"),a=i.n(n);a.a},"9a3b":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.money[data-v-6d7e02e9]{font-size:%?50?%}',""]),t.exports=e},a18e:function(t,e,i){"use strict";i.r(e);var n=i("a733"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},a733:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var a=n(i("c7eb")),s=n(i("1da1")),o=n(i("5530")),r=i("26cb"),l={components:{},data:function(){return{options:{},activeIndex:0,tabList:[{title:"全部",id:0},{title:"未入账",id:1},{title:"已入账",id:2}],statusType:{1:"未入账",2:"已入账"},param:{page:1,pay_type:0},list:{data:[]},loading:!0,popupInfo:{},lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.$util.showLoading();var e=t.type,i=void 0===e?1:e;uni.setNavigationBarTitle({title:1==i?"返佣记录":"佣金流水"}),this.options=t,this.initIndex()},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,o.default)((0,o.default)({},(0,r.mapMutations)(["getUserIndex"])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,a.default)().mark((function i(){var n;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],n||!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,s.default)((0,a.default)().mark((function e(){var i,n,s,o,r;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.list,n=t.param,s=t.tabList,o=t.activeIndex,n.status=s[o].id,e.next=4,t.$api.mine.commList(n);case 4:r=e.sent,1==t.param.page||(r.data=i.data.concat(r.data)),t.list=r,t.loading=!1,t.$util.hideAll();case 8:case"end":return e.stop()}}),e)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.getLis
|