feat(web-antd): 德润谷云物联平台定制

- 更新应用标题和命名空间
- 修改登录页面文案
- 添加用户信息列表和模态组件
- 更新 logo 和版权信息
- 调整登录页面布局
This commit is contained in:
fhysy 2025-08-01 17:14:18 +08:00
parent 6283f719ac
commit f53bed6616
9 changed files with 29 additions and 10 deletions

View File

@ -1,8 +1,8 @@
# 应用标题
VITE_APP_TITLE=Plus Admin
VITE_APP_TITLE=德润谷云物联平台
# 应用命名空间用于缓存、store等功能的前缀确保隔离
VITE_APP_NAMESPACE=vben-web-antd
VITE_APP_NAMESPACE=drgyen-web-antd
# 对store进行加密的密钥在将store持久化到localStorage时会使用该密钥进行加密
VITE_APP_STORE_SECURE_KEY=please-replace-me-with-your-own-key

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -8,7 +8,7 @@ import { App, ConfigProvider, theme } from 'ant-design-vue';
import { antdLocale } from '#/locales';
import { useUploadTip } from './upload-tip';
// import { useUploadTip } from './upload-tip';
defineOptions({ name: 'App' });
@ -31,7 +31,7 @@ const tokenTheme = computed(() => {
};
});
useUploadTip();
// useUploadTip();
</script>
<template>

View File

@ -0,0 +1,4 @@
{
"pageTitle": "IoT device connection platform",
"pageDesc": "Multi-protocol, multi-type, configurable device connection platform"
}

View File

@ -0,0 +1,4 @@
{
"pageTitle": "物联网设备连接平台",
"pageDesc": "多协议、多类型、可配置的设备连接平台"
}

View File

@ -65,8 +65,17 @@ export const overridesPreferences = defineOverridesPreferences({
*
* !!!
*/
// logo: {
// enable: true,
// source: '',
// },
logo: {
enable: true,
source: '/logo.webp',
},
copyright: {
companyName: '德润谷云',
companySiteLink: 'http://www.drgyen.com/',
date: '2025',
enable: true,
icp: '',
icpLink: '',
settingShow: true,
},
});

View File

@ -169,7 +169,9 @@ async function handleAccountLogin(values: LoginAndRegisterParams) {
:form-schema="formSchema"
:loading="authStore.loginLoading"
:show-register="false"
:show-third-party-login="true"
:show-third-party-login="false"
:show-code-login="false"
:show-qrcode-login="false"
@submit="handleAccountLogin"
>
<!-- 可通过show-third-party-login控制是否显示第三方登录 -->

View File

@ -27,7 +27,7 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
target: 'http://192.168.1.17:8888',
target: 'http://192.168.1.17:6666',
ws: true,
},
},