diff --git a/index.html b/index.html index 744d837..82836f8 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ * @Author: donghao donghao@supervision.ltd * @Date: 2024-01-12 14:35:28 * @LastEditors: donghao donghao@supervision.ltd - * @LastEditTime: 2024-01-19 10:36:56 + * @LastEditTime: 2024-01-22 16:41:52 * @FilePath: \General-AI-Platform-Web-Client\index.html * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -18,10 +18,10 @@ /> pure-admin-thin - + + + diff --git a/src/views/computePowerAllocation/components/computePowerCube.vue b/src/views/computePowerAllocation/components/computePowerCube.vue new file mode 100644 index 0000000..ef7d867 --- /dev/null +++ b/src/views/computePowerAllocation/components/computePowerCube.vue @@ -0,0 +1,205 @@ + + + + + + diff --git a/src/views/computePowerAllocation/components/computePowerCube0.vue b/src/views/computePowerAllocation/components/computePowerCube0.vue new file mode 100644 index 0000000..532b6db --- /dev/null +++ b/src/views/computePowerAllocation/components/computePowerCube0.vue @@ -0,0 +1,227 @@ + + + + + + diff --git a/src/views/computePowerAllocation/components/computePowerType.vue b/src/views/computePowerAllocation/components/computePowerType.vue new file mode 100644 index 0000000..db635e1 --- /dev/null +++ b/src/views/computePowerAllocation/components/computePowerType.vue @@ -0,0 +1,104 @@ + + + + + + diff --git a/src/views/computePowerAllocation/computePowerAllocation.scss b/src/views/computePowerAllocation/computePowerAllocation.scss index 7fa7811..95644df 100644 --- a/src/views/computePowerAllocation/computePowerAllocation.scss +++ b/src/views/computePowerAllocation/computePowerAllocation.scss @@ -1,4 +1,81 @@ .computePowerAllocation_wrap { - // background-color: red; height: 100%; + + // padding-top: calc(50vh - 330px - 48px); + .computePowerAllocation_body { + border-radius: 12px; + background: rgba(21, 77, 221, 0.05); + width: 1080px; + height: 660px; + margin: 0 auto; + } + + .computePower_header { + text-align: center; + position: relative; + height: 46px; + + & > span { + position: absolute; + line-height: 46px; + font-size: 24px; + font-weight: 700; + background: linear-gradient(180deg, #014be6 0%, #014be6 100%); + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + } + } + + .computePower_banner { + padding: 32px 32px 0; + + .banner_left { + .banner_group { + & > li { + width: 266px; + height: 88px; + border-radius: 8px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1); + position: relative; + overflow: hidden; + + .bg_banner_group_logo { + width: 266px; + height: 166.25px; + top: -38px; + position: absolute; + left: 52px; + background: url("@/assets/computePower/computerTypeLogo.png") + no-repeat 0 0; + background-size: cover; + opacity: 0.05; + } + } + } + } + + .bg_banner_center { + width: 360px; + height: 360px; + background: url("@/assets/computePower/banner.png"); + background-repeat: no-repeat; + background-size: contain; + } + + .banner_right { + .computePowerCube_wrap { + padding: 16px; + width: 266px; + height: 400px; + border-radius: 8px; + background-color: white; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1); + } + } + } + + .computePower_footer { + padding: 10px; + } } diff --git a/src/views/computePowerAllocation/index.vue b/src/views/computePowerAllocation/index.vue index 9084966..31392b5 100644 --- a/src/views/computePowerAllocation/index.vue +++ b/src/views/computePowerAllocation/index.vue @@ -1,23 +1,143 @@ + diff --git a/src/views/computePowerAllocation/typing.ts b/src/views/computePowerAllocation/typing.ts new file mode 100644 index 0000000..93925d6 --- /dev/null +++ b/src/views/computePowerAllocation/typing.ts @@ -0,0 +1,16 @@ +/* + * @Author: donghao donghao@supervision.ltd + * @Date: 2024-01-22 13:30:43 + * @LastEditors: donghao donghao@supervision.ltd + * @LastEditTime: 2024-01-22 13:30:53 + * @FilePath: \General-AI-Platform-Web-Client\src\views\computePowerAllocation\typing.ts + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ + +export type ComputePowerPoolItem = { + name: string; + type: number; // 类别 + color?: string; // + proportion: number; + pretreatmentEfficiency?: number; +}; diff --git a/src/views/demo/cube.vue b/src/views/demo/cube.vue index 84af7a7..2d667a2 100644 --- a/src/views/demo/cube.vue +++ b/src/views/demo/cube.vue @@ -35,7 +35,7 @@ const fetchPathValByHeight = val => { }; diff --git a/src/views/device/index.vue b/src/views/device/index.vue index a4c7f1b..e7545d2 100644 --- a/src/views/device/index.vue +++ b/src/views/device/index.vue @@ -106,10 +106,10 @@ onMounted(() => { + + diff --git a/src/views/login/index.vue b/src/views/login/index.vue index f9e1114..56f9752 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -16,6 +16,8 @@ import { ref, reactive, toRaw, onMounted, onBeforeUnmount } from "vue"; import { useTranslationLang } from "@/layout/hooks/useTranslationLang"; import { useDataThemeChange } from "@/layout/hooks/useDataThemeChange"; +import "./login.scss"; + import dayIcon from "@/assets/svg/day.svg?component"; import darkIcon from "@/assets/svg/dark.svg?component"; import globalization from "@/assets/svg/globalization.svg?component"; @@ -84,9 +86,8 @@ onBeforeUnmount(() => { + diff --git a/src/views/workbench/components/SwiperShow.vue b/src/views/workbench/components/SwiperShow.vue index 54ede9e..c1fb793 100644 --- a/src/views/workbench/components/SwiperShow.vue +++ b/src/views/workbench/components/SwiperShow.vue @@ -2,7 +2,7 @@ * @Author: donghao donghao@supervision.ltd * @Date: 2024-01-12 15:35:09 * @LastEditors: donghao donghao@supervision.ltd - * @LastEditTime: 2024-01-18 16:37:24 + * @LastEditTime: 2024-01-23 11:30:33 * @FilePath: \general-work-web\General-AI-Platform-Web-Client\src\views\workbench\components\SwiperShow.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index bef875a..29155bf 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -65,7 +65,7 @@ const dataViewList = [