| 123 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-client-vipcard-integraldh"],{1342:function(t,e,n){"use strict";var r=n("4b32"),i=n.n(r);i.a},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var u=t[o](a),c=u.value}catch(s){return void n(s)}u.done?e(c):Promise.resolve(c).then(r,i)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function u(t){r(a,i,o,u,c,"next",t)}function c(t){r(a,i,o,u,c,"throw",t)}u(void 0)}))}},n("d3b7")},"4b32":function(t,e,n){var r=n("7e4a");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("4f06").default;i("4891f3a4",r,!0,{sourceMap:!1,shadowMode:!1})},"4bd0":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"integral-log-header"},[n("v-uni-image",{staticClass:"bg",attrs:{src:t.statics.integralLogHeader}}),n("v-uni-view",{staticClass:"main pd24_20"},[n("v-uni-view",{staticClass:"flex alcenter space"},[n("v-uni-view",[n("v-uni-view",{staticClass:"flex alcenter"},[n("v-uni-text",{staticClass:"ft14 cl-w"},[t._v("当前积分")]),n("v-uni-navigator",{attrs:{"open-type":"redirect",url:"/pages/client/integral/role"}},[n("v-uni-text",{staticClass:"ml5 iconfont iconbtn_question cl-w ft20"})],1)],1),n("v-uni-view",{staticClass:"mt16 flex alcenter"},[n("v-uni-image",{staticStyle:{width:"40rpx",height:"40rpx"},attrs:{src:t.statics.integralImg01}}),n("v-uni-text",{staticClass:"ml10 ft20 cl-w ftw600"},[t._v(t._s(t.userinfo.score))])],1)],1),n("v-uni-view",{staticClass:"btn-integral"},[n("v-uni-view",{staticClass:"ft14 mb10"},[t._v("兑换说明:")]),t._v(t._s(t.userinfo.config.jfdhsm))],1)],1)],1)],1),n("v-uni-view",{staticClass:"integral-log-main pd16_15"},[n("v-uni-view",{staticClass:"ft18"},[t._v("兑换数量:")]),n("v-uni-input",{staticClass:"ft14 mt16",staticStyle:{border:"1px solid #ddd",height:"80upx","line-height":"80upx","border-radius":"16upx",padding:"10upx"},attrs:{type:"digit",placeholder:"请输入兑换数量"},model:{value:t.sum,callback:function(e){t.sum=e},expression:"sum"}}),n("v-uni-button",{staticClass:"btn-vip-money ft18 mt20",staticStyle:{width:"80%",background:"rgb(0, 198, 87)",color:"#ffffff","text-align":"center",height:"100upx","line-height":"100upx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.duihuan()}}},[t._v("提交兑换")])],1)],1)},i=[]},"7e4a":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".integral-log-header[data-v-740d2996]{position:relative;height:%?252?%}.integral-log-header .bg[data-v-740d2996]{width:100%;height:%?252?%}.integral-log-header .main[data-v-740d2996]{height:%?252?%;width:100%;position:absolute;left:0;top:0}.btn-integral[data-v-740d2996]{color:#fff;font-size:%?24?%}.integral-log-main[data-v-740d2996]{background:#fff;min-height:%?1400?%;position:relative;margin-top:%?-32?%;border-radius:%?32?% %?32?% %?0?% %?0?%}",""]),t.exports=e},"919c":function(t,e,n){"use strict";n.r(e);var r=n("4bd0"),i=n("9ed5");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("1342");var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"740d2996",null,!1,r["a"],void 0);e["default"]=u.exports},"9c3f":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("c7eb")),o=r(n("1da1")),a=r(n("ade3")),u={data:function(){var t;return t={sum:"",userinfo:[],listData:[],last_id:0,reload:!0,status:"more"},(0,a.default)(t,"userinfo",[]),(0,a.default)(t,"contentText",{contentdown:"上拉加载更多",contentrefresh:"加载中",contentnomore:"没有数据了"}),t},onReachBottom:function(){},onLoad:function(){this.ongrzlTap()},methods:{duihuan:function(){var t=this,e={};e.token=uni.getStorageSync("userinfo").token,e.uid=uni.getStorageSync("userinfo").id,this.sum?(e.sum=this.sum,uni.request({url:this.configs.webUrl+"/api/user/duihuan",data:e,success:function(e){1==e.data.code?(t.ongrzlTap(),uni.showToast({title:e.data.msg,icon:"none"})):uni.showToast({title:e.data.msg,icon:"none"})},fail:function(t,e){}})):uni.showToast({icon:"none",title:"请输入兑换数量"})},ongrzlTap:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n={},n.token=uni.getStorageSync("userinfo").token,n.uid=uni.getStorageSync("userinfo").id,uni.request({url:t.configs.webUrl+"/api/user/index",data:n,success:function(e){if(1==e.data.code){var n=e.data.data;t.userinfo=n}else uni.showToast({title:e.data.msg,icon:"none"})},fail:function(t,e){}});case 4:case"end":return e.stop()}}),e)})))()}}};e.default=u},"9ed5":function(t,e,n){"use strict";n.r(e);var r=n("9c3f"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},c7eb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- e.default=function(){return t};var t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(T){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),u=new j(r||[]);return o(a,"_invoke",{value:L(t,n,u)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=f;var h={};function v(){}function p(){}function g(){}var y={};l(y,u,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(S([])));w&&w!==n&&i.call(w,u)&&(y=w);var b=g.prototype=v.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var n;o(this,"_invoke",{value:function(o,a){function u(){return new e((function(n,u){(function n(o,a,u,c){var s=d(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==(0,r.default)(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)})(o,a,n,u)}))}return n=n?n.then(u,u):u()}})}function L(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=d(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function S(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=g,o(b,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:p,configurable:!0}),p.displayName=l(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(_.prototype),l(_.prototype,c,(function(){return this})),t.AsyncIterator=_,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new _(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,u,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=S,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t},n("7a82"),n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("d9e2"),n("d401"),n("14d9"),n("159b"),n("131a"),n("26e9"),n("fb6a");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("53ca"))}}]);
|