1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/mytimes"],{"090f":function(e,t,n){"use strict";var r=n("e986"),o=n.n(r);o.a},"6a88":function(e,t,n){"use strict";n.r(t);var r=n("7af6"),o=n("85e4");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("090f");var i,c=n("f0c5"),u=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],i);t["default"]=u.exports},"7af6":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var r={uniLoadMore:function(){return n.e("components/uni-load-more/uni-load-more").then(n.bind(null,"02aa"))}},o=function(){var e=this,t=e.$createElement;e._self._c},a=[]},"85e4":function(e,t,n){"use strict";n.r(t);var r=n("a7dc"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},a7dc:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("a34a")),o=n("1fa6"),a=n("26cb");function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,o,a,i){try{var c=e[a](i),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){c(a,r,o,i,u,"next",e)}function u(e){c(a,r,o,i,u,"throw",e)}i(void 0)}))}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){n.e("components/uni-load-more/uni-load-more").then(function(){return resolve(n("02aa"))}.bind(null,n)).catch(n.oe)},p=function(){n.e("components/empty").then(function(){return resolve(n("ffe3"))}.bind(null,n)).catch(n.oe)},b={filters:{getMoneyStyle:o.getMoneyStyle},computed:f({},(0,a.mapState)(["userInfo"])),components:{empty:p,uniLoadMore:d},onReady:function(t){var n=this;e.getSystemInfo({success:function(t){var r=e.createSelectorQuery();r.select(".swiper-box").boundingClientRect(),r.exec((function(e){n.maxheight=t.windowHeight-e[0].top+"px",console.log("打印页面的剩余高度",n.height)}))},fail:function(e){}})},data:function(){return{maxheight:"",tabCurrentIndex:0,sr:0,zc:0,navList:[{state:1,text:"已获得",loadingType:"more",orderList:[],page:1,limit:10,loaded:!1},{state:0,text:"已使用",loadingType:"more",orderList:[],page:1,limit:10,loaded:!1}],money:""}},onLoad:function(e){},onShow:function(){console.log(this.userInfo,"12345678")},methods:{navto:function(t){e.navigateTo({url:t})},toBack:function(){e.navigateBack({})},loadData:function(e){var t=this;return u(r.default.mark((function n(){var o,a,i;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(console.log("进入"),o=t,a=t.tabCurrentIndex,i=t.navList[a],i.state,"tabChange"!==e||!0!==i.loaded){n.next=7;break}return n.abrupt("return");case 7:if("loading"!=i.loadingType&&"noMore"!=i.loadingType){n.next=9;break}return n.abrupt("return");case 9:i.loadingType="loading",getDynamicIntegralList({page:i.page,limit:i.limit,status:i.state}).then((function(e){var t=e.data;o.sr=t.sr,o.zc=t.zc,i.orderList=i.orderList.concat(t.list),i.page++,i.limit==t.list.length?i.loadingType="more":i.loadingType="noMore",i.loaded=!0})).catch((function(e){console.log(e)}));case 11:case"end":return n.stop()}}),n)})))()},changeTab:function(e){this.tabCurrentIndex=e.target.current,this.loadData("tabChange")},tabClick:function(e){this.tabCurrentIndex=e}}};t.default=b}).call(this,n("543d")["default"])},bdc3:function(e,t,n){"use strict";(function(e){n("7154");r(n("66fd"));var t=r(n("6a88"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},e986:function(e,t,n){}},[["bdc3","common/runtime","common/vendor"]]]);
|