pages-ucenter-point.2edcf3bf.js 5.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-ucenter-point"],{4051:function(t,i,n){t.exports=n.p+"static/img/point-bg.9cfc0580.png"},4290:function(t,i,n){var a=n("85df");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var e=n("4f06").default;e("62e67958",a,!0,{sourceMap:!1,shadowMode:!1})},"49b2":function(t,i,n){"use strict";n.r(i);var a=n("6b30"),e=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(i,t,(function(){return a[t]}))}(o);i["default"]=e.a},"67d5":function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return o})),n.d(i,"a",(function(){return a}));var a={navbar:n("cbc9").default,mescrollBody:n("38a3").default},e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",[n("navbar",{attrs:{"title-color":"#ffffff",background:"#1b43c4",iSimmersive:!1,placeholder:!0,title:"我的积分"},model:{value:t.screenHeight,callback:function(i){t.screenHeight=i},expression:"screenHeight"}}),n("mescroll-body",{ref:"mescrollRef",attrs:{height:t.screenHeight+"px"},on:{init:function(i){arguments[0]=i=t.$handleEvent(i),t.mescrollInit.apply(void 0,arguments)},down:function(i){arguments[0]=i=t.$handleEvent(i),t.downCallback.apply(void 0,arguments)},up:function(i){arguments[0]=i=t.$handleEvent(i),t.upCallback.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"top-box"},[n("v-uni-text",[t._v("可用积分")]),n("v-uni-text",[t._v(t._s(t.point))])],1)],1),n("v-uni-view",{staticClass:"list-wrap"},[n("v-uni-view",{staticClass:"point-list"},t._l(t.result,(function(i,a){return n("v-uni-view",{key:a,staticClass:"point-item clear"},[n("v-uni-view",{staticClass:"t"},[n("v-uni-text",[t._v(t._s(i.time))]),n("v-uni-text",[t._v("类型:"+t._s(i.operation))])],1),n("v-uni-view",{staticClass:"m"},[t._v(t._s(i.description))]),n("v-uni-view",{staticClass:"b"},[n("v-uni-text",[t._v(t._s(i.point))])],1)],1)})),1)],1)],1)],1)},o=[]},"6b30":function(t,i,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=a(n("3186")),o=a(n("cbc9")),r={mixins:[e.default],components:{navbar:o.default},data:function(){return{screenHeight:0,point:0,result:[]}},onShow:function(){var t=this.$storage.getJson("users");this.point=t.point},methods:{downCallback:function(){var t=this;setTimeout((function(){t.mescroll.resetUpScroll()}),1200)},triggerDownScroll:function(){this.mescroll.triggerDownScroll()},upCallback:function(t){var i=this;this.$http.getUcenterPointList({page:t.num}).then((function(n){i.mescroll.endByPage(n.data.list.length,n.data.total),1==n.status?(1==t.num&&(i.result=[]),i.point=n.data.point,i.result=i.result.concat(n.data.list)):-1==n.status&&i.mescroll.endErr()})).catch((function(t){i.mescroll.endErr()}))}}};i.default=r},"85df":function(t,i,n){var a=n("24fb"),e=n("1de5"),o=n("4051");i=a(!1);var r=e(o);i.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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.online-box[data-v-16910caa]{width:90%;margin:0 5%;margin-top:20px}.top[data-v-16910caa]{width:100%;height:%?270?%;background-color:#fff;padding-top:%?20?%;border-top:1px solid #ebedf0}.top .top-box[data-v-16910caa]{background-image:url('+r+");background-size:100%;background-repeat:no-repeat;width:90%;height:%?250?%;margin:0 auto;border-radius:%?20?%;text-align:center;color:#fff}.top .top-box uni-text[data-v-16910caa]{display:block}.top .top-box uni-text[data-v-16910caa]:first-child{padding-top:%?60?%;font-size:%?28?%}.top .top-box uni-text[data-v-16910caa]:last-child{padding-top:%?40?%;font-size:%?50?%}.list-wrap[data-v-16910caa]{margin-top:%?20?%}.list-wrap .point-list[data-v-16910caa]{display:flex;flex-wrap:wrap;flex-direction:column;font-size:%?28?%}.list-wrap .point-list .point-item[data-v-16910caa]{width:95%;margin:0 auto;margin-bottom:%?20?%;border-radius:%?12?%;height:auto!important;height:%?260?%;min-height:%?260?%;background-color:#fff;border-bottom:%?2?% solid #eee}.list-wrap .point-list .point-item .t[data-v-16910caa]{height:%?80?%;line-height:%?80?%;border-bottom:%?2?% solid #eee}.list-wrap .point-list .point-item .t uni-text[data-v-16910caa]:first-child{float:left;padding-left:%?20?%}.list-wrap .point-list .point-item .t uni-text[data-v-16910caa]:last-child{float:right;padding-right:%?20?%}.list-wrap .point-list .point-item .m[data-v-16910caa]{padding:%?10?% %?20?%;display:block;height:auto!important;height:%?100?%;min-height:%?100?%}.list-wrap .point-list .point-item .b[data-v-16910caa]{height:%?60?%;line-height:%?60?%;border-top:%?2?% solid #eee}.list-wrap .point-list .point-item .b uni-text[data-v-16910caa]{float:right;margin-right:%?20?%}",""]),t.exports=i},"9ec8":function(t,i,n){"use strict";n.r(i);var a=n("67d5"),e=n("49b2");for(var o in e)"default"!==o&&function(t){n.d(i,t,(function(){return e[t]}))}(o);n("df01");var r,s=n("f0c5"),l=Object(s["a"])(e["default"],a["b"],a["c"],!1,null,"16910caa",null,!1,a["a"],r);i["default"]=l.exports},df01:function(t,i,n){"use strict";var a=n("4290"),e=n.n(a);e.a}}]);