| 12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/scoreAccumulate"],{347:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var r=n(t(348));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["createPage"])},348:function(e,n,t){"use strict";t.r(n);var r=t(349),o=t(351);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(353);var c,a=t(39),u=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);u.options.__file="user/page/scoreAccumulate.vue",n["default"]=u.exports},349:function(e,n,t){"use strict";t.r(n);var r=t(350);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},350:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return r}));try{r={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,322))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},i=!1,c=[];o._withStripped=!0},351:function(e,n,t){"use strict";t.r(n);var r=t(352),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},352:function(e,n,t){"use strict";(function(e){var r=t(3);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(10)),i=t(27),c=t(50);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,o.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var s=function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t(322))}.bind(null,t)).catch(t.oe)},l=function(){t.e("components/empty").then(function(){return resolve(t(631))}.bind(null,t)).catch(t.oe)},d={components:{empty:l,uniLoadMore:s},computed:u({},(0,i.mapState)("user",["userInfo","orderInfo","hasLogin"])),onReady:function(n){var t=this;e.getSystemInfo({success:function(n){var r=e.createSelectorQuery();r.select(".swiper-box").boundingClientRect(),r.exec((function(e){t.height=n.windowHeight-e[0].top+"px",console.log("打印页面的剩余高度",t.height)}))},fail:function(e){}})},data:function(){return{height:"",maxheight:0,tabCurrentIndex:0,navList:[{state:1,text:"收入",loadingType:"more",orderList:[],page:1,limit:10},{state:0,text:"支出",loadingType:"more",orderList:[],page:1,limit:10}],score:0}},onShow:function(){this.loadData()},methods:{navto:function(n){e.navigateTo({url:n})},loadData:async function(n){var t=this,r=this.tabCurrentIndex,o=this.navList[r],i=o.state;"tabChange"===n&&!0===o.loaded||"loading"!==o.loadingType&&(o.loadingType="loading",(0,c.integrallist)({page:o.page,limit:o.limit},i).then((function(n){var r=n.data;if(console.log(r),r.length>0){var c=[];r.forEach((function(e){e.pm===i&&c.push(e)})),o.orderList=o.orderList.concat(c),o.page++}o.limit!=r.length?(o.loadingType="noMore",e.hideLoading(),t.$set(o,"loaded",!0)):o.loadingType="more"})).catch((function(e){console.log(e)})))},changeTab:function(e){this.tabCurrentIndex=e.target.current,this.loadData("tabChange")},tabClick:function(e){this.tabCurrentIndex=e}}};n.default=d}).call(this,t(1)["default"])},353:function(e,n,t){"use strict";t.r(n);var r=t(354),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},354:function(e,n,t){}},[[347,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/user/page/scoreAccumulate.js.map
|