PageSourceSearch

https://08871.vip/assets/js/bindEmail-ayAIIgtc.js

js 08871.vip collected 2026-10-09 04:40:08 UTC 1,788 bytes, 1 lines download raw bytes

1import{M as b,i as v,b as n,c as x}from"./vant-BJBQCTKD.js";import{_ as y,a as h}from"./index-8lwjDdmt.js";import{k as g,a as k,_ as w,$ as i,y as s,a2 as V,x as B,a8 as c,L as C,a3 as S}from"./vue-D_yZR7Hp.js";import{b as T}from"./vue-router-i7ZcMGKV.js";import{e as E}from"./userActions-Cx2DrxV8.js";import{f as R}from"./stores-pwdB8uUa.js";import"./vendor-DqgCjTn_.js";import"./dayjs-CMfDl6ZL.js";import"./crypto-CQ9dAg_j.js";import{s as z}from"./pinia-vaw0eWkB.js";import"./vueuse-DIqumMk7.js";import"./qrcode-BFvmM3-a.js";import"./lodash-CgZZl0Vk.js";import"./axios-DyeqivAj.js";import"./query-utils-DMG917FO.js";const A={class:"bind-email-page px_48 pt_40"},I={class:"color1 fs_32"},N={class:"icon"},Z=g({__name:"bindEmail",setup(D){const r=T(),_=R(),{userInfo:m}=z(_),{email:a}=m.value.custContact,t=k({email_to_account:""}),l=async()=>{if(!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t.email_to_account))return n("邮箱格式错误");const o={ori_value:a||"",new_value:t.email_to_account,trans_type:101,busi_type:215,oper_method:a?2:1};try{await E(o),x("设置成功"),setTimeout(()=>{r.back()},700)}catch(e){n(e==null?void 0:e.info)}};return(p,o)=>{const e=y,d=b,u=v;return S(),w("div",A,[i("div",I,V(B(a)?"修改":"绑定")+"邮箱",1),s(d,{modelValue:t.email_to_account,"onUpdate:modelValue":o[0]||(o[0]=f=>t.email_to_account=f),placeholder:"请输入邮箱地址",class:"field mt_32 br_15 fs_32"},{"left-icon":c(()=>[i("div",N,[s(e,{"icon-name":"mine/email-icon",width:40,"current-color":""})])]),_:1},8,["modelValue"]),s(u,{type:"primary",block:"",disabled:!t.email_to_account.trim(),class:"mt_52 br_20 fs_50",onClick:l},{default:c(()=>[...o[1]||(o[1]=[C("确定",-1)])]),_:1},8,["disabled"])])}}}),X=h(Z,[["__scopeId","data-v-0e8a20a5"]]);export{X 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.