From 28a945d3c6ce846674cfadaeac87c92eabc0bfc1 Mon Sep 17 00:00:00 2001 From: songjianyang <2910984297@qq.com> Date: Wed, 17 Sep 2025 21:50:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=AD=E6=9C=9F=E6=8B=8D=E6=91=84-?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=87=86=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../midterm-shooting/equipment/index.vue | 181 ++++++++++++++++-- 1 file changed, 160 insertions(+), 21 deletions(-) diff --git a/src/views/midterm-shooting/equipment/index.vue b/src/views/midterm-shooting/equipment/index.vue index 979376b..544a247 100644 --- a/src/views/midterm-shooting/equipment/index.vue +++ b/src/views/midterm-shooting/equipment/index.vue @@ -12,6 +12,7 @@ + 手机支架
@@ -21,20 +22,52 @@ :class="hiddenbar ? 'equipment-unfold1' : 'equipment-unfold2'" @click="hiddenbarclick()" > - + +
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ + +
+
+ + +
- + { hiddenbar.value = !hiddenbar.value } + +// 下一张图片 +const nextPhone = () => { + if (currentIndex.value < phoneList.value.length - 1) { + currentIndex.value++ + } +} + +// 上一张图片 +const prevPhone = () => { + if (currentIndex.value > 0) { + currentIndex.value-- + } +} + interface SimpleStep { id: string content: string } + const handleStepChange = (_step: SimpleStep | null, index: number) => { stepIndex.value = index } + const currentHighlight = computed(() => stepIndex.value === 0 ? '.img-switch-item--vlog' : '.work-border' )