Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
fix: 图片失效修复
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKitano committed Apr 11, 2024
1 parent 5eb8958 commit 9a9b9cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
22 changes: 5 additions & 17 deletions src/views/about/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,11 @@
<h1 align="center">该项目后端部分使用以下技术栈进行开发</h1>
<el-image
style="width: 33.3333%"
:src="backendImages[0]"
v-for="(image, index) in backendImages"
:key="image"
:src="image"
:preview-src-list="backendImages"
:initial-index="0"
loading="lazy"
/>
<el-image
style="width: 33.3333%"
:src="backendImages[1]"
:preview-src-list="backendImages"
:initial-index="1"
loading="lazy"
/>
<el-image
style="width: 33.3333%"
:src="backendImages[2]"
:preview-src-list="backendImages"
:initial-index="2"
:initial-index="index"
loading="lazy"
/>
</el-tab-pane>
Expand All @@ -84,7 +72,7 @@
</template>
<script setup lang="ts">
const currentTab = ref('front')
const backendImages = ['/about/backend1.png', '/about/backend2.png', '/about/backend3.png']
const backendImages = ['/about_images/backend1.png', '/about_images/backend2.png', '/about_images/backend3.png']
</script>
<style lang="scss" scoped>
@media (min-width: 1024px) {
Expand Down

0 comments on commit 9a9b9cf

Please sign in to comment.