+
+
+
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 @@
+
+
+
+
+
+
+
+
+ 可根据检测项重要性调整滑块以 配置各算法所占用的算力比例,
+ 达到目标运算需求
+
+
+
+
+
+ -
+
+
+
+
+
+ {{ v.proportion }}%{{ v.name }}
+
+
+
+
+
+
+ {{ v.proportion }}%{{ v.name }}
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
+
+
+
{{ currentInfo.name }}:
+
{{ currentInfo.proportion }}%
+
+ 预计处理效率: {{ currentInfo.pretreatmentEfficiency }}帧/秒
+
+
+
+
+
+
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 @@
+
-
-
-
![]()
+
+
+
+
+
+
硬件组成
+
+ -
+
+
{{ v.label }}
+
+
+
+
+
+
+
+
+
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 => {
};
-
+
-