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
15 KiB
1 line
15 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-yongjin"],{"0f83":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("14d9");var r=i(a("2909")),s=a("afca"),n={data:function(){return{tabList:[{id:1,name:"已到账"},{id:0,name:"未到账"}],activeIndex:1,info:{distribute_order_num:0,total_commission_amount:0},page:1,limit:10,tableData:[],total:0}},methods:{getInfo:function(){var t=this;(0,s.getUserCommissionApi)({status:this.activeIndex}).then((function(e){t.info=Object.assign({},t.info,e.data)}))},getList:function(t){var e=this,a={page:this.page,limit:this.limit,status:this.activeIndex};(0,s.getUserCommissionList)(a).then((function(a){var i;t?(i=e.tableData).push.apply(i,(0,r.default)(a.data.data)):(e.tableData=a.data.data,e.total=a.data.total)}))},getItem:function(t){this.page=1,this.activeIndex=t.id,this.getInfo(),this.getList()}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))},mounted:function(){this.getInfo(),this.getList()}};e.default=n},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2909:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,r.default)(t)||(0,s.default)(t)||(0,n.default)()};var i=o(a("6005")),r=o(a("db90")),s=o(a("06c5")),n=o(a("3427"));function o(t){return t&&t.__esModule?t:{default:t}}},3427:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("d9e2"),a("d401")},"348c":function(t,e,a){t.exports=a.p+"static/img/total-bg.23ea3a39.png"},"3edd":function(t,e,a){"use strict";a.r(e);var i=a("0f83"),r=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},"4acf":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"tabs"},t._l(t.tabList,(function(e){return i("v-uni-view",{key:e.id,class:t.activeIndex==e.id?"tabsItem active":"tabsItem",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.getItem(e)}}},[t._v(t._s(e.name))])})),1),i("v-uni-view",{staticClass:"totalContent"},[i("v-uni-view",{staticClass:"totalitem"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.total_commission_amount))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("佣金总数")])],1),i("v-uni-view",{staticClass:"totalitem",staticStyle:{"border-left":"1px solid #fff"}},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.distribute_order_num))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("订单数")])],1)],1),i("v-uni-view",{staticClass:"yongjinTitle"},[t._v("佣金明细")]),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length>0,expression:"tableData.length>0"}],staticClass:"record-list"},t._l(t.tableData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list"},[i("v-uni-image",{staticClass:"avatarPic",attrs:{src:t.baseUrl+e.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"outer"},[i("v-uni-view",{staticClass:"title-date"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v(t._s(e.nickname))])],1),i("v-uni-view",{staticClass:"date"},[i("v-uni-text",[t._v(t._s(e.jointime))])],1)],1)],1),i("v-uni-view",{staticClass:"integral"},[i("v-uni-text",{staticStyle:{color:"#22AA44"}},[t._v(t._s(e.total_commission_amount))])
|