Commit Graph

13 Commits

Author SHA1 Message Date
lzh
e3f12e4548 新增: 登录页 UI 重构 + 品牌 logo 与 Lottie 启动动画
视觉与品牌
- public/logo.svg、public/login-illustration.svg、favicon 替换为 logo.svg。
- preferences.ts 新增 logo.source 指向 /logo.svg。
- packages/effects/layouts 导出 LoginIllustration 共享组件(浮动插画,加载失败自动隐藏)。

Auth 布局重构
- layouts/auth.vue 替换默认 AuthPageLayout:主题色渐变背景 + 左侧浮动插画 +
  品牌卡片 + 右上 LanguageToggle + 圆角登录卡片;KeepAlive 仅缓存 Login
  (CodeLogin/QrCodeLogin 需要每次刷新验证码/二维码)。
- 表单样式通过 :deep(.login-form-container) 覆盖输入框、选择框、主按钮,
  全部走 --primary 变量,与主题色联动。

登录组件
- views/_core/authentication/login.vue: 关闭默认 codeLogin/qrcodeLogin/
  thirdPartyLogin/register/docLink,改为手机 / 二维码 / 企微三按钮(IconifyIcon);
  三方登录前检查租户,缺失时 message.warning + validateField。
- packages/effects/common-ui/authentication/login.vue + types.ts:
  新增 showDocLink prop(默认 true),替代原本 HTML 注释掉 DocLink 的做法。
- sso-callback.vue: 等待提示改为 LottieLoading 动画。

Lottie 启动动画
- 新增 loading.html(注入进 index.html)+ public/loading.json + 运行时拷贝的
  public/lottie_light.min.js(.gitignore 忽略)。
- 新增 public/lottie-tint.js:共享主题色适配器(LIGHTNESSES / SHADE_MAP /
  hslToRgb / patchColors / readPrimary),同时被启动白屏脚本与 Vue 组件使用,
  消除两份几乎一致的实现。
- 新增 src/components/lottie-loading/LottieLoading.vue:按需加载 lottie-tint.js
  并根据 CSS 变量 --primary 重新上色。
- vite.config.mts 新增 copyLottiePlayer 插件:configResolved 时无条件把
  node_modules/lottie-web/.../lottie_light.min.js 拷到 public/,避免 mtime 误判。
- package.json 新增 lottie-web ^5.13.0 依赖。

i18n
- 新增 otherLoginMethods / contactSupport / weComLogin 三个文案(zh-CN / en-US)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 11:40:03 +08:00
lzh
7b429d1ffd 配置: 默认首页切换到 /iot/home,下线旧 Dashboard 与设备分布地图
- preferences.ts: 覆盖框架默认的 defaultHomePath: '/analytics' 为 '/iot/home',
  登录后直接进入 IoT 概览页。
- router/routes/modules/dashboard.ts: 删除 Dashboard/Workspace/Analytics 路由
  (不再作为菜单项暴露),仅保留 Profile。
- views/iot/home/index.vue: 移除 DeviceMapCard(依赖的后端
  /admin-api/iot/device/location-list 接口尚未就绪,避免无效请求)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 11:40:03 +08:00
YunaiV
880aa37675 refactor:关闭 footer,因为有一定的遮挡 2025-04-19 19:37:02 +08:00
YunaiV
5e9ba50c0f feat: add copyright config【40943905】 2025-03-26 20:27:47 +08:00
YunaiV
ea4892a5f6 refactor: 【web-ant】重构认证模块并移除未使用的组件和功能【0fed9472】 2025-03-26 08:39:07 +08:00
YunaiV
3c3886e345 feat: request && login && router【e6939e22】(不包括 login.vue 和 request.ts) 2025-03-20 12:34:02 +08:00
Vben
4e88ef0840 perf: improve the usage documentation of vben-vxe-table (#4829)
* perf: improve the usage documentation of vben-vxe-table
2024-11-06 23:03:33 +08:00
vben
a26630b6e0 feat: Support multiple application launch scripts 2024-07-31 00:29:15 +08:00
vince
66fd052709 fix: fix known issues. fixed #59,fixed #61, fixed #67, fixed #68 [deploy] 2024-07-29 00:19:26 +08:00
Vben
376fd17a61 feat: Feature/pro docs (#70)
* chore: merge main

* feat: update docs

* feat: remove coze-assistant

* feat: add watermark plugin

* feat: update preferences

* feat: update docs

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-07-28 14:29:05 +08:00
vince
14538f7ed5 refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
vince
a765d3bbc0 feat: new interface pendant can be configured to display hidden 2024-07-10 21:20:11 +08:00
vben
d584d4cf4e chore: update app name 2024-06-08 16:33:49 +08:00