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 @@ />
-
上一次巡检照片
+
上一次巡检照片