Procházet zdrojové kódy

feat: 新增 status-processing 状态样式并注册入职/离职详情路由

- styles/global.scss: 新增 .status-processing(蓝色进行中)原子类,
  与 .status-pending/.status-approved/.status-rejected 并列,供流程详情页复用
- pages.json: 注册 manage/onboard-detail、manage/onboard-create、manage/resign-detail 三个详情/表单页
xieyong před 1 týdnem
rodič
revize
6258edcf5f
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 4 1
      src/pages.json
  2. 1 0
      src/styles/global.scss

+ 4 - 1
src/pages.json

@@ -17,7 +17,10 @@
     { "path": "pages/profile/edit", "style": { "navigationBarTitleText": "个人信息" } },
     { "path": "pages/employee/detail", "style": { "navigationBarTitleText": "员工资料" } },
     { "path": "pages/notice/index", "style": { "navigationBarTitleText": "通知公告" } },
-    { "path": "pages/manage/index", "style": { "navigationBarTitleText": "人事管理" } }
+    { "path": "pages/manage/index", "style": { "navigationBarTitleText": "人事管理" } },
+    { "path": "pages/manage/onboard-detail", "style": { "navigationBarTitleText": "入职详情" } },
+    { "path": "pages/manage/onboard-create", "style": { "navigationBarTitleText": "新建入职流程" } },
+    { "path": "pages/manage/resign-detail", "style": { "navigationBarTitleText": "离职详情" } }
   ],
   "globalStyle": {
     "navigationBarTextStyle": "white",

+ 1 - 0
src/styles/global.scss

@@ -34,6 +34,7 @@ button::after { border: 0; }
 .danger { color: #ee4d4d; }
 .status-tag { display: inline-flex; padding: 6rpx 14rpx; border-radius: 999rpx; font-size: 22rpx; }
 .status-pending { color: #d9780b; background: #fff5e7; }
+.status-processing { color: #1f6feb; background: #e7f0ff; }
 .status-approved { color: #07893f; background: #eaf8ef; }
 .status-rejected { color: #d73a49; background: #fff0f0; }
 .primary-btn {