(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-bank-add"],{"0395":function(a,e,n){"use strict";var t;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return t}));var i=function(){var a=this,e=a.$createElement,n=a._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"edgeInsetTop"}),n("v-uni-view",{staticClass:"cu-form-group"},[n("v-uni-view",{staticClass:"title"},[a._v("选择银行")]),n("v-uni-picker",{attrs:{value:a.index,range:a.bankList,"range-key":"bankName"},on:{change:function(e){arguments[0]=e=a.$handleEvent(e),a.bankChange.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"picker"},[a.index>-1?n("v-uni-view",{staticClass:"flex justify-end align-center"},[n("v-uni-image",{attrs:{src:"/static/images/bank/"+a.bankList[a.index].bankCode+".png"}}),n("v-uni-view",{staticClass:"margin-left-xs"},[a._v(a._s(a.bankList[a.index].bankName))])],1):n("v-uni-view",[a._v("请选择")])],1)],1)],1),n("v-uni-view",{staticClass:"cu-form-group"},[n("v-uni-view",{staticClass:"title"},[a._v("银行账号")]),n("v-uni-input",{attrs:{type:"text",placeholder:"填写银行卡 / 支付宝微信账号"},model:{value:a.bankData.cardCode,callback:function(e){a.$set(a.bankData,"cardCode",e)},expression:"bankData.cardCode"}})],1),n("v-uni-view",{staticClass:"cu-form-group"},[n("v-uni-view",{staticClass:"title"},[a._v("持卡姓名")]),n("v-uni-input",{attrs:{type:"text",maxlength:"4",placeholder:"持账户人姓名"},model:{value:a.bankData.username,callback:function(e){a.$set(a.bankData,"username",e)},expression:"bankData.username"}})],1),n("v-uni-view",{staticClass:"cu-form-group"},[n("v-uni-view",{staticClass:"title"},[a._v("手机号码")]),n("v-uni-input",{attrs:{type:"number",maxlength:"11",placeholder:"持账户人手机号"},model:{value:a.bankData.mobile,callback:function(e){a.$set(a.bankData,"mobile",e)},expression:"bankData.mobile"}})],1),n("v-uni-view",{staticClass:"padding-bj flex flex-direction margin-top"},[n("v-uni-button",{staticClass:"cu-btn wanl-bg-orange lg",on:{click:function(e){arguments[0]=e=a.$handleEvent(e),a.confirm.apply(void 0,arguments)}}},[a._v("完成")])],1)],1)},s=[]},"1b6a":function(a,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{bankData:{username:"",mobile:"",bankCode:"",bankName:"",cardCode:""},index:-1,bankList:[{bankCode:"ALIPAY",bankName:"支付宝账户"},{bankCode:"WECHAT",bankName:"微信账户"},{bankCode:"ICBC",bankName:"工商银行"},{bankCode:"ABC",bankName:"农业银行"},{bankCode:"PSBC",bankName:"邮储银行"},{bankCode:"CCB",bankName:"建设银行"},{bankCode:"CMB",bankName:"招商银行"},{bankCode:"BOC",bankName:"中国银行"},{bankCode:"COMM",bankName:"交通银行"},{bankCode:"SPDB",bankName:"浦发银行"},{bankCode:"GDB",bankName:"广发银行"},{bankCode:"CMBC",bankName:"民生银行"},{bankCode:"PAB",bankName:"平安银行"},{bankCode:"CEB",bankName:"光大银行"},{bankCode:"CIB",bankName:"兴业银行"},{bankCode:"CITIC",bankName:"中信银行"}]}},methods:{confirm:function(){var a=this.bankData;if(a.bankCode)if(a.cardCode)if(a.username){var e=/^[1][3,4,5,7,8,9][0-9]{9}$/;a.mobile&&e.test(a.mobile)?(this.$wanlshop.prePage().refreshList(a),this.$wanlshop.back(1)):this.$wanlshop.msg("请填写正确手机号")}else this.$wanlshop.msg("请填写真实姓名");else this.$wanlshop.msg("请选择账号");else this.$wanlshop.msg("请选择银行卡")},bankChange:function(a){this.index=a.detail.value,this.bankData.bankCode=this.bankList[a.detail.value].bankCode,this.bankData.bankName=this.bankList[a.detail.value].bankName}}};e.default=t},3017:function(a,e,n){var t=n("4c67");"string"===typeof t&&(t=[[a.i,t,""]]),t.locals&&(a.exports=t.locals);var i=n("4f06").default;i("1449a59d",t,!0,{sourceMap:!1,shadowMode:!1})},"4c67":function(a,e,n){var t=n("24fb");e=t(!1),e.push([a.i,".picker .flex uni-image[data-v-084dac03]{width:%?40?%;height:%?40?%}",""]),a.exports=e},a37a:function(a,e,n){"use strict";var t=n("3017"),i=n.n(t);i.a},c0d6:function(a,e,n){"use strict";n.r(e);var t=n("1b6a"),i=n.n(t);for(var s in t)"default"!==s&&function(a){n.d(e,a,(function(){return t[a]}))}(s);e["default"]=i.a},f038:function(a,e,n){"use strict";n.r(e);var t=n("0395"),i=n("c0d6");for(var s in i)"default"!==s&&function(a){n.d(e,a,(function(){return i[a]}))}(s);n("a37a");var o,u=n("f0c5"),l=Object(u["a"])(i["default"],t["b"],t["c"],!1,null,"084dac03",null,!1,t["a"],o);e["default"]=l.exports}}]);