recode.js 3.5 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/recode"],{379:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var o=n(t(380));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["createPage"])},380:function(e,n,t){"use strict";t.r(n);var o=t(381),r=t(383);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t(385);var a,c=t(39),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"0724036a",null,!1,o["components"],a);u.options.__file="user/page/recode.vue",n["default"]=u.exports},381:function(e,n,t){"use strict";t.r(n);var o=t(382);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},382:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));try{o={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,322))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement,t=(e._self._c,e.__map(e.list,(function(n,t){var o=e.__get_orig(n),r=e._f("time")(n.pay_time);return{$orig:o,f0:r}})));e.$mp.data=Object.assign({},{$root:{l0:t}})},i=!1,a=[];r._withStripped=!0},383:function(e,n,t){"use strict";t.r(n);var o=t(384),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},384:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(305),r=function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t(322))}.bind(null,t)).catch(t.oe)},i=function(){t.e("components/empty").then(function(){return resolve(t(631))}.bind(null,t)).catch(t.oe)},a={data:function(){return{list:[],loadingType:"more",page:1,limit:10,loaded:!1}},filters:{time:function(e){if(e){var n=new Date(1e3*parseInt(e)),t=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),i=n.getHours(),a=n.getMinutes(),c=n.getSeconds();return t+"-"+o+"-"+r+" "+i+":"+a+":"+c}}},components:{uniLoadMore:r,empty:i},onReachBottom:function(){this.loadData()},onLoad:function(){this.loadData()},methods:{loadData:function(){var n=this,t=this;"loading"!=t.loadingType&&"noMore"!=t.loadingType&&(t.loadingType="loading",(0,o.getRechargeList)({page:t.page,limit:t.limit}).then((function(e){var o=e.data;console.log(o);var r=o.list.map((function(e){return e}));t.list=t.list.concat(r),o.list.length==t.limit?(t.page++,t.loadingType="more"):t.loadingType="noMore",n.loaded=!0})).catch((function(n){1==t.page&&e.hideLoading()})))}}};n.default=a}).call(this,t(1)["default"])},385:function(e,n,t){"use strict";t.r(n);var o=t(386),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},386:function(e,n,t){}},[[379,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/user/page/recode.js.map