1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesMain/messageList"],{1680:function(t,e,n){},2721:function(t,e,n){},3296:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return r}));var r={uTabsSwiper:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-tabs-swiper/u-tabs-swiper")]).then(n.bind(null,"02c4"))},uCard:function(){return n.e("uview-ui/components/u-card/u-card").then(n.bind(null,"aeb5"))},uDivider:function(){return n.e("uview-ui/components/u-divider/u-divider").then(n.bind(null,"cf35"))},uTopTips:function(){return n.e("uview-ui/components/u-top-tips/u-top-tips").then(n.bind(null,"83e4"))}},i=function(){var t=this,e=t.$createElement;t._self._c},s=[]},"3d58":function(t,e,n){"use strict";(function(t){n("43f2");r(n("66fd"));var e=r(n("a642"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5e4f":function(t,e,n){"use strict";var r=n("1680"),i=n.n(r);i.a},a642:function(t,e,n){"use strict";n.r(e);var r=n("3296"),i=n("d459");for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("5e4f"),n("aca2");var a,u=n("f0c5"),o=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"dab06130",null,!1,r["a"],a);e["default"]=o.exports},aca2:function(t,e,n){"use strict";var r=n("2721"),i=n.n(r);i.a},d459:function(t,e,n){"use strict";n.r(e);var r=n("dbff"),i=n.n(r);for(var s in r)"default"!==s&&function(t){n.d(e,t,(function(){return r[t]}))}(s);e["default"]=i.a},dbff:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2f62");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=n("bf52"),o=n("8335"),c={computed:s({},(0,r.mapGetters)(["mainColor","handleCustomStyle","handleDefaultCustomStyle"])),data:function(){return{triggered:!1,tabList:[{name:"全部",isOver:!1,pageIndex:1,type:2,tableList:[]},{name:"办卡",isOver:!1,pageIndex:1,type:0,tableList:[]},{name:"续费",isOver:!1,pageIndex:1,type:1,tableList:[]}],current:0,swiperCurrent:0}},onLoad:function(){this.getTableList(0),this.getTableList(1),this.getTableList(2)},onReady:function(){},methods:{tabsChange:function(t){this.swiperCurrent=t},transition:function(t){var e=t.detail.dx;this.$refs.uTabs.setDx(e)},animationfinish:function(t){var e=t.detail.current;this.$refs.uTabs.setFinishCurrent(e),this.swiperCurrent=e,this.current=e},onRefresh:function(){this.triggered||(this.triggered=!0,this.tabList[this.current].isOver=!1,this.tabList[this.current].pageIndex=1,this.tabList[this.current].tableList=[],this.getTableList(this.current,"refresh"))},onRestore:function(){this.triggered="restore",this.triggered=!1},handleLoadMore:function(){this.tabList[this.current].isOver||(this.tabList[this.current].pageIndex++,this.getTableList(this.current))},getTableList:function(t,e){var n=this;u.request(o.getMessageList,{type:this.tabList[t].type,page:this.tabList[t].pageIndex,size:10},"POST").then((function(e){n.triggered=!1,n.tabList[t].tableList=n.tabList[t].tableList.concat(e.data.row),n.tabList[t].isOver=10!=e.data.row.length})).catch((function(t){n.triggered=!1,n.$refs.uTips.show({title:t.message,type:"warning"})}))}}};e.default=c}},[["3d58","common/runtime","common/vendor"]]]);
|