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.
hezhiying/unpackage/dist/build/h5/static/js/pages-fenxiao-yongjin.6ff58...

1 line
15 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-yongjin"],{"03b4":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("78d1"),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},1121:function(t,e,a){"use strict";a.r(e);var i=a("47d2"),r=a("a994");for(var s in r)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(s);a("b9c7");var n=a("f0c5"),o=Object(n["a"])(r["default"],i["b"],i["c"],!1,null,"7f7c96af",null,!1,i["a"],void 0);e["default"]=o.exports},1162:function(t,e,a){var i=a("bc0a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("4f06").default;r("03a88c48",i,!0,{sourceMap:!1,shadowMode:!1})},"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}}},"2a66":function(t,e,a){t.exports=a.p+"static/img/total-bg.23ea3a39.png"},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")},"47d2":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",{st