mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-21 18:10:16 +00:00
1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_bill-index"],{"068d":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"empty-box"},[i("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),i("v-uni-view",{staticClass:"txt"},[t._v(t._s(t.title))])],1)},o=[]},"153e":function(t,e,i){"use strict";i.r(e);var n=i("7a3e"),a=i("dd81");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("64dc");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"2ed06db2",null,!1,n["a"],r);e["default"]=c.exports},"2d4f":function(t,e,i){"use strict";var n=i("6175"),a=i.n(n);a.a},"37f3":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("57f0"),o=i("6dd0"),r=i("2f62"),s=n(i("4339")),c=n(i("99d5")),l={components:{emptyPage:s.default,home:c.default},data:function(){return{loadTitle:"加载更多",loading:!1,loadend:!1,page:1,limit:10,type:0,userBillList:[],isAuto:!1,isShowAuth:!1}},computed:(0,r.mapGetters)(["isLogin"]),onShow:function(){this.isLogin?this.getUserBillList():(0,o.toLogin)()},onLoad:function(t){this.type=t.type||0},onReachBottom:function(){this.getUserBillList()},methods:{onLoadFun:function(){this.getUserBillList()},authColse:function(t){this.isShowAuth=t},getUserBillList:function(){var t=this;if(!t.loadend&&!t.loading){t.loading=!0,t.loadTitle="";var e={page:t.page,limit:t.limit};(0,a.getCommissionInfo)(e,t.type).then((function(e){var i=e.data,n=i.length<t.limit;t.userBillList=t.$util.SplitArray(i,t.userBillList),t.$set(t,"userBillList",t.userBillList),t.loadend=n,t.loading=!1,t.loadTitle=n?"哼😕~我也是有底线的~":"加载更多",t.page=t.page+1}),(function(e){t.loading=!1,t.loadTitle="加载更多"}))}},changeType:function(t){this.type=t,this.loadend=!1,this.page=1,this.$set(this,"userBillList",[]),this.getUserBillList()}}};e.default=l},"39d8":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.empty-box[data-v-244d8f0e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-244d8f0e]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-244d8f0e]{font-size:%?26?%;color:#999}',""]),t.exports=e},4227:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon bg-color",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?"/static/images/close.gif":"/static/images/open.gif"}})],1)],1)],1)],1)},o=[]},4339:function(t,e,i){"use strict";i.r(e);var n=i("068d"),a=i("979d");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("2d4f");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"244d8f0e",null,!1,n["a"],r);e["default"]=c.exports},"479b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("2f62"),a={name:"Home",props:{},data:function(){return{top:"500"}},computed:(0,n.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){var e=this;t.touches[0].clientY<500&&t.touches[0].clientY>66&&(e.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){}};e.default=a},6175:function(t,e,i){var n=i("39d8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6c984765",n,!0,{sourceMap:!1,shadowMode:!1})},"64dc":function(t,e,i){"use strict";var n=i("7410"),a=i.n(n);a.a},7410:function(t,e,i){var n=i("d476");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("518ef66c",n,!0,{sourceMap:!1,shadowMode:!1})},"7a3e":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"bill-details"},[i("v-uni-view",{staticClass:"nav acea-row"},[i("v-uni-view",{staticClass:"item",class:0==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeType(0)}}},[t._v("全部")]),i("v-uni-view",{staticClass:"item",class:1==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeType(1)}}},[t._v("消费")]),i("v-uni-view",{staticClass:"item",class:2==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeType(2)}}},[t._v("充值")])],1),i("v-uni-view",{staticClass:"sign-record"},[t._l(t.userBillList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"data"},[t._v(t._s(e.time))]),i("v-uni-view",{staticClass:"listn"},t._l(e.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"itemn acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.title))]),i("v-uni-view",[t._v(t._s(e.add_time))])],1),e.pm?i("v-uni-view",{staticClass:"num"},[t._v("+"+t._s(e.number))]):i("v-uni-view",{staticClass:"num font-color"},[t._v("-"+t._s(e.number))])],1)})),1)],1)],1)})),t.userBillList.length>0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e(),0==t.userBillList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无账单的记录哦~"}})],1):t._e()],2)],1),i("home")],1)},o=[]},"86b5":function(t,e,i){"use strict";var n=i("f0c6"),a=i.n(n);a.a},"979d":function(t,e,i){"use strict";i.r(e);var n=i("b3d3"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"99d5":function(t,e,i){"use strict";i.r(e);var n=i("4227"),a=i("e4d5");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("86b5");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ca895b4a",null,!1,n["a"],r);e["default"]=c.exports},b3d3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},c8fe:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-ca895b4a]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-ca895b4a]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:-webkit-box;display:-webkit-flex;display:flex}.home .homeCon[data-v-ca895b4a]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-ca895b4a]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:#e93323!important}.home .homeCon .iconfont[data-v-ca895b4a]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-ca895b4a]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:#e93323}.home .pictrue .image[data-v-ca895b4a]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},d476:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.bill-details .nav[data-v-2ed06db2]{background-color:#fff;height:%?90?%;width:100%;line-height:%?90?%}.bill-details .nav .item[data-v-2ed06db2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;font-size:%?30?%;color:#282828}.bill-details .nav .item.on[data-v-2ed06db2]{color:#e93323;border-bottom:%?3?% solid #e93323}',""]),t.exports=e},dd81:function(t,e,i){"use strict";i.r(e);var n=i("37f3"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},e4d5:function(t,e,i){"use strict";i.r(e);var n=i("479b"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},f0c6:function(t,e,i){var n=i("c8fe");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("681a55ca",n,!0,{sourceMap:!1,shadowMode:!1})}}]); |