fix: 修复设备准备图片路径问题

This commit is contained in:
zhongyidian committed 2025-09-18 10:40:12 +08:00
1 parent 297af7b482
commit 239a8c87f2
1 file changed
+7 -7
@@ -85,7 +85,7 @@
</div>
</template>
<script lang="tsx" setup>
import { getBackgroundImage, IMAGE_PATHS } from '@/utils'
import { getBackgroundImage, getStaticImage, IMAGE_PATHS } from '@/utils'
import { GuideSteps, GuideStepsItem } from '@/components/Guide'
import { ref, computed } from 'vue'
const steps = [
@@ -97,18 +97,18 @@ const hiddenbar = ref(false)
const currentIndex = ref(0) // 当前显示的图片索引
const phoneList = ref([
{ phoneImg: '/src/assets/images/equipment/设备-手机1.png' },
{ phoneImg: '/src/assets/images/equipment/设备-手机2.png' }
{ phoneImg: getStaticImage('equipment/设备-手机1.png') },
{ phoneImg: getStaticImage('equipment/设备-手机2.png') }
])
const platetitleList = ref([
{ title: '/src/assets/images/equipment/标题-苹果.png' },
{ title: '/src/assets/images/equipment/标题-安卓小米.png' }
{ title: getStaticImage('equipment/标题-苹果.png') },
{ title: getStaticImage('equipment/标题-安卓小米.png') }
])
const platetextList = ref([
{ text: '/src/assets/images/equipment/内容-苹果.png' },
{ text: '/src/assets/images/equipment/内容-安卓小米.png' }
{ text: getStaticImage('equipment/内容-苹果.png') },
{ text: getStaticImage('equipment/内容-安卓小米.png') }
])
const hiddenbarclick = () => {
hiddenbar.value = !hiddenbar.value