diff --git a/code/web/task_schedule/src/assets/css/public/color.scss b/code/web/task_schedule/src/assets/css/public/color.scss index b43a9ea..ed31f38 100644 --- a/code/web/task_schedule/src/assets/css/public/color.scss +++ b/code/web/task_schedule/src/assets/css/public/color.scss @@ -3,4 +3,6 @@ $color-bg-01: #fecb96; $color-bg-02: #f7954e; $color-bg-03: #f27620; $color-bg-04: #da3703; -$color-bg-05: #ba1800; \ No newline at end of file +$color-bg-05: #ba1800; + +$color-charts-bg:#ffffff9f; \ No newline at end of file diff --git a/code/web/task_schedule/src/assets/img/ranking/copper_medal.png b/code/web/task_schedule/src/assets/img/ranking/copper_medal.png new file mode 100644 index 0000000..a642175 Binary files /dev/null and b/code/web/task_schedule/src/assets/img/ranking/copper_medal.png differ diff --git a/code/web/task_schedule/src/assets/img/ranking/medal.png b/code/web/task_schedule/src/assets/img/ranking/medal.png new file mode 100644 index 0000000..2dd95d6 Binary files /dev/null and b/code/web/task_schedule/src/assets/img/ranking/medal.png differ diff --git a/code/web/task_schedule/src/assets/img/ranking/stop.png b/code/web/task_schedule/src/assets/img/ranking/stop.png new file mode 100644 index 0000000..299e3ac Binary files /dev/null and b/code/web/task_schedule/src/assets/img/ranking/stop.png differ diff --git a/code/web/task_schedule/src/components/ArchievementComponent.vue b/code/web/task_schedule/src/components/ArchievementComponent.vue index 075b47d..ab2c402 100644 --- a/code/web/task_schedule/src/components/ArchievementComponent.vue +++ b/code/web/task_schedule/src/components/ArchievementComponent.vue @@ -100,7 +100,7 @@ export default { #chartWrapper { min-height: 200px; width: 100%; - background-color: #ffffffaf; + background-color: $color-charts-bg; backdrop-filter: blur(10px); flex-grow: 1; border-radius: 5px; diff --git a/code/web/task_schedule/src/utils/account.ts b/code/web/task_schedule/src/utils/account.ts index c10bb93..8f6d0d1 100644 --- a/code/web/task_schedule/src/utils/account.ts +++ b/code/web/task_schedule/src/utils/account.ts @@ -9,8 +9,8 @@ */ import { type AxiosResponse } from "axios"; -import { service as instance } from "./api/request"; -import { API_URL } from "./api/config"; +import { service as instance } from "./api/request.js"; +import { API_URL } from "./api/config.js"; interface LoginInfo { p13account: string; diff --git a/code/web/task_schedule/src/utils/api/config.ts b/code/web/task_schedule/src/utils/api/config.ts index 7b14597..231e2b9 100644 --- a/code/web/task_schedule/src/utils/api/config.ts +++ b/code/web/task_schedule/src/utils/api/config.ts @@ -8,5 +8,6 @@ * Copyright (c) ${2022} by Kane, All Rights Reserved. */ export const API_URL = { - URL_LOGIN: import.meta.env.VITE_URL_LOGIN, + // URL_LOGIN: import.meta.env.VITE_URL_LOGIN, + URL_LOGIN: "http://222.76.244.118:11001/admin-system/account/p13_account_check", }; diff --git a/code/web/task_schedule/src/utils/api/localStorage.ts b/code/web/task_schedule/src/utils/api/localStorage.ts index 2ac0b18..58fb8ba 100644 --- a/code/web/task_schedule/src/utils/api/localStorage.ts +++ b/code/web/task_schedule/src/utils/api/localStorage.ts @@ -7,7 +7,7 @@ * * Copyright (c) ${2022} by Kane, All Rights Reserved. */ -import { StaffInfo } from "@/data/cpicxim/StaffInfo"; +import { StaffInfo } from "@/data/cpicxim/StaffInfo.js"; const STUFF_ITEM = "stuff_info"; diff --git a/code/web/task_schedule/tsconfig.json b/code/web/task_schedule/tsconfig.json index d8b95a8..32d9635 100644 --- a/code/web/task_schedule/tsconfig.json +++ b/code/web/task_schedule/tsconfig.json @@ -13,7 +13,7 @@ "useDefineForClassFields": true, "target": "ESNext", "module": "ESNext", - "moduleResolution": "node", + "moduleResolution": "nodenext", "strict": true, "jsx": "preserve", "sourceMap": true, @@ -26,8 +26,8 @@ ], }, "lib": [ - "esnext", - "dom" + "ESNext", + "DOM" ], "types": [ "vite/client" @@ -41,4 +41,7 @@ "src/router/index.js", "src/router/index.js", ], + "exclude": [ + "./node_modules", + ] } \ No newline at end of file