1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_integral-index"],{"0d43":function(module,exports,__webpack_require__){"use strict";__webpack_require__("6a54");var _interopRequireDefault=__webpack_require__("f5bd").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("3471"));__webpack_require__("5ef2"),__webpack_require__("4626"),__webpack_require__("5ac7"),__webpack_require__("5c47"),__webpack_require__("2c10"),__webpack_require__("a1c1"),__webpack_require__("e838"),__webpack_require__("c223"),__webpack_require__("aa9c");var rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("dc04"),_default={name:"parser",data:function(){return{uid:this._uid,scaleAm:"",showAm:"",imgs:[],nodes:[]}},props:{html:null,autopause:{type:Boolean,default:!0},autosetTitle:{type:Boolean,default:!0},domain:String,gestureZoom:Boolean,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},mounted:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e<i;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var i,a="",n=0;i=e[n];n++){if("/"==i&&"/"!=e[n-1]&&"/"!=e[n+1])break;a+=Math.random()>.5?i.toUpperCase():i}return a+=e.substr(n),this[t]=a}if(this[t]=e,e.includes("data:image")){var r=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!r)return}}},this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{_Dom2Str:function(t){var e,i="",a=(0,_createForOfIteratorHelper2.default)(t);try{for(a.s();!(e=a.n()).done;){var n=e.value;if("text"==n.type)i+=n.text;else{for(var r in i+="<"+n.name,n.attrs||{})i+=" "+r+'="'+n.attrs[r]+'"';n.children&&n.children.length?i+=">"+this._Dom2Str(n.children)+"</"+n.name+">":i+=">"}}}catch(s){a.e(s)}finally{a.f()}return i},_handleHtml:function(t,e){if("string"!=typeof t&&(t=this._Dom2Str(t.nodes||t)),t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*rpx+"px"}))),!e){var i="<style scoped>@keyframes show{0%{opacity:0}100%{opacity:1}}";for(var a in cfg.userAgentStyles)i+="".concat(a,"{").concat(cfg.userAgentStyles[a],"}");for(a in this.tagStyle)i+="".concat(a,"{").concat(this.tagStyle[a],"}");i+="</style>",t=i+t}return t},setContent:function(t,e){var i=this;if(t){var a=document.createElement("div");e?this.rtf?this.rtf.appendChild(a):this.rtf=a:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=a),a.innerHTML=this._handleHtml(t,e);for(var n,r=this.rtf.getElementsByTagName("style"),s=0;n=r[s++];)n.innerHTML=n.innerHTML.replace(/body/g,"#rtf"+this._uid),n.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,a=0;e=t[a++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var o=this,l=this.rtf.getElementsByTagName("title");l.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:l[0].innerText}),this.imgList.length=0;for(var c,u=this.rtf.getElementsByTagName("img"),d=0,f=0;c=u[d];d++){c.style.maxWidth="100%";var v=c.getAttribute("src");this.domain&&v&&("/"==v[0]?"/"==v[1]?c.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+v:c.src=this.domain+v:v.includes("://")||(c.src=this.domain+"/"+v)),c.hasAttribute("ignore")||"A"==c.parentElement.nodeName||(c.i=f++,o.imgList.push(c.src||c.getAttribute("data-src")),c.onclick=function(){var t=!0;this.ignore=function(){return t=!1},o.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:o.imgList})}),c.onerror=function(){o.$emit("error",{source:"img",target:this})},o.lazyLoad&&this._observer&&c.src&&0!=c.i&&(c.setAttribute("data-src",c.src),c.removeAttribute("src"),this._observer.observe(c))}var h,p=this.rtf.getElementsByTagName("a"),g=(0,_createForOfIteratorHelper2.default)(p);try{for(g.s();!(h=g.n()).done;){var m=h.value;m.onclick=function(){var t=!0,e=this.getAttribute("href");if(o.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])o.useAnchor&&o.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch(k){g.e(k)}finally{g.f()}var b=this.rtf.getElementsByTagName("video");o.videoContexts=b;for(var w,_=0;w=b[_++];)w.style.maxWidth="100%",w.style.width="100%",w.onerror=function(){o.$emit("error",{source:"video",target:this})},w.onplay=function(){if(o.autopause)for(var t,e=0;t=o.videoContexts[e++];)t!=this&&t.pause()};var x,y,A=this.rtf.getElementsByTagName("audios"),C=(0,_createForOfIteratorHelper2.default)(A);try{for(C.s();!(x=C.n()).done;){var T=x.value;T.onerror=function(){o.$emit("error",{source:"audio",target:this})}}}catch(k){C.e(k)}finally{C.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[i.rtf.getBoundingClientRect()];i.width=t[0].width,t[0].height==y&&(i.$emit("ready",t[0]),clearInterval(i._timer)),y=t[0].height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;return this.rtf.innerText},navigateTo:function(t){if(!this.useAnchor)return t.fail&&t.fail({errMsg:"Anchor is disabled"});if(!t.id)return window.scrollTo(0,this.rtf.offsetTop),t.success&&t.success({errMsg:"pageScrollTo:ok"});var e=document.getElementById(t.id);if(!e)return t.fail&&t.fail({errMsg:"Label not found"});t.scrollTop=this.rtf.offsetTop+e.offsetTop,uni.pageScrollTo(t)},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},preLoad:function preLoad(html,num){html.constructor==Array&&(html=this._Dom2Str(html));var script="var contain=document.createElement('div');contain.innerHTML='"+html.replace(/'/g,"\\'")+"';for(var imgs=contain.querySelectorAll('img'),i=imgs.length-1;i>="+num+";i--)imgs[i].removeAttribute('src');";eval(script)},_tap:function(t){if(this.gestureZoom&&t.timeStamp-this._lastT<300){var e=t.touches[0].pageY-t.currentTarget.offsetTop;if(this._zoom)this._scaleAm.translateX(0).scale(1).step(),uni.pageScrollTo({scrollTop:(e+this._initY)/2-t.touches[0].clientY,duration:400});else{var i=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(i,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=i/2,this._tMin=(i-this.width)/2,this._tX=0}this._zoom=!this._zoom,this.scaleAm=this._scaleAm.export()}this._lastT=t.timeStamp},_touchstart:function(t){1==t.touches.length&&(this._initX=this._lastX=t.touches[0].pageX)},_touchmove:function(t){var e=t.touches[0].pageX-this._lastX;if(this._zoom&&1==t.touches.length&&Math.abs(e)>20){if(this._lastX=t.touches[0].pageX,this._tX<=this._tMin&&e<0||this._tX>=this._tMax&&e>0)return;this._tX+=e*Math.abs(this._lastX-this._initX)*.05,this._tX<this._tMin&&(this._tX=this._tMin),this._tX>this._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},"187d":function(t,e,i){"use strict";i.r(e);var a=i("f468"),n=i("4bb9");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("543f");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0a4d5778",null,!1,a["a"],void 0);e["default"]=o.exports},3471:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,a.default)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){l=!0,s=t},f:function(){try{o||null==i["return"]||i["return"]()}finally{if(l)throw s}}}},i("01a2"),i("e39c"),i("bf0f"),i("844d"),i("18f7"),i("de6c"),i("7a76"),i("c9b5");var a=function(t){return t&&t.__esModule?t:{default:t}}(i("5d6b"))},4679:function(t,e,i){var a=i("c86c");e=a(!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/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-0a4d5778]{background-color:#fff}body.?%PAGE?%[data-v-0a4d5778]{background-color:#fff}.integral-details .header[data-v-0a4d5778]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAADdBAMAAAAWQurTAAAAFVBMVEX+/v5HcEz7+/v9/f3+/v7////////mhpnIAAAAB3RSTlMOAAgSFyI9KYj6FAAADqZJREFUeNrsnct2qzgWhreRM4+pFwBO91wVkbnXAtU4awXnDSrv/witGyCBMDfbSGptjI1PJSn88fvXRtoCuIQQaVqwyHN/9hj8Z14AAhmIbRR55P6CKABz4GzFGCv8SR65P1fqGWeNuMwFdIYeI3Egisj9eZEBKOCSvNA7B+8BeX+5p8pbkNA7tHqH9mC47Tbecs+w8hYY6F3C59tJ5P5wsSOBttc7HupdbOaR+6M9pmdt5jOa3l0G7yX3jEscK73DtN7Zl6GI3B+bx4Chd2TXO3bW5MFL7LilO53PSL2zpyRyfxB2ZOgd7uvdUfDecc+EtY/0jif17iZ48M9kupjPZ7B8OkXuu7HjPhbkM+IJHATvF/d3ALve7/k7f59H7vtOl/BI73P5jDwCkfuenUVorHdYonf8EbnvSGUAYELveEbvriU1HnF/R1a9z+cz4ig4ZvH+cE+R7Avbks/wn4LIfdueAgK0NZ/h60fkvsllJvS+LJ/hax65b3EZQDvyGbFG7ltcBsGefMaxnMYT7u+yaZzMZ0jNoyL39e6Q04A/cp/KZ8r61kdT4Wm94yRyXxV/qaqwcT6DdOgy6mm94zxyX9Uvgyf0PqYuRD+ld3eSeC+4Z0rbQ38v6W0iKrDqHeAUua+RO7blM/VtOhqr3rEzHZM+cM+QTe+I3u7G1ap3fIrcV5wydf6OurjNRWXVO0Tui91dFuUZep/HLsGP9O6Iw7vPPQVRG4YMfye32zLwI7074vDucxejHZ2/o8VqV2nNSO9unLSC+3LvutmF3pd5e9e4jvXuxpCf89zf+26YVu9zmYweeKx3JwTvPHetzL3V++dy7O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6dYudwYXrxvl31rkG6cL3z/fZ4veQefmOF3lP+lPu6cn9PU69W3q6mct+l3/i48hf/fEbtO7cbT1fuNn5phT2Dapk8XuVHST1a2X6D8EjPw1u95966e6paV9FEebLypfX33Ns21c+Ai9cdkrm+4VGD1LarMV6u9xiRuyXud2Wn2sbyatbIfcEO2m4hcVscV9skl8h9PmxzOcgq7BgP1qj3RXtouREfWoi9QmPqOLlE7gsis03oWga+EtPrhuRPkfuiTgCw3HgSo0XY+XzfAXXkxif2II/MbBMY4bwEu0Xv+BS5bxU8iMnm97Oa5iruCDpyGUc+sA/nTSPBC35A7oFvxF2fu5/u11Pkvlnwwi/Yc3k3kRHmjod6j+er2wUv9c4byXpC7FLr8vZUBvlT5L5d8ErH4ooitdVi5NVLBHRT77F/Zofgld7lTYFQqft8U2Gpcrve88h9x0lr69uog0/aexggpK6uI/U+8PePS+S+o5em1ztSlx1pb4yEQfmLdmEYjXweue8RfO/vos9AkEat1Kf1jk6XyH1102rNZ9TpqGhildTRpL+79Fm9GW/K7HrHrbPY9a7nMyiP3LfsqT2fWa735BK570viB/nMIn9Hbn1Sj8a1s3v5jF3vWj6D88h9r8VvyWdOl8h9b06zIZ/5uETuuy1+Qz7zv3bO4AZAGIaBJRuYCUr2HxIEDx4g0og8ksobRKfIvUp1Qe7/I97vMxu5B0S822cWkHvAxnt9Jh/2eu8jm99nBOQecm/1+YyA3GOkxuUzAnIPi5pxnxGQe9zhOuwzAnKPtxrTZzaQe/TN1fYZSYu9bs+m2z4jicev229Sw2dy/5xWuFe29i+f0eROBpQm/+4zqSOmPvczbZ4+k33XZ+B+LL32du97Ey0x9SS94avIWujHgh0Xpnp2ycqJawAAAABJRU5ErkJggg==");background-color:var(--view-theme);background-repeat:no-repeat;background-size:100% 100%;width:100%;height:%?460?%;font-size:%?72?%;color:#fff;padding:%?31?% 0 %?45?% 0;box-sizing:border-box;text-align:center}.integral-details .header .currentScore[data-v-0a4d5778]{font-size:%?26?%;color:hsla(0,0%,100%,.8);text-align:center;margin-bottom:%?11?%}.currentScore .wenhao[data-v-0a4d5778]{display:inline-block;width:%?32?%;height:%?32?%;line-height:%?32?%;text-align:center;border-radius:100%;background-color:hsla(0,0%,100%,.8);color:var(--view-theme);margin-left:%?4?%}.wenhao[data-v-0a4d5778]{margin-top:%?-10?%}.integral-details .header .line[data-v-0a4d5778]{width:%?60?%;height:%?3?%;background-color:#fff;margin:%?20?% auto 0 auto}.integral-details .header .nav[data-v-0a4d5778]{font-size:%?22?%;color:hsla(0,0%,100%,.8);flex:1;margin-top:%?35?%}.integral-details .header .nav .item[data-v-0a4d5778]{width:33.33%;text-align:center}.integral-details .header .nav .item .num[data-v-0a4d5778]{color:#fff;font-size:%?40?%;margin-bottom:%?5?%}.integral-details .wrapper .nav[data-v-0a4d5778]{flex:1;width:%?690?%;border-radius:%?20?% %?20?% 0 0;margin:%?-96?% auto 0 auto;background-color:#f7f7f7;height:%?96?%;font-size:%?30?%;color:#bbb}.integral-details .wrapper .nav .item[data-v-0a4d5778]{text-align:center;width:50%}.integral-details .wrapper .nav .item.on[data-v-0a4d5778]{background-color:#fff;color:var(--view-theme);font-weight:700;border-radius:%?20?% 0 0 0}.p-color[data-v-0a4d5778]{color:var(--view-priceColor)}.integral-details .wrapper .nav .item:nth-of-type(2).on[data-v-0a4d5778]{border-radius:0 %?20?% 0 0}.integral-details .wrapper .nav .item .iconfont[data-v-0a4d5778]{font-size:%?38?%;margin-right:%?10?%}.integral-details .wrapper .list[data-v-0a4d5778]{background-color:#fff;padding:%?24?% %?30?%}.integral-details .wrapper .list .tip[data-v-0a4d5778]{font-size:%?25?%;width:%?690?%;border-radius:%?50?%;background-color:#fff5e2;border:1px solid #ffeac1;color:#c8a86b;padding:%?10?% %?20?% %?10?% %?55?%;box-sizing:border-box;margin-bottom:%?24?%;position:relative}.integral-details .wrapper .list .tip .iconfont[data-v-0a4d5778]{font-size:%?35?%;margin-right:%?15?%;position:absolute;top:%?10?%;left:%?16?%}.integral-details .wrapper .list .item[data-v-0a4d5778]{height:%?124?%;border-bottom:1px solid #eee;font-size:%?24?%;color:#999}.integral-details .wrapper .list .item .state[data-v-0a4d5778]{font-size:%?28?%;color:#282828;margin-bottom:%?8?%}.integral-details .wrapper .list .item .num[data-v-0a4d5778]{font-size:%?36?%}.integral-details .wrapper .list2[data-v-0a4d5778]{background-color:#fff;padding:%?24?% 0}.integral-details .wrapper .list2 .item[data-v-0a4d5778]{background-image:linear-gradient(90deg,#fff7e7 0,#fffdf9);width:%?690?%;height:%?180?%;position:relative;border-radius:%?10?%;margin:0 auto %?20?% auto;padding:0 %?25?% 0 %?180?%;box-sizing:border-box}.integral-details .wrapper .list2 .item .pictrue[data-v-0a4d5778]{width:%?90?%;height:%?150?%;position:absolute;bottom:0;left:%?45?%}.integral-details .wrapper .list2 .item .pictrue uni-image[data-v-0a4d5778]{width:100%;height:100%}.integral-details .wrapper .list2 .item .name[data-v-0a4d5778]{width:%?285?%;font-size:%?30?%;font-weight:700;color:#c8a86b}.integral-details .wrapper .list2 .item .earn[data-v-0a4d5778]{font-size:%?26?%;color:#c8a86b;border:%?2?% solid #c8a86b;text-align:center;line-height:%?52?%;height:%?52?%;width:%?160?%;border-radius:%?50?%}.instructions[data-v-0a4d5778]{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:10}.instructions .setAgCount[data-v-0a4d5778]{background:#fff;width:%?656?%;height:458px;position:absolute;top:50%;left:50%;border-radius:%?12?%;-webkit-border-radius:%?12?%;padding:%?52?%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden}.instructions .setAgCount .content[data-v-0a4d5778]{height:%?900?%;overflow-y:scroll}.instructions .setAgCount .content[data-v-0a4d5778] p{font-size:13px;line-height:22px}.instructions .setAgCount .content[data-v-0a4d5778] img{max-width:100%}.instructions .setAgCount .icon[data-v-0a4d5778]{font-size:%?42?%;color:#b4b1b4;position:absolute;top:%?15?%;right:%?15?%}.instructions .setAgCount .title[data-v-0a4d5778]{color:#333;font-size:%?32?%;text-align:center;font-weight:700}.instructions .setAgCount .content[data-v-0a4d5778]{margin-top:%?32?%;color:#333;font-size:%?26?%;line-height:22px;text-align:justify;text-justify:distribute-all-lines;height:%?756?%;overflow-y:scroll}',""]),t.exports=e},"4bb9":function(t,e,i){"use strict";i.r(e);var a=i("50a0"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"50a0":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("672a"),r=i("8f59"),s=a(i("8329")),o=a(i("832c")),l=i("e44d"),c=i("aa10"),u=(getApp(),{components:{emptyPage:s.default,"jyf-parser":o.default},data:function(){return{domain:c.HTTP_REQUEST_URL,navList:[{name:"分值明细",icon:"icon-mingxi"},{name:"分值提升",icon:"icon-tishengfenzhi"}],current:0,page:1,limit:10,integralList:[],userInfo:{},loadend:!1,loading:!1,loadTitle:"加载更多",showProtocol:!1,protocol:"",tagStyle:{img:"width:100%;display:block;",video:"width:100%;"},integral_status:!0}},computed:(0,r.mapGetters)(["isLogin","viewColor"]),onLoad:function(){this.isLogin?this.getUserInfo():(0,l.toLogin)(),this.getAgreement()},onReachBottom:function(){this.getIntegralList()},methods:{getUserInfo:function(){var t=this,e=this;(0,n.getIntegralInfo)().then((function(t){e.$set(e,"userInfo",t.data),e.getIntegralList()})).catch((function(i){return t.integral_status=!1,e.$util.Tips({title:i},{tab:3,url:1})}))},getAgreement:function(){var t=this;(0,n.getAgreementApi)("sys_integral_rule").then((function(e){t.protocol=e.data.sys_integral_rule}))},getIntegralList:function(){var t=this;t.loading||t.loadend||(t.loading=!0,t.loadTitle="",(0,n.getIntegralList)({page:t.page,limit:t.limit}).then((function(e){var i=e.data.list,a=i.length<t.limit;t.integralList=t.$util.SplitArray(i,t.integralList),t.$set(t,"integralList",t.integralList),t.page=t.page+1,t.loading=!1,t.loadend=a,t.loadTitle=a?"哼~😕我也是有底线的~":"加载更多"}),(function(e){this.loading=!1,t.loadTitle="加载更多"})))},shareIntegral:function(){uni.setStorageSync("isIntegral",!0),uni.switchTab({url:"/pages/index/index"})},nav:function(t){this.current=t}}});e.default=u},"543f":function(t,e,i){"use strict";var a=i("fbdd"),n=i.n(a);n.a},"596c":function(t,e,i){"use strict";var a=i("a024"),n=i.n(a);n.a},"5dce":function(t,e,i){var a=i("c86c");e=a(!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/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-f1a26612]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-f1a26612]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-f1a26612]{font-size:%?26?%;color:#999}',""]),t.exports=e},"676c":function(t,e,i){"use strict";var a=i("9da7"),n=i.n(a);n.a},"71ad":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.nodes.length?t._e():t._t("default"),i("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"top",animation:t.scaleAm},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._touchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._touchmove.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t._tap.apply(void 0,arguments)}}},[i("div",{attrs:{id:"rtf"+t.uid}})])],2)},n=[]},"81ba":function(t,e,i){"use strict";i.r(e);var a=i("0d43"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},8329:function(t,e,i){"use strict";i.r(e);var a=i("d98d"),n=i("c4bf1");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("676c");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"f1a26612",null,!1,a["a"],void 0);e["default"]=o.exports},"832c":function(t,e,i){"use strict";i.r(e);var a=i("71ad"),n=i("81ba");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("596c");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"487f6906",null,!1,a["a"],void 0);e["default"]=o.exports},"9da7":function(t,e,i){var a=i("5dce");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("773f4a1f",a,!0,{sourceMap:!1,shadowMode:!1})},a024:function(t,e,i){var a=i("ea05");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("346c7618",a,!0,{sourceMap:!1,shadowMode:!1})},b7b2:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:"暂无记录"}}};e.default=a},c4bf1:function(t,e,i){"use strict";i.r(e);var a=i("b7b2"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},d98d:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},n=[]},dc04:function(t,e){function i(t){for(var e={},i=t.split(","),a=i.length;a--;)e[i[a]]=!0;return e}t.exports={filter:null,highlight:null,onText:null,blankChar:i(" , ,\t,\r,\n,\f"),blockTags:i("address,article,aside,body,caption,center,cite,footer,header,html,nav,section,pre"),ignoreTags:i("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr,embed,iframe"),richOnlyTags:i("a,colgroup,fieldset,legend,picture,table"),selfClosingTags:i("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:i("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:i("autoplay,controls,ignore,loop,muted"),trustTags:i("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},ea05:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,"@-webkit-keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},f468:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={jyfParser:i("832c").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"integral-details"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"currentScore"},[t._v("当前积分"),i("v-uni-text",{staticClass:"iconfont wenhao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!0}}},[t._v("?")])],1),i("v-uni-view",{staticClass:"scoreNum"},[t._v(t._s(t.userInfo.integral?t.userInfo.integral:0))]),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"nav acea-row"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.userInfo.totalGainIntegral||0))]),i("v-uni-view",[t._v("累计积分")])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.userInfo.deductionIntegral||0))]),i("v-uni-view",[t._v("累计消费")])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.userInfo.lockIntegral||0))]),i("v-uni-view",[t._v("冻结积分")])],1)],1)],1),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"nav acea-row"},t._l(t.navList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:t.current==a?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.nav(a)}}},[i("v-uni-text",{staticClass:"iconfont",class:e.icon}),t._v(t._s(e.name))],1)})),1),i("v-uni-view",{staticClass:"list",attrs:{hidden:0!=t.current}},[t.userInfo.clear&&t.userInfo.clear.status&&t.userInfo.clear.nextClearIntegral>0?i("v-uni-view",{staticClass:"tip"},[i("v-uni-text",{staticClass:"iconfont icon-shuoming"}),i("v-uni-text",{staticClass:"tip-text"},[t._v("提示:您有部分积分将于"+t._s(t.userInfo.clear.nextClearDay)+"过期,请尽快使用!")])],1):t._e(),t._l(t.integralList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"state"},[t._v(t._s(e.mark))]),i("v-uni-view",[t._v(t._s(e.create_time))])],1),e.pm?i("v-uni-view",{staticClass:"num p-color"},[t._v("+"+t._s(e.number))]):i("v-uni-view",{staticClass:"num"},[t._v("-"+t._s(e.number))])],1)})),t.integralList.length>0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e(),0==t.integralList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无积分记录哦~"}})],1):t._e()],2),t.integral_status?i("v-uni-view",{staticClass:"list2",attrs:{hidden:1!=t.current}},[i("v-uni-navigator",{staticClass:"item acea-row row-between-wrapper",attrs:{"open-type":"switchTab","hover-class":"none",url:"/pages/index/index"}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/score.png"}})],1),i("v-uni-view",{staticClass:"name"},[t._v("购买商品可获得积分奖励")]),i("v-uni-view",{staticClass:"earn"},[t._v("赚积分")])],1),i("v-uni-navigator",{staticClass:"item acea-row row-between-wrapper",attrs:{"hover-class":"none",url:"/pages/users/user_sgin/index"}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/score.png"}})],1),i("v-uni-view",{staticClass:"name"},[t._v("每日签到可获得积分奖励")]),i("v-uni-view",{staticClass:"earn"},[t._v("赚积分")])],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shareIntegral.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/score.png"}})],1),i("v-uni-view",{staticClass:"name"},[t._v("邀请好友可获得积分奖励")]),i("v-uni-view",{staticClass:"earn"},[t._v("赚积分")])],1)],1):t._e()],1)],1),t.showProtocol?i("v-uni-view",{staticClass:"instructions"},[i("v-uni-view",{staticClass:"setAgCount"},[i("i",{staticClass:"icon iconfont icon-cha",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!1}}}),i("div",{staticClass:"title"},[t._v("积分说明")]),i("v-uni-view",{staticClass:"content"},[i("jyf-parser",{ref:"article",attrs:{html:t.protocol,"tag-style":t.tagStyle}})],1)],1)],1):t._e()],1)},r=[]},fbdd:function(t,e,i){var a=i("4679");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("62847814",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |