1 line
4.4 KiB
JavaScript
1 line
4.4 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-integral_details-integral_details"],{"1d94":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.integral-lists[data-v-50cfe298]{padding-top:%?20?%}.integral-lists .item[data-v-50cfe298]{padding:%?18?% %?30?%;position:relative}.integral-lists .item[data-v-50cfe298]:not(:last-of-type){border-bottom:1px solid #e5e5e5}',""]),t.exports=e},"51b7":function(t,e,n){"use strict";n.r(e);var i=n("74e1"),l=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=l.a},"74e1":function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=i(n("2909")),s=n("e9dc"),o=i(n("9df2")),r={mixins:[o.default],data:function(){return{integralList:[]}},methods:{upCallback:function(t){var e=this,n=t.num,i=t.size;(0,s.getAccountLog)({page_no:n,page_size:i,source:2}).then((function(t){var i=t.data,s=t.code;if(1!=s)return e.mescroll.endErr();1===n&&(e.integralList=[]),e.integralList=[].concat((0,l.default)(e.integralList),(0,l.default)(i.list)),e.mescroll.endSuccess(i.list.length,!!i.more)})).catch((function(t){e.mescroll.endErr()}))}}};e.default=r},"9df2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},l=i;e.default=l},adf1:function(t,e,n){"use strict";var i=n("f70c"),l=n.n(i);l.a},b95a:function(t,e,n){"use strict";n.r(e);var i=n("d76c"),l=n("51b7");for(var s in l)"default"!==s&&function(t){n.d(e,t,(function(){return l[t]}))}(s);n("adf1");var o,r=n("f0c5"),c=Object(r["a"])(l["default"],i["b"],i["c"],!1,null,"50cfe298",null,!1,i["a"],o);e["default"]=c.exports},d76c:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"integral-details"},[n("mescroll-body",{ref:"mescrollRef",attrs:{up:{noMoreSize:10,empty:{icon:"/static/images/order_null.png",tip:"暂无积分明细~",fixed:!1}}},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"integral-lists"},t._l(t.integralList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item flex row-between bg-white"},[n("v-uni-view",{},[n("v-uni-view",{staticClass:"nr"},[t._v(t._s(e.source_type))]),n("v-uni-view",{staticClass:"xs muted m-t-10"},[t._v(t._s(e.create_time))])],1),n("v-uni-view",{class:"lg "+(1==e.change_type?"primary":"")},[t._v(t._s(e.change_amount_format))])],1)})),1)],1)],1)},s=[]},f70c:function(t,e,n){var i=n("1d94");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var l=n("4f06").default;l("578f8d27",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |