1 line
7.8 KiB
JavaScript
1 line
7.8 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46555314"],{"13c0":function(e,t,a){var i=a("5cee");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=a("499e").default;o("115b6034",i,!0,{sourceMap:!1,shadowMode:!1})},"4aaf":function(e,t,a){"use strict";a("13c0")},"5cee":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".ispaskey .van-number-keyboard[data-v-163a5102]{position:relative}.van-button-group[data-v-163a5102]{padding-top:15px;padding-left:12px;padding-right:12px}#info span[data-v-163a5102]{font-size:14px!important}.tips[data-v-163a5102]{height:2.5rem;background:#fff;line-height:2.5rem;text-align:left}.tips[data-v-163a5102],.tips1[data-v-163a5102]{padding-right:.625rem;padding-left:.625rem}.tips1[data-v-163a5102]{line-height:1.875rem;text-align:right}.code[data-v-163a5102],.tips1[data-v-163a5102]{height:1.875rem}.code[data-v-163a5102]{margin-right:.625rem;background:#ccc;padding:.1875rem .3125rem;border-radius:.3125rem}.code[data-v-163a5102],.list1[data-v-163a5102]{margin-top:.625rem}.list1[data-v-163a5102]{height:2.75rem;width:97%;background:#fff;padding:0 0 0 3%;border-top:.0625rem solid #e6e1e1;font-size:14px;line-height:2.75rem;color:#333;text-align:left}.list1 i.fa.fa-angle-right[data-v-163a5102]{float:right;line-height:2.75rem;display:inline-block;font-size:.9rem;margin-right:.375rem;color:#929292;width:1.25rem;height:1.25rem;text-align:center;background-size:1.25rem}.fa-angle-right[data-v-163a5102]{color:#999;font-size:1.625rem;float:right;line-height:3.125rem;margin-left:.375rem;margin-right:.3125rem}.btmobile[data-v-163a5102]{top:0;line-height:3rem;right:100;width:5rem;font-size:12px;color:#f15353}#info .mint-button[data-v-163a5102]{margin:0 2%}.maleall[data-v-163a5102]{background:#fff;text-align:left}.males[data-v-163a5102]{line-height:3.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-top:.0625rem solid #f3f3f3;margin-left:.625rem}.maleall span[data-v-163a5102]{color:#888;font-size:14px;vertical-align:middle;width:28%;-webkit-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none}#address[data-v-163a5102]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;line-height:3.125rem}#address .mint-button--default[data-v-163a5102]{line-height:3.125rem;text-align:left;font-size:16px}#myimg[data-v-163a5102]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:right}.popup-con[data-v-163a5102]{width:100%}.el-upload img[data-v-163a5102]{width:30%}.avatar-uploader-icon[data-v-163a5102]{padding-right:1.5625rem}.mint-cell-wrapper[data-v-163a5102]{background:red}.mint-button[data-v-163a5102]{margin:.3125rem 0}#info .mint-cell-wrapper[data-v-163a5102]{padding:0}#info[data-v-163a5102] .van-field__label{width:auto}#info[data-v-163a5102] .van-field__label span{color:#555}.eyes[data-v-163a5102]{position:absolute;top:2px;right:-.1875rem;width:30px;height:30px;color:#999;font-size:30px}",""]),e.exports=t},"5de4":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"info"}},[a("c-title",{attrs:{hide:!1,text:"设置支付密码"}}),a("van-field",{attrs:{disabled:"",center:"",type:e.setpassword,label:"支付密码:",placeholder:"请输入支付密码",border:!1},nativeOn:{click:function(t){return e.showPwdKeyboard.apply(null,arguments)}},scopedSlots:e._u([{key:"button",fn:function(){return[e.visibleSet?e._e():a("i",{staticClass:"iconfont icon-onlineCar_f eyes",staticStyle:{color:"#333"},on:{click:function(t){return t.stopPropagation(),e.SetPwdClick()}}}),e.visibleSet?a("i",{staticClass:"iconfont icon-onlineCar_g eyes",on:{click:function(t){return t.stopPropagation(),e.SetPwdClick()}}}):e._e()]},proxy:!0}]),model:{value:e.pwd,callback:function(t){e.pwd=t},expression:"pwd"}}),a("van-field",{attrs:{disabled:"",center:"",type:e.surepassword,label:"确认密码:",placeholder:"请输入确认密码"},nativeOn:{click:function(t){return e.showRePwdKeyboard.apply(null,arguments)}},scopedSlots:e._u([{key:"button",fn:function(){return[e.visibleSure?e._e():a("i",{staticClass:"iconfont icon-onlineCar_f eyes",staticStyle:{color:"#333"},on:{click:function(t){return t.stopPropagation(),e.surePwdClick()}}}),e.visibleSure?a("i",{staticClass:"iconfont icon-onlineCar_g eyes",on:{click:function(t){return t.stopPropagation(),e.surePwdClick()}}}):e._e()]},proxy:!0}]),model:{value:e.rePwd,callback:function(t){e.rePwd=t},expression:"rePwd"}}),a("div",{staticClass:"van-button-group"},[a("van-button",{staticStyle:{height:"40px"},attrs:{color:"#ef4f4f",size:"large",type:"danger"},nativeOn:{click:function(t){return e.setPwd.apply(null,arguments)}}},[e._v("确认 ")])],1),a("div",{staticStyle:{height:"0.625rem"}}),a("pay-keyboard",{attrs:{payKeyboardShow:e.isPwdShowKeyboard},on:{"update:payKeyboardShow":function(t){e.isPwdShowKeyboard=t},"update:pay-keyboard-show":function(t){e.isPwdShowKeyboard=t},complete:e.onInput1}}),a("pay-keyboard",{attrs:{payKeyboardShow:e.isRePwdShowKeyboard},on:{"update:payKeyboardShow":function(t){e.isRePwdShowKeyboard=t},"update:pay-keyboard-show":function(t){e.isRePwdShowKeyboard=t},complete:e.onInput2}})],1)},o=[],r=(a("e7e5"),a("d399")),n=a("6968"),s=a("ebf1"),d={data:function(){return{isPwdShowKeyboard:!1,isRePwdShowKeyboard:!1,pwd:"",rePwd:"",visibleSet:!0,visibleSure:!0,setpassword:"password",surepassword:"password",payarr1:"",payarr2:""}},methods:{onInput2:function(e){this.rePwdKeyboardDone(e)},onDelete2:function(){this.payarr2.length>0&&(this.payarr2=this.payarr.substr(0,this.payarr.length-1))},onInput1:function(e){this.pwdKeyboardDone(e)},onDelete1:function(){this.payarr1.length>0&&(this.payarr1=this.payarr.substr(0,this.payarr.length-1))},initData:function(){this.isPwdShowKeyboard=!1,this.isRePwdShowKeyboard=!1,this.pwd="",this.rePwd=""},showPwdKeyboard:function(){this.isPwdShowKeyboard=!0,this.payarr1=""},hidePwdKeyboard:function(){this.isPwdShowKeyboard=!1},showRePwdKeyboard:function(){this.isRePwdShowKeyboard=!0,this.payarr2=""},hideRePwdKeyboard:function(){this.isRePwdShowKeyboard=!1},pwdKeyboardDone:function(e){this.pwd=e,this.hidePwdKeyboard()},rePwdKeyboardDone:function(e){this.rePwd=e,this.hideRePwdKeyboard()},initVerify:function(){var e=this;$http.get("member.balance-password.is-has-password",{password:this.pwd},"").then((function(t){1==t.result?e.fun.isTextEmpty(t.data.mobile)&&e.$dialog.confirm({message:"设置密码必须先绑定手机号"}).then((function(){e.$router.push(e.fun.getUrl("editmobile",{}))})).catch((function(){e.$router.go(-1)})):e.$dialog.alert({message:t.msg})}),(function(t){e.$dialog.alert({message:t.msg})}))},setPwd:function(){var e=this;this.fun.isTextEmpty(this.pwd)?Object(r["a"])("支付密码不能为空"):this.fun.isTextEmpty(this.rePwd)?Object(r["a"])("确认密码不能为空"):this.pwd==this.rePwd?$http.get("member.balance-password.set-password",{password:this.pwd,confirmed:this.rePwd},"提交中...").then((function(t){var a=this;if(1==t.result)switch(t.data.code){case 1:e.$dialog.alert({message:t.msg}),e.$router.go(-1);break;case 2:e.$dialog.alert({message:t.msg});break;case 3:e.$dialog.confirm({message:t.msg}).then((function(){e.$router.push(a.fun.getUrl("editmobile",{}))})).catch((function(){e.$router.go(-1)}));break;default:break}else e.$dialog.alert({message:t.msg})}),(function(t){e.$dialog.alert({message:t.msg})})):Object(r["a"])("支付密码和确认密码必须相同")},surePwdClick:function(){this.visibleSure=!this.visibleSure,1==this.visibleSure?this.surepassword="password":this.surepassword="text"},SetPwdClick:function(){this.visibleSet=!this.visibleSet,1==this.visibleSet?this.setpassword="password":this.setpassword="text"}},computed:{},mounted:function(){},activated:function(){this.initData(),this.initVerify(),this.fun.setWXTitle("设置"+this.fun.getBalanceLang()+"支付密码")},components:{cTitle:n["a"],payKeyboard:s["a"]}},l=d,c=l,p=(a("4aaf"),a("2877")),h=Object(p["a"])(c,i,o,!1,null,"163a5102",null);t["default"]=h.exports}}]); |