mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-05 12:38:10 +00:00
2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
import"./base-0e92f4db.js";/* empty css *//* empty css */import{a as w,E as b}from"./el-form-item-c2dd2ffe.js";/* empty css *//* empty css */import{j as E}from"./index-95d7b9b8.js";import{E as I,a4 as y}from"./index-72686045.js";import{t as i}from"./index-bf9b1162.js";import{c as k}from"./common-46715e7e.js";import{a as C}from"./vue-router-8b032575.js";import{E as F}from"./index-2b1dc445.js";import{E as N}from"./index-2668a8ea.js";import{v as j}from"./directive-c6f70b8e.js";import{d as B,M as R,r as c,L as U,e as D,f as s,x as n,u as e,q as t,p as a,b as L}from"./runtime-core.esm-bundler-67034826.js";import{_ as P}from"./_plugin-vue_export-helper-c27b6911.js";import"./event-a537c4cb.js";import"./index-81f2aa1e.js";import"./el-main-7a89c415.js";import"./index-ebd2990f.js";import"./el-overlay-3eff2fc5.js";import"./index-defed8ff.js";import"./focus-trap-83769a43.js";import"./index-6cae7119.js";import"./index-d87ae4a2.js";/* empty css *//* empty css *//* empty css */import"./index-e9d9b1a1.js";import"./index-8cefa3ab.js";import"./index-e09a20f5.js";import"./index-ef31373f.js";import"./index-de22cd40.js";import"./index-c7745eb3.js";import"./debounce-f6ba9d12.js";import"./position-c2e84b2a.js";const V={class:"main-container w-full p-[64px] bg-white"},q={class:"flex justify-between items-center h-[32px] mb-4"},M={class:"text-[20px]"},S={class:"image-slot w-[70px] h-[70px] bg-[#c0c4cc] flex items-center justify-center"},z=B({__name:"personal",setup(A){const _=C();let o=R({head_img:"",real_name:"",original_password:"",password:"",password_copy:"",username:""});const d=c(),m=c(!0);(()=>{m.value=!0,E().then(p=>{m.value=!1;let r=p.data;o.head_img=r.head_img,o.real_name=r.real_name,o.original_password=r.original_password,o.password=r.password,o.password_copy=r.password,o.username=r.username}).catch(()=>{m.value=!1})})();const f=()=>{_.push("/user/edit_center")};return(p,r)=>{const u=I,x=F,l=w,g=b,h=N,v=j;return U((L(),D("div",V,[s("div",q,[s("span",M,n(e(i)("personal")),1),s("span",{class:"text-[14px] text-[#999] cursor-pointer",onClick:f},n(e(i)("editPersonal")),1)]),t(h,{class:"box-card !border-none",shadow:"never"},{default:a(()=>[t(g,{model:e(o),"label-width":"90px",ref_key:"formRef",ref:d,class:"page-form"},{default:a(()=>[t(l,{label:e(i)("headImg")},{default:a(()=>[t(x,{class:"w-[70px] h-[70px] rounded-full",src:e(k)(e(o).head_img),fit:"contain"},{error:a(()=>[s("div",S,[t(u,{class:"text-[45px] text-[#fff]"},{default:a(()=>[t(e(y))]),_:1})])]),_:1},8,["src"])]),_:1},8,["label"]),t(l,{label:e(i)("userName")},{default:a(()=>[s("div",null,n(e(o).username),1)]),_:1},8,["label"]),t(l,{label:e(i)("realName")},{default:a(()=>[s("div",null,n(e(o).real_name),1)]),_:1},8,["label"])]),_:1},8,["model"])]),_:1})])),[[v,m.value]])}}});const ke=P(z,[["__scopeId","data-v-3d9a51dc"]]);export{ke as default};
|