邹方成 642b3cf7dd
Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 50s
build: 更新前端构建产物和资源文件
更新了前端构建产物包括JavaScript、CSS和HTML文件,主要涉及以下变更:

1. 新增了多个组件和工具函数,包括异常页面组件、iframe组件等
2. 更新了活动管理、产品管理、优惠券管理等业务模块
3. 优化了构建配置和依赖管理
4. 修复了一些样式和功能问题
5. 更新了测试相关文件

同时更新了部分后端服务接口和测试用例。这些变更主要是为了支持新功能和改进现有功能的用户体验。
2025-11-21 01:24:13 +08:00

2 lines
7.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var e=Object.defineProperty,l=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,d=(l,a,s)=>a in l?e(l,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[a]=s;import{d as t,z as m,c as i,r as u,e as n,f as p,F as b,a as c,o as f,j as x,q as w,i as v,b as g,H as j,I as _,w as V,J as y,M as h,G as P,N as k,p as U}from"./index-BeZn6wgH.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-BQI7d56A.js";import{_ as O}from"./avatar-pR7-E1hl.js";import{E as q}from"./index-DJP4F2zx.js";import{E,a as C}from"./index-Dn4yxdMr.js";import{E as D,a as I}from"./index-B43cMk6T.js";import"./castArray-BakW2F2h.js";import"./_initCloneObject-BHiCRTfC.js";import"./index-CnhjG_Ys.js";import"./index-A3hG-0VQ.js";import"./index-DC47MImW.js";import"./index-s8Fl0Qzt.js";import"./index-rM5MDBEe.js";import"./token-DWNpOE8r.js";import"./debounce-C7sIggI-.js";import"./_baseIteratee-sVeOpCU9.js";import"./index-DZdoPtEQ.js";const z={class:"w-full h-full p-0 bg-transparent border-none shadow-none"},A={class:"relative flex-b mt-2.5 max-md:block max-md:mt-1"},F={class:"w-112 mr-5 max-md:w-full max-md:mr-0"},H={class:"art-card-sm relative p-9 pb-6 overflow-hidden text-center"},J={class:"mt-5 text-xl font-normal"},S={class:"w-75 mx-auto mt-7.5 text-left"},B={class:"mt-2.5"},G={class:"mt-2.5"},Y={class:"mt-2.5"},L={class:"mt-2.5"},M={class:"mt-10"},R={class:"flex flex-wrap justify-center mt-3.5"},X={class:"flex-1 overflow-hidden max-md:w-full max-md:mt-3.5"},K={class:"art-card-sm"},Q={class:"flex-c justify-end [&_.el-button]:!w-27.5"},T={class:"art-card-sm my-5"},W={class:"flex-c justify-end [&_.el-button]:!w-27.5"},Z=t(($=((e,l)=>{for(var a in l||(l={}))r.call(l,a)&&d(e,a,l[a]);if(s)for(var a of s(l))o.call(l,a)&&d(e,a,l[a]);return e})({},{name:"UserCenter"}),l($,a({__name:"index",setup(e){const l=m(),a=i(()=>l.getUserInfo),s=u(!1),r=u(!1),o=u(""),d=u(),t=n({realName:"John Snow",nikeName:"皮卡丘",email:"59301283@mall.com",mobile:"18888888888",address:"广东省深圳市宝安区西乡街道101栋201",sex:"2",des:"Art Design Pro 是一款兼具设计美学与高效开发的后台系统."}),Z=n({password:"123456",newPassword:"123456",confirmPassword:"123456"}),$=n({realName:[{required:!0,message:"请输入姓名",trigger:"blur"},{min:2,max:50,message:"长度在 2 到 50 个字符",trigger:"blur"}],nikeName:[{required:!0,message:"请输入昵称",trigger:"blur"},{min:2,max:50,message:"长度在 2 到 50 个字符",trigger:"blur"}],email:[{required:!0,message:"请输入邮箱",trigger:"blur"}],mobile:[{required:!0,message:"请输入手机号码",trigger:"blur"}],address:[{required:!0,message:"请输入地址",trigger:"blur"}],sex:[{required:!0,message:"请选择性别",trigger:"blur"}]}),ee=[{value:"1",label:"男"},{value:"2",label:"女"}],le=["专注设计","很有想法","辣~","大长腿","川妹子","海纳百川"];p(()=>{ae()});const ae=()=>{const e=(new Date).getHours();o.value=e>=6&&e<9?"早上好":e>=9&&e<11?"上午好":e>=11&&e<13?"中午好":e>=13&&e<18?"下午好":e>=18&&e<24?"晚上好":"很晚了,早点睡"},se=()=>{s.value=!s.value},re=()=>{r.value=!r.value};return(e,l)=>{const o=N,m=y,i=E,u=I,n=D,p=q,ae=k,oe=C,de=b("ripple");return f(),c("div",z,[x("div",A,[x("div",F,[x("div",H,[l[15]||(l[15]=x("img",{class:"absolute top-0 left-0 w-full h-50 object-cover",src:"/assets/bg-DrCBEYh-.webp"},null,-1)),l[16]||(l[16]=x("img",{class:"relative z-10 w-20 h-20 mt-30 mx-auto object-cover border-2 border-white rounded-full",src:O},null,-1)),x("h2",J,w(v(a).userName),1),l[17]||(l[17]=x("p",{class:"mt-5 text-sm"},"专注于用户体验跟视觉设计",-1)),x("div",S,[x("div",B,[g(o,{icon:"ri:mail-line",class:"text-g-700"}),l[10]||(l[10]=x("span",{class:"ml-2 text-sm"},"jdkjjfnndf@mall.com",-1))]),x("div",G,[g(o,{icon:"ri:user-3-line",class:"text-g-700"}),l[11]||(l[11]=x("span",{class:"ml-2 text-sm"},"交互专家",-1))]),x("div",Y,[g(o,{icon:"ri:map-pin-line",class:"text-g-700"}),l[12]||(l[12]=x("span",{class:"ml-2 text-sm"},"广东省深圳市",-1))]),x("div",L,[g(o,{icon:"ri:dribbble-fill",class:"text-g-700"}),l[13]||(l[13]=x("span",{class:"ml-2 text-sm"},"字节跳动某某平台部UED",-1))])]),x("div",M,[l[14]||(l[14]=x("h3",{class:"text-sm font-medium"},"标签",-1)),x("div",R,[(f(),c(j,null,_(le,e=>x("div",{key:e,class:"py-1 px-1.5 mr-2.5 mb-2.5 text-xs border border-g-300 rounded"},w(e),1)),64))])])])]),x("div",X,[x("div",K,[l[18]||(l[18]=x("h1",{class:"p-4 text-xl font-normal border-b border-g-300"},"基本设置",-1)),g(oe,{model:v(t),class:"box-border p-5 [&>.el-row_.el-form-item]:w-[calc(50%-10px)] [&>.el-row_.el-input]:w-full [&>.el-row_.el-select]:w-full",ref_key:"ruleFormRef",ref:d,rules:v($),"label-width":"86px","label-position":"top"},{default:V(()=>[g(p,null,{default:V(()=>[g(i,{label:"姓名",prop:"realName"},{default:V(()=>[g(m,{modelValue:v(t).realName,"onUpdate:modelValue":l[0]||(l[0]=e=>v(t).realName=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1}),g(i,{label:"性别",prop:"sex",class:"ml-5"},{default:V(()=>[g(n,{modelValue:v(t).sex,"onUpdate:modelValue":l[1]||(l[1]=e=>v(t).sex=e),placeholder:"Select",disabled:!v(s)},{default:V(()=>[(f(),c(j,null,_(ee,e=>g(u,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),g(p,null,{default:V(()=>[g(i,{label:"昵称",prop:"nikeName"},{default:V(()=>[g(m,{modelValue:v(t).nikeName,"onUpdate:modelValue":l[2]||(l[2]=e=>v(t).nikeName=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1}),g(i,{label:"邮箱",prop:"email",class:"ml-5"},{default:V(()=>[g(m,{modelValue:v(t).email,"onUpdate:modelValue":l[3]||(l[3]=e=>v(t).email=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1}),g(p,null,{default:V(()=>[g(i,{label:"手机",prop:"mobile"},{default:V(()=>[g(m,{modelValue:v(t).mobile,"onUpdate:modelValue":l[4]||(l[4]=e=>v(t).mobile=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1}),g(i,{label:"地址",prop:"address",class:"ml-5"},{default:V(()=>[g(m,{modelValue:v(t).address,"onUpdate:modelValue":l[5]||(l[5]=e=>v(t).address=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1}),g(i,{label:"个人介绍",prop:"des",class:"h-32"},{default:V(()=>[g(m,{type:"textarea",rows:4,modelValue:v(t).des,"onUpdate:modelValue":l[6]||(l[6]=e=>v(t).des=e),disabled:!v(s)},null,8,["modelValue","disabled"])]),_:1}),x("div",Q,[h((f(),P(ae,{type:"primary",class:"w-22.5",onClick:se},{default:V(()=>[U(w(v(s)?"保存":"编辑"),1)]),_:1})),[[de]])])]),_:1},8,["model","rules"])]),x("div",T,[l[19]||(l[19]=x("h1",{class:"p-4 text-xl font-normal border-b border-g-300"},"更改密码",-1)),g(oe,{model:v(Z),class:"box-border p-5","label-width":"86px","label-position":"top"},{default:V(()=>[g(i,{label:"当前密码",prop:"password"},{default:V(()=>[g(m,{modelValue:v(Z).password,"onUpdate:modelValue":l[7]||(l[7]=e=>v(Z).password=e),type:"password",disabled:!v(r),"show-password":""},null,8,["modelValue","disabled"])]),_:1}),g(i,{label:"新密码",prop:"newPassword"},{default:V(()=>[g(m,{modelValue:v(Z).newPassword,"onUpdate:modelValue":l[8]||(l[8]=e=>v(Z).newPassword=e),type:"password",disabled:!v(r),"show-password":""},null,8,["modelValue","disabled"])]),_:1}),g(i,{label:"确认新密码",prop:"confirmPassword"},{default:V(()=>[g(m,{modelValue:v(Z).confirmPassword,"onUpdate:modelValue":l[9]||(l[9]=e=>v(Z).confirmPassword=e),type:"password",disabled:!v(r),"show-password":""},null,8,["modelValue","disabled"])]),_:1}),x("div",W,[h((f(),P(ae,{type:"primary",class:"w-22.5",onClick:re},{default:V(()=>[U(w(v(r)?"保存":"编辑"),1)]),_:1})),[[de]])])]),_:1},8,["model"])])])])])}}}))));var $;export{Z as default};