From dce7af99abe46d42cb874fe3bb88f29a760e4c76 Mon Sep 17 00:00:00 2001 From: Nut He <18328704+hetao92@users.noreply.github.com> Date: Mon, 10 Apr 2023 15:27:34 +0800 Subject: [PATCH] feat: add task create time (#531) --- app/config/locale/en-US.json | 3 ++- app/config/locale/zh-CN.json | 3 ++- app/pages/Import/TaskList/TaskItem/index.module.less | 8 ++++++++ app/pages/Import/TaskList/TaskItem/index.tsx | 11 +++++++---- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/app/config/locale/en-US.json b/app/config/locale/en-US.json index 13f6a47b..e2c79a45 100644 --- a/app/config/locale/en-US.json +++ b/app/config/locale/en-US.json @@ -63,7 +63,8 @@ "value": "Value", "continue": "Continue", "update": "Update", - "prev": "Previous" + "prev": "Previous", + "createTime": "Create Time" }, "doc": { "welcome": "Welcome to", diff --git a/app/config/locale/zh-CN.json b/app/config/locale/zh-CN.json index 6360f2f8..b7e22fb0 100644 --- a/app/config/locale/zh-CN.json +++ b/app/config/locale/zh-CN.json @@ -63,7 +63,8 @@ "value": "值", "continue": "继续", "update": "更新", - "prev": "上一步" + "prev": "上一步", + "createTime": "创建时间" }, "doc": { "welcome": "欢迎使用", diff --git a/app/pages/Import/TaskList/TaskItem/index.module.less b/app/pages/Import/TaskList/TaskItem/index.module.less index a3488b81..d87c31a7 100644 --- a/app/pages/Import/TaskList/TaskItem/index.module.less +++ b/app/pages/Import/TaskList/TaskItem/index.module.less @@ -14,8 +14,16 @@ color: @darkGray; margin-bottom: 15px; align-items: center; + .createTime { + font-weight: 600; + font-size: 14px; + color: #8697B0; + font-family: Roboto-Light, serif; + margin-right: 15px; + } :global(.ant-btn-link) { color: @darkGray; + font-weight: 800; } } .progress { diff --git a/app/pages/Import/TaskList/TaskItem/index.tsx b/app/pages/Import/TaskList/TaskItem/index.tsx index 431a9726..7b20b85d 100644 --- a/app/pages/Import/TaskList/TaskItem/index.tsx +++ b/app/pages/Import/TaskList/TaskItem/index.tsx @@ -92,10 +92,13 @@ const TaskItem = (props: IProps) => {