1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-ucenter-point"],{"24f2":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("99af");var a=n(e("d220")),o=n(e("2445")),r={mixins:[a.default],components:{navbar:o.default},data:function(){return{screenHeight:0,point:0,result:[]}},onLoad:function(){var t=this.$storage.getJson("users");console.log(t),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(e){i.mescroll.endByPage(e.data.list.length,e.data.total),1==e.status?(1==t.num&&(i.result=[]),i.point=e.data.point,console.log(e.data),i.result=i.result.concat(e.data.list)):-1==e.status&&i.mescroll.endErr()})).catch((function(t){i.mescroll.endErr()}))}}};i.default=r},3579:function(t,i,e){t.exports=e.p+"static/img/point-bg.0457f597.png"},"48cd":function(t,i,e){"use strict";e.r(i);var n=e("eec3"),a=e("7950");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("9b08");var r=e("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"4567c2e0",null,!1,n["a"],void 0);i["default"]=s.exports},7950:function(t,i,e){"use strict";e.r(i);var n=e("24f2"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},"92a3":function(t,i,e){var n=e("c5eb");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("73f3a004",n,!0,{sourceMap:!1,shadowMode:!1})},"9b08":function(t,i,e){"use strict";var n=e("92a3"),a=e.n(n);a.a},c5eb:function(t,i,e){var n=e("24fb"),a=e("1de5"),o=e("3579");i=n(!1);var r=a(o);i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.online-box[data-v-4567c2e0]{width:90%;margin:0 5%;margin-top:20px}.top[data-v-4567c2e0]{width:100%;height:%?270?%;background-color:#fff;padding-top:%?20?%;border-top:1px solid #ebedf0}.top .top-box[data-v-4567c2e0]{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-4567c2e0]{display:block}.top .top-box uni-text[data-v-4567c2e0]:first-child{padding-top:%?60?%;font-size:%?28?%}.top .top-box uni-text[data-v-4567c2e0]:last-child{padding-top:%?40?%;font-size:%?50?%}.list-wrap[data-v-4567c2e0]{margin-top:%?20?%}.list-wrap .point-list[data-v-4567c2e0]{display:flex;flex-wrap:wrap;flex-direction:column;font-size:%?28?%}.list-wrap .point-list .point-item[data-v-4567c2e0]{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-4567c2e0]{height:%?80?%;line-height:%?80?%;border-bottom:%?2?% solid #eee}.list-wrap .point-list .point-item .t uni-text[data-v-4567c2e0]:first-child{float:left;padding-left:%?20?%}.list-wrap .point-list .point-item .t uni-text[data-v-4567c2e0]:last-child{float:right;padding-right:%?20?%}.list-wrap .point-list .point-item .m[data-v-4567c2e0]{padding:%?10?% %?20?%;display:block;height:auto!important;height:%?100?%;min-height:%?100?%}.list-wrap .point-list .point-item .b[data-v-4567c2e0]{height:%?60?%;line-height:%?60?%;border-top:%?2?% solid #eee}.list-wrap .point-list .point-item .b uni-text[data-v-4567c2e0]{float:right;margin-right:%?20?%}",""]),t.exports=i},eec3:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){return n}));var n={navbar:e("2445").default,mescrollBody:e("adc6").default},a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",[e("navbar",{attrs:{"title-color":"#ffffff",background:"#c30d24",iSimmersive:!1,placeholder:!0,title:"我的积分"},model:{value:t.screenHeight,callback:function(i){t.screenHeight=i},expression:"screenHeight"}}),e("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)}}},[e("v-uni-view",{staticClass:"top"},[e("v-uni-view",{staticClass:"top-box"},[e("v-uni-text",[t._v("可用积分")]),e("v-uni-text",[t._v(t._s(t.point))])],1)],1),e("v-uni-view",{staticClass:"list-wrap"},[e("v-uni-view",{staticClass:"point-list"},t._l(t.result,(function(i,n){return e("v-uni-view",{key:n,staticClass:"point-item clear"},[e("v-uni-view",{staticClass:"t"},[e("v-uni-text",[t._v(t._s(i.time))]),e("v-uni-text",[t._v("类型:"+t._s(i.operation))])],1),e("v-uni-view",{staticClass:"m"},[t._v(t._s(i.description))]),e("v-uni-view",{staticClass:"b"},[e("v-uni-text",[t._v(t._s(i.point))])],1)],1)})),1)],1)],1)],1)},o=[]}}]);
|