PageSourceSearch

https://1155dzg.com:7822/assets/verifyAlipay-Bke4kq0N.js

js 1155dzg.com collected 2026-10-09 04:34:47 UTC 6,911 bytes, 1 lines download raw bytes

1import{i as k}from"./vendor-element-plus-CnrZsLnk.js";import{_ as q,bn as b,r as c,R as f,b as _,u as A,g as v}from"./services-DMwYBTTp.js";import{m as C}from"./vendor-DZeYsp6R.js";import{U as E}from"./UploadImage-CtKTZMq5.js";import{u as h}from"./alipay-BmyoLbQ9.js";import{a as P,m as L}from"./vendor-pinia-CkwwAs9v.js";import{t as o,M as t,S as n,K as R,N as u,L as T,au as D,Z as y,ay as B,ae as m,a1 as N,$ as w,q as l}from"./vendor-vue-Cs0jG3vf.js";import"./vendor-lodash-DXGp0yxs.js";const I={components:{UploadImage:E},beforeRouteEnter(r,e,g){h().GetBindingAliAccountInfo().then(()=>{const s=A(),{alipayStatus:a,internalAlipayStatus:p}=s.optionStates;!a&&!p&&c.push("/memberCenter/securityCenter"),g()}).catch(s=>{window.layer.alert(s.msg,()=>{c.replace("/memberCenter/manageAlipay")}),v().SetTurning(!1)})},data(){return{selectAlipay:{alipayAccount:"",realName:"",qrcodeImg:""},reqParams:{account:"",realName:""},showDropdown:!1,action:"insert",errorMsg:{realName:{Error:!1,True:!1,Msg:""},account:{Error:!1,True:!1,Msg:""}},isLoading:!1}},computed:{...L(A,h),...P(h,["bankCardNums","aliPayDisabled","aliPayIsBound","bindingAliPayList"]),realName(){return _().realName},alipayStatus(){return this.siteStore.optionStates.alipayStatus}},watch:{alipayStatus(r){r===0&&!this.$os.internalAlipayStatus&&c.push("/home")},internalAlipayStatus(r){r===0&&!this.$os.alipayStatus&&c.push("/home")}},created(){this.bindingAliPayList.length&&(this.action=this.$route.query.Q||"insert",this.action==="upload"&&this.$route.query.id?this.selectAlipay=this.bindingAliPayList.find(r=>Number(r.id)===Number(this.$route.query.id)):this.selectAlipay=this.bindingAliPayList[0])},methods:{hideAccount:b,toggleDropdown(){this.showDropdown=!this.showDropdown},selectOption(r){this.selectAlipay=r,this.showDropdown=!1},async checkRealName(){let{realName:r}=this.reqParams;this.errorMsg.realName.Msg="",r?r&&!r.match(f.RealName.Reg4)||!r.match(f.RealName.Reg5)?this.errorMsg.realName.Msg="填写的验证信息错误!":r&&(r.length>30||r.length<1)&&(this.errorMsg.realName.Msg="填写的验证信息错误!"):this.errorMsg.realName.Msg="验证姓名不能为空",this.errorMsg.realName.True=!this.errorMsg.realName.Msg,this.errorMsg.realName.Error=!!this.errorMsg.realName.Msg},checkAccount(){const{account:r}=this.reqParams;this.errorMsg.account.Msg="";const e=new RegExp(/[\u4E00-\u9FA5]/g);r?r.includes("*")?(this.errorMsg.account.Msg="填写的验证信息错误!",this.errorMsg.account.Error=!0):(e.test(r)||r.length<2)&&(this.errorMsg.account.Msg="填写的验证信息错误!"):this.errorMsg.account.Msg="验证账号不能为空",this.errorMsg.account.True=!this.errorMsg.account.Msg,this.errorMsg.account.Error=!!this.errorMsg.account.Msg},async submit(){if(!this.isLoading){if(this.isLoading=!0,this.checkRealName(),this.checkAccount(),!this.errorMsg.realName.True||!this.errorMsg.account.True){window.layer.msgWarn(this.errorMsg.realName.Msg||this.errorMsg.account.Msg),this.isLoading=!1;return}this.alipayStore.ChkBindingAlipayInfo({...this.reqParams,id:this.selectAlipay.id,account:C(this.reqParams.account)}).then(r=>{this.alipayStore.aliPayCardVerified=!0,this.alertMessage(r.msg)}).catch(r=>{window.layer.msgWarn(r.msg),this.isLoading=!1})}},alertMessage(r){const e=this;return window.layer.CustomConfirm({content:r,btn:["确定"],yes(g){try{c.push({name:"setAlipay",query:e.$route.query}),window.layer.close(g)}catch(d){console.error("[verifyAlipay] Error:",d)}}})}}},V={class:"userRight"},U={class:"userMain mgb10"},x={class:"submitContent mg30 setBankcard"},F={class:"dropdown_list"},W={key:0},O={key:1,class:"dropdown_container w-250"},z=["src"],G={key:1,class:u(["iconBank qr_selectList alipay"])},K={key:0,class:"dropdown_content"},Q=["onClick"],Z=["id","value"],j=["src"],H={key:1,class:u(["iconBank qr_selectList qrCode_icon alipay"])},J={class:"userTip mg30"},X={key:0},Y={key:1};function $(r,e,g,d,s,a){const p=k;return l(),o("div",V,[e[15]||(e[15]=t("div",{class:"userTitle mgb10"},"支付宝验证",-1)),t("div",U,[t("ul",x,[t("li",F,[e[6]||(e[6]=t("span",null,"支付宝账号:",-1)),["upload"].includes(s.action)?(l(),o("em",W,n(a.hideAccount(s.selectAlipay.alipayAccount)),1)):(l(),o("div",O,[t("div",{onClick:e[0]||(e[0]=(...i)=>a.toggleDropdown&&a.toggleDropdown(...i)),class:"dropdrown_box USDT_box"},[s.selectAlipay.qrcodeImg?(l(),o("img",{key:0,src:r.imgFtpUrl+s.selectAlipay.qrcodeImg,class:u(["iconBank qr_selectList"])},null,8,z)):(l(),o("em",G)),t("ins",null,"尾号:"+n(a.hideAccount(s.selectAlipay.alipayAccount,5)),1),e[5]||(e[5]=t("i",null,null,-1))]),s.showDropdown?(l(),o("div",K,[(l(!0),o(T,null,D(r.bindingAliPayList,(i,S)=>(l(),o("div",{key:S,class:"list",onClick:M=>a.selectOption(i)},[y(t("input",{type:"radio",name:"USDTId",id:i.id,value:i,"onUpdate:modelValue":e[1]||(e[1]=M=>s.selectAlipay=M)},null,8,Z),[[B,s.selectAlipay]]),i.qrcodeImg?(l(),o("img",{key:0,src:r.imgFtpUrl+i.qrcodeImg,class:u(["iconBank qr_selectList qrCode_icon"])},null,8,j)):(l(),o("em",H)),t("span",null,n(a.hideAccount(i.alipayAccount,5)),1)],8,Q))),128))])):R("",!0)]))]),t("li",null,[e[7]||(e[7]=t("span",null,"支付宝姓名:",-1)),m(" "+n(a.hideAccount(s.selectAlipay.realName,2,-1)),1)]),t("li",null,[e[9]||(e[9]=t("span",null,"请输入完整账号:",-1)),N(p,{tag:"账号",type:"text",placeholder:"请输入完整账号",class:"w-250",maxlength:"30",modelValue:s.reqParam
1s.account,"onUpdate:modelValue":e[2]||(e[2]=i=>s.reqParams.account=i),modelModifiers:{trim:!0}},null,8,["modelValue"]),y(t("em",{class:u(s.errorMsg.account.Error?"verifyWrong":"verifyRight")},[e[8]||(e[8]=t("i",null,null,-1)),m(n(s.errorMsg.account.Error?s.errorMsg.account.Msg:""),1)],2),[[w,s.errorMsg.account.Error||s.errorMsg.account.True]])]),t("li",null,[e[11]||(e[11]=t("span",null,"请输入完整姓名:",-1)),N(p,{tag:"姓名",type:"text",placeholder:"请输入完整姓名",class:"w-250 realName",maxlength:"30",modelValue:s.reqParams.realName,"onUpdate:modelValue":e[3]||(e[3]=i=>s.reqParams.realName=i),modelModifiers:{trim:!0}},null,8,["modelValue"]),y(t("em",{class:u(s.errorMsg.realName.Error?"verifyWrong":"verifyRight")},[e[10]||(e[10]=t("i",null,null,-1)),m(n(s.errorMsg.realName.Error?s.errorMsg.realName.Msg:""),1)],2),[[w,s.errorMsg.realName.Error||s.errorMsg.realName.True]])]),t("li",null,[e[12]||(e[12]=t("span",null,null,-1)),t("a",{class:"submitBtn",onClick:e[4]||(e[4]=(...i)=>a.submit&&a.submit(...i))},"确定")])]),t("div",J,[s.action==="insert"?(l(),o("p",X,[...e[13]||(e[13]=[t("i",null,null,-1),m("温馨提示:为确定是本人操作,再次添加支付宝时需要验证已绑定的支付宝信息。",-1)])])):(l(),o("p",Y,[...e[14]||(e[14]=[t("i",null,null,-1),m("温馨提示:为确定是本人操作,上传支付宝二维码时需要验证支付宝信息。",-1)])]))])])])}const ne=q(I,[["render",$],["__scopeId","data-v-c4576111"]]);export{ne as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.