feat: 添加员工门户项目及相关后端改造
- 新增 hzhub-portal-employee 员工门户前端项目(基于 Vue3 + Element Plus) - 后端登录接口增加返回 nickName 字段 - 移除 KnowledgeInfoController 的 @SaCheckPermission 注解 - 删除 hzhub-portal-company 旧门户项目 - 更新项目文档和架构说明 - 添加后台运行管理脚本(start-all.sh / status-all.sh / stop-all.sh) - 更新 docker-compose 配置 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
hzhub-portal-employee/uno.config.ts
Normal file
15
hzhub-portal-employee/uno.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'unocss';
|
||||
|
||||
export default defineConfig({
|
||||
// ...UnoCSS options
|
||||
// 一些实用的自定义组合
|
||||
shortcuts: {
|
||||
'm-0-auto': 'm-0 ma', // margin: 0 auto
|
||||
'wh-full': 'w-full h-full', // width: 100%, height: 100%
|
||||
'flex-center': 'flex justify-center items-center', // flex布局居中
|
||||
'flex-x-center': 'flex justify-center', // flex布局:主轴居中
|
||||
'flex-y-center': 'flex items-center', // flex布局:交叉轴居中
|
||||
'text-overflow': 'overflow-hidden whitespace-nowrap text-ellipsis', // 文本溢出显示省略号
|
||||
'text-break': 'whitespace-normal break-all break-words', // 文本溢出换行
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user