| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-commission_details-commission_details"],{"00fb":function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223");var o=i(n("e64f")),r=n("94b9"),c={mixins:[o.default],data:function(){return{upOption:{empty:{icon:"/static/images/order_null.png",tip:"暂无记录"}},list:[]}},methods:{upCallback:function(e){var t=this,n=e.num,i=e.size;(0,r.getCommission)({page_size:i,page_no:n}).then((function(n){var i=n.data;1==e.num&&(t.list=[]);var o=i.list,r=o.length,c=!!i.more;t.list=t.list.concat(o),t.mescroll.endSuccess(r,c)})).catch((function(){t.mescroll.endErr()}))}}};t.default=c},"2ef4":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.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/* 行为相关颜色 */.record-cell[data-v-6a7f4577]{padding:%?16?% %?30?%;border-bottom:1px solid #e5e5e5}',""]),e.exports=t},5412:function(e,t,n){"use strict";n.r(t);var i=n("cd73"),o=n("e50f");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);var c=n("828b"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"0f758066",null,!1,i["a"],void 0);t["default"]=s.exports},"879c":function(e,t,n){"use strict";n.r(t);var i=n("e934"),o=n("e0b3");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("e31c");var c=n("828b"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"6a7f4577",null,!1,i["a"],void 0);t["default"]=s.exports},bbc6:function(e,t,n){var i=n("2ef4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("967d").default;o("5e328970",i,!0,{sourceMap:!1,shadowMode:!1})},c4cf:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa");var i={name:"record-cell",props:{remark:{type:String,required:!0},date:{type:String,required:!0},money:{type:String|Number,required:!0},type:{type:String|Number}},methods:{}};t.default=i},cd73:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var i={recordCell:n("879c").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"commission-details"},[n("mescroll-body",{ref:"mescrollRef",attrs:{up:e.upOption,down:e.downOption},on:{init:function(t){arguments[0]=t=e.$handleEvent(t),e.mescrollInit.apply(void 0,arguments)},up:function(t){arguments[0]=t=e.$handleEvent(t),e.upCallback.apply(void 0,arguments)},down:function(t){arguments[0]=t=e.$handleEvent(t),e.downCallback.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"p-t-20"},e._l(e.list,(function(e,t){return n("v-uni-view",{key:t,staticClass:"bg-white"},[n("record-cell",{attrs:{remark:e.source_type,date:e.create_time,money:e.change_amount,type:e.change_type}})],1)})),1)],1)],1)},r=[]},e0b3:function(e,t,n){"use strict";n.r(t);var i=n("c4cf"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},e31c:function(e,t,n){"use strict";var i=n("bbc6"),o=n.n(i);o.a},e50f:function(e,t,n){"use strict";n.r(t);var i=n("00fb"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},e64f:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(e){this.mescroll&&this.mescroll.onPageScroll(e)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(e){console.log(e),this.mescroll=e,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var e=this.$refs.mescrollRef;e&&(this.mescroll=e.mescroll)}},downCallback:function(){var e=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){e.mescroll.endSuccess()}),500)},upCallback:function(){var e=this;setTimeout((function(){e.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},o=i;t.default=o},e934:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"record-cell flex row-between"},[n("v-uni-view",[n("v-uni-view",{staticClass:"remark md"},[e._v(e._s(e.remark))]),n("v-uni-view",{staticClass:"time m-t-10 muted sm"},[e._v(e._s(e.date))])],1),n("v-uni-view",{staticClass:"black"},[n("v-uni-view",{staticClass:"money lg",class:{primary:1==e.type}},[e._v(e._s(e.money))])],1)],1)},o=[]}}]);
|