bztang-admin/addons/yun_shop/static/app/js/chunk-0764fe76.2c94dd60.js

1 line
3.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0764fe76"],{"596a":function(t,e,a){"use strict";a("970d")},"68aa":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,"#member_add_bank_first[data-v-6c9d4aa0]{height:100vh;background-color:#fff}#member_add_bank_first .mes[data-v-6c9d4aa0]{padding:1rem 0;padding-left:1rem;color:#666;font-size:12px;text-align:left}#member_add_bank_first .line[data-v-6c9d4aa0]{height:.625rem;background-color:#f2f2f7}#member_add_bank_first .content[data-v-6c9d4aa0]{background-color:#fff;padding:0 1rem}#member_add_bank_first .content .item[data-v-6c9d4aa0]{padding:1.25rem 0;border-bottom:1px solid #ccc;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#member_add_bank_first .content .item input[data-v-6c9d4aa0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;border:none;outline:none;text-indent:1.625rem}#member_add_bank_first .content .item[data-v-6c9d4aa0]:last-child{border-bottom:none}#member_add_bank_first .btn[data-v-6c9d4aa0]{margin:0 auto;margin-top:1.875rem;background-color:#ff2c29;border-radius:.5625rem;color:#fff;width:18.75rem;height:2.875rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:16px}",""]),t.exports=e},"970d":function(t,e,a){var n=a("68aa");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("499e").default;i("52fa064d",n,!0,{sourceMap:!1,shadowMode:!1})},fc6b:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"member_add_bank_first"}},[a("c-title",{attrs:{hide:!1,text:"添加银行卡"}}),a("div",{staticClass:"mes"},[t._v("请绑定持卡人本人的银行卡")]),a("div",{staticClass:"line"}),a("div",{staticClass:"content"},[t.info.payer_name&&t.bank.length>0?a("div",{staticClass:"item"},[a("span",[t._v("持卡人")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.info.payer_name,expression:"info.payer_name"}],attrs:{type:"text",disabled:"true"},domProps:{value:t.info.payer_name},on:{input:function(e){e.target.composing||t.$set(t.info,"payer_name",e.target.value)}}})]):t._e(),a("div",{staticClass:"item"},[a("span",[t._v("卡号")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.num,expression:"num"}],attrs:{type:"number"},domProps:{value:t.num},on:{input:function(e){e.target.composing||(t.num=e.target.value)}}})])]),a("div",{staticClass:"line"}),a("div",{staticClass:"btn",on:{click:function(e){return t.next()}}},[t._v(" 下一步 ")])],1)},i=[],r=(a("e7e5"),a("d399")),o=(a("b0c0"),a("6968")),s={data:function(){return{name:"",num:"",bank:[],info:{}}},activated:function(){this.initData(),this.getInfo(),this.getBank()},mounted:function(){},methods:{initData:function(){this.name="",this.num="",this.bank=[],this.info={}},getBank:function(){var t=this;$http.get("plugin.converge_pay.frontend.controllers.quick-pay-bank-card.index",{},"").then((function(e){1==e.result?t.bank=e.data:t.bank=[]})).catch((function(t){}))},next:function(){this.fun.isTextEmpty(this.num)?Object(r["a"])("请输入卡号"):this.$router.push(this.fun.getUrl("memberaddBankSecond",{card_no:this.num,order_pay_id:this.$route.params.order_pay_id}))},getInfo:function(){var t=this;$http.get("plugin.converge_pay.frontend.controllers.quick-pay-bank-card.get-payer-info",{},"").then((function(e){1==e.result&&e.data&&(t.info=e.data)})).catch((function(t){}))}},components:{cTitle:o["a"]}},d=s,c=d,l=(a("596a"),a("2877")),f=Object(l["a"])(c,n,i,!1,null,"6c9d4aa0",null);e["default"]=f.exports}}]);