From c7874326c5efc10fc479705bc721edca3ecefc7c Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 1 Sep 2025 10:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/components/right-two/index.vue | 34 +++++++++++++++++-- .../home/components/right-two/taps-three.vue | 23 +++++++++---- 2 files changed, 47 insertions(+), 10 deletions(-) diff --git a/src/views/home/components/right-two/index.vue b/src/views/home/components/right-two/index.vue index 544d08f..0a582ed 100644 --- a/src/views/home/components/right-two/index.vue +++ b/src/views/home/components/right-two/index.vue @@ -9,10 +9,11 @@
{{ item.title }} @@ -188,7 +189,33 @@ const getTaskStatisticsData = async () => { getTaskStatisticsData() const onHandleMore = () => { - console.log('更多') + // console.log('更多') + // jumpType.value = null + currentComponent.value = 'comp-a' + morePanelVisible.value = true +} + +// 点击跳转 +const onHandleClickJump = (item, index) => { + switch (index) { + case 0: + activeIndex.value = 0 + currentComponent.value = 'comp-a' + break + case 1: + activeIndex.value = 1 + currentComponent.value = 'comp-b' + break + case 2: + activeIndex.value = 2 + currentComponent.value = 'comp-c' + break + case 3: + activeIndex.value = 2 + currentComponent.value = 'comp-c' + break + } + morePanelVisible.value = true } @@ -228,6 +255,7 @@ const onHandleTabs = (component, index) => { color: #b9e8fe; background: url('@/assets/home-imgs/border_bg.png') no-repeat center center; background-size: 100% 100%; + cursor: pointer; } .item-1 { diff --git a/src/views/home/components/right-two/taps-three.vue b/src/views/home/components/right-two/taps-three.vue index 0bc159f..0bbeea0 100644 --- a/src/views/home/components/right-two/taps-three.vue +++ b/src/views/home/components/right-two/taps-three.vue @@ -14,11 +14,19 @@ /> - --> + + @@ -51,11 +59,7 @@
- +
@@ -68,7 +72,7 @@ />
-
上一次巡检照片
+
上一次巡检照片