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.6 KiB
1 line
7.6 KiB
8 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_bill-index"],{1184:function(t,i,n){var e=n("1761");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("4f06").default;a("235c3bfa",e,!0,{sourceMap:!1,shadowMode:!1})},1761:function(t,i,n){var e=n("24fb");i=e(!1),i.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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-f1a26612]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-f1a26612]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-f1a26612]{font-size:%?26?%;color:#999}',""]),t.exports=i},"2c19":function(t,i,n){"use strict";var e=n("36a9"),a=n.n(e);a.a},"36a9":function(t,i,n){var e=n("9c45");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("4f06").default;a("12493075",e,!0,{sourceMap:!1,shadowMode:!1})},4225:function(t,i,n){"use strict";n("7a82");var e=n("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n("6859"),s=n("26cb"),o=e(n("c71c")),l=n("ddb3"),c={components:{emptyPage:o.default},data:function(){return{loadTitle:"加载更多",loading:!1,loadend:!1,page:1,limit:15,type:0,userBillList:[]}},computed:(0,s.mapGetters)(["isLogin","viewColor"]),onShow:function(){this.isLogin?this.getUserBillList():(0,l.toLogin)()},onLoad:function(t){this.type=t.type||0},onReachBottom:function(){this.getUserBillList()},methods:{getUserBillList:function(){var t=this;if(!t.loadend&&!t.loading){t.loading=!0,t.loadTitle="";var i={page:t.page,limit:t.limit,type:t.type};(0,a.getCommissionInfo)(i).then((function(i){var n=i.data.list,e=n.length<t.limit;t.userBillList=t.$util.SplitArray(n,t.userBillList),t.$set(t,"userBillList",t.userBillList),t.loadend=e,t.loading=!1,t.loadTitle=e?"哼😕~我也是有底线的~":"加载更多",t.page=t.page+1}),(function(i){t.loading=!1,t.loadTitle="加载更多"}))}},changeType:function(t){this.type=t,this.loadend=!1,this.page=1,this.$set(this,"userBillList",[]),this.getUserBillList()}}};i.default=c},"53a1":function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{style:t.viewColor},[n("v-uni-view",{staticClass:"bill-details"},[n("v-uni-view",{staticClass:"nav acea-row"},[n("v-uni-view",{staticClass:"item",class:0==t.type?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType(0)}}},[t._v("全部")]),n("v-uni-view",{staticClass:"item",class:1==t.type?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType(1)}}},[t._v("消费")]),n("v-uni-view",{staticClass:"item",class:2==t.type?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType(2)}}},[t._v("充值")])],1),n("v-uni-view",{staticClass:"sign-record"},[t._l(t.userBillList,(function(i,e){return n("v-uni-view",{key:e,staticClass:"list"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"listn"},[n("v-uni-view",{staticClass:"itemn acea-row row-between
|