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' )