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
5.6 KiB
1 lines
5.6 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-stored-commission"],{"0df4":function(t,n,e){"use strict";e.r(n);var a=e("a90a"),i=e("df53");for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e("57c2");var o=e("828b"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"2b20af72",null,!1,a["a"],void 0);n["default"]=r.exports},"203a":function(t,n,e){var a=e("4beb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("967d").default;i("a34134d6",a,!0,{sourceMap:!1,shadowMode:!1})},"32c0":function(t,n,e){"use strict";e("6a54");var a=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c223");var i=a(e("9b1b")),s=a(e("2634")),o=a(e("2fdc")),r=e("8f59"),c={components:{},data:function(){return{isLoad:!1,param:{page:1,status:2},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(){var t=this;return(0,o.default)((0,s.default)().mark((function n(){return(0,s.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$util.showLoading(),n.next=3,t.initIndex();case 3:t.isLoad=!0;case 4:case"end":return n.stop()}}),n)})))()},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,i.default)((0,i.default)({},(0,r.mapMutations)([])),{},{initIndex:function(){var t=arguments,n=this;return(0,o.default)((0,s.default)().mark((function e(){var a;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!n.$jweixin.isWechat()){e.next=5;break}return e.next=4,n.$jweixin.initJssdk();case 4:n.$jweixin.wxReady((function(){n.$jweixin.hideOptionMenu()}));case 5:return e.next=7,n.getList();case 7:n.$util.setNavigationBarColor({bg:n.primaryColor});case 8:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,o.default)((0,s.default)().mark((function n(){var e,a,i;return(0,s.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t.list,a=t.param,n.next=3,t.$api.mine.commList(a);case 3:i=n.sent,1==t.param.page||(i.data=e.data.concat(i.data)),t.list=i,t.loading=!1,t.$util.hideAll();case 7:case"end":return n.stop()}}),n)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.getList()},toCopy:function(t){var n=this.list.data[t].order_code;this.$util.goUrl({url:n,openType:"copy"})}})};n.default=c},"4beb":function(t,n,e){var a=e("c86c");n=a(!1),n.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/* 文章场景相关 */uni-page-body[data-v-2b20af72]{background:#fff}body.?%PAGE?%[data-v-2b20af72]{background:#fff}.master-income-record .mine-menu-list .money-info[data-v-2b20af72]{font-size:%?50?%}.master-income-record .mine-menu-list .money-info .money[data-v-2b20af72]{font-size:%?70?%}.master-income-record .list-item .item-tag[data-v-2b20af72]{width:%?24?%;height:%?24?%}',""]),t.exports=n},"57c2":function(t,n,e){"use strict";var a=e("203a"),i=e.n(a);i.a},a90a:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.isLoad?e("v-uni-view",{staticClass:"master-income-record"},[t._l(t.list.data,(function(n,a){return e("v-uni-view",{key:a,staticClass:"list-item ml-lg mr-lg pt-lg pb-lg",class:[{"b-1px-t":0!=a}]},[e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"f-mini-title c-title text-bold"},[t._v(t._s(9==n.type?"直推"+t.$t("action.attendantName")+" "+n.coach_name+" 完成服务":"粉丝 "+n.nickName+" 下单完成服务"))]),e("v-uni-view",{staticClass:"f-md-title"},[t._v("+"+t._s(n.cash))])],1),e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"f-caption c-caption"},[t._v(t._s(n.create_time))]),e("v-uni-view",{staticClass:"f-caption",style:{color:9==n.type?t.primaryColor:t.subColor}},[t._v("返佣"+t._s(n.balance)+"%")])],1)],1)})),t.loading?e("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?e("abnor"):t._e(),e("v-uni-view",{staticClass:"space-footer"})],2):t._e()},i=[]},df53:function(t,n,e){"use strict";e.r(n);var a=e("32c0"),i=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(s);n["default"]=i.a}}]); |