From e8eafc514e92b5ca29bb4f0fa41a215619a47ab1 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Wed, 2 Jul 2025 18:09:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=E5=AE=8C?=
=?UTF-8?q?=E5=96=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home/components/center-two.vue | 86 +++++---
src/views/home/components/control-deck.vue | 109 +++++++++-
src/views/home/components/right-one.vue | 116 +++++------
.../home/components/right-two/taps-one.vue | 189 +++++++++---------
.../home/components/right-two/taps-three.vue | 168 ++++++++++------
.../home/components/right-two/taps-two.vue | 72 ++++++-
6 files changed, 484 insertions(+), 256 deletions(-)
diff --git a/src/views/home/components/center-two.vue b/src/views/home/components/center-two.vue
index a845dc2..7758c7d 100644
--- a/src/views/home/components/center-two.vue
+++ b/src/views/home/components/center-two.vue
@@ -114,33 +114,44 @@
-
-
- {{ item?.pointName }}
- {{ item?.taskTime }}
+ {{ item.pointName || '-' }}
+ {{ item.taskTime || '-' }}
+
+
+
+
{
morePanelVisible.value = true
nextTick(() => {
const tableContainer = tableContainerRef.value
- tableItemWidth.value = (tableContainer.clientWidth - 40) / 4
+
+ tableItemHeight.value = ((tableContainer.clientHeight - 10) / 2) * 0.68
+ tableItemWidth.value = (tableContainer.clientWidth - 30) / 4
console.log(tableContainer.clientWidth, 'tableContainer')
getImageInnerData()
})
@@ -249,7 +263,7 @@ const onHandleReset = () => {
ranger.value = null
innerQueryParams.value = {
page: 1,
- pageSize: 10,
+ pageSize: 8,
startTime: '',
endTime: '',
pointName: '',
@@ -289,7 +303,8 @@ onUnmounted(() => {
.marquee-outer {
flex: 1;
width: 100%;
- overflow: hidden;
+ overflow: auto;
+
margin-top: 12px;
}
@@ -393,7 +408,9 @@ onUnmounted(() => {
.more-panel-card {
width: 80%;
- // height: 80vh;
+ height: 80vh;
+ display: flex;
+ flex-direction: column;
background: url('@/assets/home-imgs/modal-bg.png') no-repeat center center;
background-size: 100% 100%;
}
@@ -405,16 +422,32 @@ onUnmounted(() => {
}
.table-container {
- // height: 75%;
- // min-height: 50vh;
+ width: 100%;
+ height: 70%;
display: flex;
flex-wrap: wrap;
color: #fff;
+ overflow: auto;
+ // 优化一下滚动条
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+ &::-webkit-scrollbar-thumb {
+ background-color: #6e90a9;
+ }
+
+ // 优化滚动条
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+ &::-webkit-scrollbar-thumb {
+ background-color: #6e90a9;
+ }
.table-item {
flex-shrink: 0;
- // width: calc((100% - 30px) / 4);
- // height: calc((100% - 20px) / 2);
+ width: calc((100% - 30px) / 4);
+ height: calc((100% - 20px) / 2);
margin-right: 10px;
margin-bottom: 10px;
border-radius: 5px;
@@ -423,24 +456,13 @@ onUnmounted(() => {
align-items: center;
justify-content: space-between;
overflow: hidden;
+ .item-image {
+ width: 100%;
+ height: 60px;
+ flex-shrink: 0;
- // .item-image {
- // // width: 100%;
- // height: 150px;
- // flex-shrink: 0;
-
- // /* 确保Naive UI的n-image组件完全填充 */
- // :deep(.n-image) {
- // // width: 100%;
- // display: block;
-
- // img {
- // // width: 100%;
- // // height: v-bind(imageHeight);
- // object-fit: cover;
- // }
- // }
- // }
+ /* 确保Naive UI的n-image组件完全填充 */
+ }
.table-item-title {
width: 100%;
diff --git a/src/views/home/components/control-deck.vue b/src/views/home/components/control-deck.vue
index 45810fa..b4c62d7 100644
--- a/src/views/home/components/control-deck.vue
+++ b/src/views/home/components/control-deck.vue
@@ -284,9 +284,10 @@
@@ -317,7 +318,45 @@
- 播放类型
+
+
+
+
+
+
+ 循环播放
+ 次数播放
+
+
+
+
+
+
+
+
+ 确定
+
+ 取消
+
+
+
+