公司小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
4.8 KiB

3 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/Verified/Verified"],{228:function(e,n,t){"use strict";(function(e){t(3);r(t(2));var n=r(t(229));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(0)["createPage"])},229:function(e,n,t){"use strict";t.r(n);var r=t(60),u=t(28);for(var o in u)"default"!==o&&function(e){t.d(n,e,(function(){return u[e]}))}(o);t(230);var a,i=t(1),l=Object(i["a"])(u["default"],r["b"],r["c"],!1,null,"27a41b86",null,!1,r["a"],a);l.options.__file="pages/Verified/Verified.vue",n["default"]=l.exports},230:function(e,n,t){"use strict";var r=t(30),u=t.n(r);u.a},28:function(e,n,t){"use strict";t.r(n);var r=t(29),u=t.n(r);for(var o in r)"default"!==o&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=u.a},29:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(5)),u=t(4);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,n,t,r,u,o,a){try{var i=e[o](a),l=i.value}catch(c){return void t(c)}i.done?n(l):Promise.resolve(l).then(r,u)}function i(e){return function(){var n=this,t=arguments;return new Promise((function(r,u){var o=e.apply(n,t);function i(e){a(o,r,u,i,l,"next",e)}function l(e){a(o,r,u,i,l,"throw",e)}i(void 0)}))}}getApp().globalData.Define;var l=getApp().globalData.Player,c={onLoad:function(){this.$refs.form1.setRules(this.rules)},data:function(){var e=this;return{content:"<p>实名认证获取的信息均只会用于进行实名认证.</p><p>\t您所输入的银行卡账号信息必须在实名认证的人名下.</p><p>\t实名认证信息不会保存到本地,如果您需要修改,请重新填写.</p>",player:l,rules:{username:{type:"string",title:"姓名",message:"请输入您的真实姓名",value:l.username,validator:function(n){e.player.username=n.detail.value}},identitycardnum:{type:"string",title:"身份证号",message:"请输入您的身份证号",value:l.identitycardnum,validator:function(n){e.player.identitycardnum=n.detail.value}},bankcard:{type:"string",title:"银行卡号",message:"请输入您的银行卡号",value:l.bankcard,validator:function(n){e.player.bankcard=n.detail.value}},deposit:{type:"string",title:"开户行",message:"请输入您的开户行",value:l.deposit,validator:function(n){e.player.deposit=n.detail.value}}}}},methods:{onTouchOneItem:function(e){},onBlurCallback:function(e,n){var t=this.rules[e];null!=t&&t.validator(n)},onTouchBackButton:function(){e.navigateBack({})},onTouchConfirmButton:function(){var n=this;return i(r.default.mark((function t(){var o,a,i,l,c,s,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=n.player.username,a=n.player.identitycardnum,i=n.player.deposit,l=n.player.bankcard,c={username:o,identitycardnum:a,deposit:i,bankcard:l},e.showLoading(),t.next=8,(0,u.post)("users/authrealname",c);case 8:if(s=t.sent,console.log("实名认证返回:",s),e.hideLoading(),!(s.length<=1)){t.next=13;break}return t.abrupt("return");case 13:d=s[1],f=d.data.code,0==f&&(n.player.needrealname=0,e.navigateBack());case 16:case"end":return t.stop()}}),t)})))()}}};n.default=c}).call(this,t(0)["default"])},30:function(e,n,t){},60:function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return r}));try{r={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,505))},uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,506))},uGap:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(t.bind(null,509))},uForm:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form/u-form")]).then(t.bind(null,507))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,508))}
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Verified/Verified.js.map