PageSourceSearch

https://mvp.5173.com/_nuxt/user_binding.5724bfcf.js

js 5173.com collected 2026-09-24 10:28:46 UTC 2,718 bytes, 1 lines download raw bytes

1import{r as _,l as I,j as V,c as o,x as O,q as a,n as d,w as m,aj as Q,C as q,o as s,b as k,v as h,p as B,e as F,a as y,am as t,I as S}from"./entry.9edb4552.js";import{E,a as U}from"./form-item.32af0702.js";/* empty css             */import{userFromDefault as j}from"./defaultUser.1368b6b0.js";import{d as A,e as N,f as D}from"./thirdLogin.826ced20.js";import{_ as R}from"./_plugin-vue_export-helper.c27b6911.js";import"./castArray.6d8b3117.js";import"./_getTag.724a89b9.js";const W=i=>(B("data-v-494cfa64"),i=i(),F(),i),z={class:"user-account"},L=W(()=>y("div",{class:"acea-row header"},[y("div",{class:"font18 fontColor333 mb-50px"},"账号绑定")],-1)),G={key:2,class:"c-#666666"},H={key:2,class:"c-#666666"},J={key:2,class:"c-#666666"},K={__name:"user_binding",setup(i){const g=_(),c=_(!1);_("******");const e=I(Object.assign(j()));V();const r=async()=>{try{c.value=!0;let u=await Q();c.value=!1,Object.assign(e,u)}catch{c.value=!1}};r(),c.value=!1;const w=()=>{t.confirm("确认解除微信绑定吗?").then(async()=>{await A().then(async()=>{await t.msgSuccess("解除微信绑定成功"),r()})})},C=()=>{t.confirm("确认解除QQ绑定吗?").then(async()=>{await N().then(async()=>{await t.msgSuccess("解除QQ绑定成功"),r()})})},v=()=>{t.confirm("确认解除公众号绑定吗?").then(async()=>{await D().then(async()=>{await t.msgSuccess("解除公众号绑定成功"),r()})})};return(u,n)=>{const p=S,f=U,x=E,b=q;return s(),o("div",z,[L,O((s(),d(x,{ref_key:"userFormRef",ref:g,model:a(e),"label-width":"100px",class:"demo-ruleForm",size:"large","status-icon":""},{default:m(()=>[k(f,{label:"微信:"},{default:m(()=>[a(e).weChatOpenId?(s(),d(p,{key:0,modelValue:a(e).nickname,"onUpdate:modelValue":n[0]||(n[0]=l=>a(e).nickname=l),disabled:""},null,8,["modelValue"])):h("",!0),a(e).weChatOpenId?(s(),o("span",{key:1,class:"ml-10px font-color cursors",onClick:w},"解除绑定")):(s(),o("span",G,"未绑定"))]),_:1}),k(f,{label:"QQ:"},{default:m(()=>[a(e).qqOpenId?(s(),d(p,{key:0,modelValue:a(e).nickname,"onUpdate:modelValue":n[1]||(n[1]=l=>a(e).nickname=l),disabled:""},null,8,["modelValue"])):h("",!0),a(e).qqOpenId?(s(),o("span",{key:1,class:"ml-10px font-color cursors",onClick:C},"解除绑定")):(s(),o("span",H,"未绑定"))]),_:1}),k(f,{label:"h5公众号:"},{default:m(()=>[a(e).wxOfficialCode?(s(),d(p,{key:0,modelValue:a(e).nickname,"onUpdate:modelValue":n[2]||(n[2]=l=>a(e).nickname=l),disabled:""},null,8,["modelValue"])):h("",!0),a(e).wxOfficialCode?(s(),o("span",{key:1,class:"ml-10px font-color cursors",onClick:v},"解除绑定")):(s(),o("span",J,"未绑定"))]),_:1})]),_:1},8,["model"])),[[b,a(c)]])])}}},ae=R(K,[["__scopeId","data-v-494cfa64"]]);export{ae 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.