diff --git a/index.html b/index.html index d6bbf85..e99845b 100644 --- a/index.html +++ b/index.html @@ -43,13 +43,13 @@ - - - - - - - + + + + + + + diff --git a/package.json b/package.json index cc78ac1..84bbcb2 100644 --- a/package.json +++ b/package.json @@ -106,6 +106,7 @@ "fabric": "^4.6.0", "fast-xml-parser": "^5.2.5", "file-saver": "^2.0.5", + "flv.js": "^1.6.2", "highlight.js": "^11.9.0", "js-base64": "3.7.7", "js-md5": "^0.8.3", diff --git a/src/api/demo/ailist.ts b/src/api/demo/ailist.ts index 28a1436..396b19f 100644 --- a/src/api/demo/ailist.ts +++ b/src/api/demo/ailist.ts @@ -7,6 +7,8 @@ enum Api { AddAlgorithmsRepository = '/api/AlgorithmsRepository/AddAlgorithmsRepository', // 修改算法 UpdateAlgorithmsRepository = '/api/AlgorithmsRepository/UpdateAlgorithmsRepository', + // 删除算法 + DeleteAlgorithmsRepository = '/api/AlgorithmsRepository/DeleteAlgorithmsRepository' } export const GetAlgorithmsRepositoryList = (params) => defHttp.get({ @@ -20,4 +22,8 @@ export const AddAlgorithmsRepository = (params) => defHttp.post({ export const UpdateAlgorithmsRepository = (params) => defHttp.post({ url: Api.UpdateAlgorithmsRepository, params, +}); +export const DeleteAlgorithmsRepository = (params) => defHttp.post({ + url: `${Api.DeleteAlgorithmsRepository}?id=${params.id}`, + params, }); \ No newline at end of file diff --git a/src/views/demo/aiachievement/ShowImage.vue b/src/views/demo/aiachievement/ShowImage.vue index 495fee7..cd032da 100644 --- a/src/views/demo/aiachievement/ShowImage.vue +++ b/src/views/demo/aiachievement/ShowImage.vue @@ -2,13 +2,14 @@
@@ -47,7 +48,7 @@ onMounted(() => { .show-image-div { width: calc(100% - 417px); height: 185px; - padding: 23px 25px 22px 25px; + padding: 23px 25px 0px 25px; position: absolute; bottom: 0px; left: 417px; @@ -56,7 +57,7 @@ onMounted(() => { /* 核心:横向滚动 */ display: flex; - overflow-x: auto; + // overflow-x: auto; overflow-y: hidden; white-space: nowrap; gap: 22px; @@ -70,6 +71,22 @@ onMounted(() => { border-radius: 10px; } } +.show-image-div::-webkit-scrollbar { + height: 12px; /* 横向滚动条高度 */ +} + +.show-image-div::-webkit-scrollbar-track { + background: transparent; /* 滚动条轨道背景 */ +} + +.show-image-div::-webkit-scrollbar-thumb { + background-color: rgb(255, 255, 255); /* 滚动条颜色 */ + border-radius: 4px; +} + +.show-image-div::-webkit-scrollbar-thumb:hover { + background-color: rgb(255, 255, 255); +} .image-item { border-radius: 10px; diff --git a/src/views/demo/aiachievement/pathLeftMenu.vue b/src/views/demo/aiachievement/pathLeftMenu.vue index ef313a2..9f5f6a0 100644 --- a/src/views/demo/aiachievement/pathLeftMenu.vue +++ b/src/views/demo/aiachievement/pathLeftMenu.vue @@ -3,14 +3,19 @@
AI成果
- +
-
+
@@ -31,33 +36,102 @@
+
加载中...
+
没有更多数据了
diff --git a/src/views/demo/workmanagement/inspection/src/VideoStreamComponent.vue b/src/views/demo/workmanagement/inspection/src/VideoStreamComponent.vue index 1d9ccea..fd36045 100644 --- a/src/views/demo/workmanagement/inspection/src/VideoStreamComponent.vue +++ b/src/views/demo/workmanagement/inspection/src/VideoStreamComponent.vue @@ -7,15 +7,9 @@
- +
+ +
@@ -25,25 +19,18 @@
- +
+ +