Initial commit: X-Server Mobile enterprise tool system

- Frontend: React 18 + TypeScript + Vite + Ant Design Mobile
- Backend: PHP 8.5 + Webman 2.x + MySQL + Redis
- i18n support: Chinese, English, Russian, Spanish, French
- Approval workflow engine
- Docker development environment
- Feishu integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-24 17:57:25 +08:00
commit 8d78e18267
121 changed files with 18563 additions and 0 deletions
@@ -0,0 +1,154 @@
.profile {
min-height: 100vh;
padding: 16px;
padding-bottom: calc(16px + env(safe-area-inset-bottom));
background: #f5f5f5;
}
/* 用户信息卡片 */
.userCard {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
border-radius: 16px;
color: #fff;
margin-bottom: 16px;
}
.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
font-weight: 600;
}
.userInfo {
flex: 1;
}
.userName {
font-size: 18px;
font-weight: 600;
margin-bottom: 4px;
}
.userEmail {
font-size: 13px;
opacity: 0.8;
}
/* 统计数据 */
.stats {
display: flex;
gap: 12px;
margin-bottom: 16px;
}
.statItem {
flex: 1;
background: #fff;
border-radius: 12px;
padding: 16px;
text-align: center;
}
.statValue {
font-size: 24px;
font-weight: 600;
color: #1677ff;
margin-bottom: 4px;
}
.statLabel {
font-size: 12px;
color: #8c8c8c;
}
/* 功能菜单 */
.menu {
background: #fff;
border-radius: 12px;
overflow: hidden;
margin-bottom: 16px;
}
.menuItem {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid #f5f5f5;
cursor: pointer;
transition: background 0.2s;
}
.menuItem:last-child {
border-bottom: none;
}
.menuItem:active {
background: #f5f5f5;
}
.menuLeft {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
}
.menuIcon {
font-size: 20px;
color: #1677ff;
}
.menuLabel {
font-size: 15px;
color: #262626;
}
.badge {
margin-left: auto;
padding: 2px 8px;
background: #ff4d4f;
color: #fff;
font-size: 11px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
.menuArrow {
font-size: 14px;
color: #bfbfbf;
}
/* 退出登录按钮 */
.logoutBtn {
width: 100%;
padding: 14px;
border: none;
border-radius: 12px;
background: #fff;
color: #ff4d4f;
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
}
.logoutBtn:active {
background: #f5f5f5;
}
/* 底部安全区域 */
.safeArea {
height: 16px;
}