pages-client-member-tx.859033cd.js 13 KB

123
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-client-member-tx"],{"1ba1":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'uni-page-body[data-v-3a7c7ad5]{background:#f9f9f9}body.?%PAGE?%[data-v-3a7c7ad5]{background:#f9f9f9}.cztop[data-v-3a7c7ad5]{position:relative}.czxx[data-v-3a7c7ad5]{top:10px;font-size:%?32?%;margin-left:%?50?%;color:#3a3a3a;font-family:iconfont;line-height:%?80?%}.czyebox[data-v-3a7c7ad5]{padding:%?20?% %?50?%}.czyebox>uni-view[data-v-3a7c7ad5]:first-child{font-size:%?32?%;color:#3a3a3a;line-height:50px}.czye[data-v-3a7c7ad5]{width:100%;border-bottom:%?1?% solid #e5e5e5;font-size:%?36?%;font-weight:700;color:#3a3a3a;position:relative;padding-left:20px;height:40px;line-height:40px}.czye[data-v-3a7c7ad5]:after{position:absolute;top:-2px;left:0;content:"¥";color:#3a3a3a;font-size:18px}.czye1[data-v-3a7c7ad5]{width:100%;border-bottom:%?1?% solid #e5e5e5;font-size:%?32?%;color:#3a3a3a;position:relative;height:40px;line-height:40px}.onstep[data-v-3a7c7ad5]{margin-top:%?40?%;background:#007aff!important}.czmain[data-v-3a7c7ad5]{width:94%;margin:10px auto;overflow:hidden;background:#fff;border-radius:%?16?%;padding-bottom:20px;-webkit-box-shadow:0 0 20px rgba(0,0,0,.08);box-shadow:0 0 20px rgba(0,0,0,.08)}.icon-alipay[data-v-3a7c7ad5]{background:#fbfbfb;padding-bottom:%?20?%}.icon-alipay>uni-view[data-v-3a7c7ad5]:first-child{margin-top:10px;font-size:%?32?%;padding-left:%?0?%;color:#3a3a3a;font-family:iconfont;position:relative;line-height:30px}.icon-alipay[data-v-3a7c7ad5]:before{content:"\\e636";margin-top:%?25?%;margin-right:%?10?%;color:#007aff}.cztype>uni-view[data-v-3a7c7ad5]:first-child:after{position:absolute;content:"\\e66c";top:0;left:0;font-size:26px;color:#05c160}.rmbLogo[data-v-3a7c7ad5]{font-size:%?40?%}uni-button[data-v-3a7c7ad5]{background-color:#007aff;color:#fff}.uni-h1.uni-center[data-v-3a7c7ad5]{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}.ipaPayBtn[data-v-3a7c7ad5]{margin-top:%?30?%}',""]),t.exports=e},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,o)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function c(t){r(i,o,a,c,u,"next",t)}function u(t){r(i,o,a,c,u,"throw",t)}c(void 0)}))}},n("d3b7")},"3d49":function(t,e,n){var r=n("1ba1");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("0eb3cc41",r,!0,{sourceMap:!1,shadowMode:!1})},"5b98":function(t,e,n){"use strict";n.r(e);var r=n("eb3e"),o=n("e9b5");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("9d70");var i=n("f0c5"),c=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"3a7c7ad5",null,!1,r["a"],void 0);e["default"]=c.exports},"5e50":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("c7eb")),a=r(n("3835")),i=r(n("1da1")),c={data:function(){return{loading:!1,money:"",name:"",cord:"",type:"支付宝",dbled:!0,urerdata:[],configsa:[],providerList:[]}},onLoad:function(){},onShow:function(){this.ongrzlTap()},methods:{butsub:function(){var t=this;return(0,i.default)((0,o.default)().mark((function e(){var n,r,i,c,u,s;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,r={token:uni.getStorageSync("userinfo").token,money:t.money,name:t.name,cord:t.cord,type:t.type},e.next=4,t.$httpas.get("/api/user/tx",r);case 4:if(i=e.sent,c=(0,a.default)(i,2),u=c[0],s=c[1],t.$httpas.errorCheck(u,s)){e.next=10;break}return e.abrupt("return");case 10:uni.showModal({title:"提示",content:s.data.msg,showCancel:!1,success:function(t){1==s.data.code&&(n.money="",n.name="",n.cord=""),n.ongrzlTap()}});case 11:case"end":return e.stop()}}),e)})))()},ongrzlTap:function(){var t=this;return(0,i.default)((0,o.default)().mark((function e(){var n;return(0,o.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){1==e.data.code?(t.urerdata=e.data.data,e.data.data.config&&(t.configsa=e.data.data.config)):uni.showToast({title:e.data.msg,icon:"none"})},fail:function(t,e){}});case 4:case"end":return e.stop()}}),e)})))()},onNavigationBarButtonTap:function(t){t.index;uni.navigateTo({url:"/pages/client/member/txjl"})}}};e.default=c},"9d70":function(t,e,n){"use strict";var r=n("3d49"),o=n.n(r);o.a},c7eb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
  2. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  3. e.default=function(){return t};var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(P){f=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),c=new O(r||[]);return a(i,"_invoke",{value:L(t,n,c)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=l;var p={};function h(){}function v(){}function y(){}var g={};f(g,c,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(j([])));b&&b!==n&&o.call(b,c)&&(g=b);var w=y.prototype=h.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var n;a(this,"_invoke",{value:function(a,i){function c(){return new e((function(n,c){(function n(a,i,c,u){var s=d(t[a],t,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==(0,r.default)(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)})(a,i,n,c)}))}return n=n?n.then(c,c):c()}})}function L(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return S()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=z(i,n);if(c){if(c===p)continue;return c}}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 u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function z(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,z(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function k(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(t){if(t){var e=t[c];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(o.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:S}}function S(){return{value:void 0,done:!0}}return v.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:v,configurable:!0}),v.displayName=f(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,f(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},x(_.prototype),f(_.prototype,u,(function(){return this})),t.AsyncIterator=_,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new _(l(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(w),f(w,s,"Generator"),f(w,c,(function(){return this})),f(w,"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=j,O.prototype={constructor:O,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(E),!t)for(var e in this)"t"===e.charAt(0)&&o.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 i.type="throw",i.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 a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.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&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},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),p},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),E(n),p}},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 o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},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"))},e9b5:function(t,e,n){"use strict";n.r(e);var r=n("5e50"),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=o.a},eb3e:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),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:"czmain"},[n("v-uni-view",{staticClass:"cztop"},[n("v-uni-view",{staticClass:"czxx"},[t._v("提现方式:"+t._s(t.type))]),n("v-uni-view",{staticClass:"czyebox"},[n("v-uni-view",{staticStyle:{"font-size":"36upx","text-align":"center"}},[t._v("当前余额 ¥"+t._s(t.urerdata.money))]),n("v-uni-view",[t._v("提现金额")]),n("v-uni-input",{staticClass:"czye",attrs:{type:"digit",focus:!0,placeholder:"请输入提现金额"},model:{value:t.money,callback:function(e){t.money=e},expression:"money"}}),n("v-uni-view",[t._v("提现姓名")]),n("v-uni-input",{staticClass:"czye1",attrs:{type:"text",placeholder:"请输入提现姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",[t._v("提现账号")]),n("v-uni-input",{staticClass:"czye1",attrs:{type:"text",placeholder:"请输入提现账号"},model:{value:t.cord,callback:function(e){t.cord=e},expression:"cord"}}),n("v-uni-view",{staticStyle:{"margin-top":"10upx","font-size":"28upx",color:"#ff0000"}},[t._v("备注:"+t._s(t.configsa.txbz))]),n("v-uni-view",{staticClass:"uni-btn-v uni-common-mt"},[n("v-uni-button",{staticClass:"onstep",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.butsub()}}},[t._v("提交")])],1)],1)],1)],1)],1)},o=[]}}]);