Skip to content

Commit e10051e

Browse files
committed
轮播图修改
1 parent 7c147bd commit e10051e

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

src/assets/image/mart-11.png

211 KB
Loading

src/assets/image/mart-22.jpg

76.4 KB
Loading

src/assets/image/mart-33.jpg

46 KB
Loading

src/assets/image/mart-44.jpg

177 KB
Loading

src/views/home/product-carousel/index.vue

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@
99
<script setup lang="ts">
1010
import { ElCarousel, ElCarouselItem } from 'element-plus'
1111
import { ref } from 'vue'
12-
import martImage1 from '@/assets/image/mart-1.png'
13-
import martImage2 from '@/assets/image/mart-2.jpg'
14-
import martImage3 from '@/assets/image/mart-3.png'
15-
import martImage4 from '@/assets/image/mart-4.png'
12+
import martImage1 from '@/assets/image/mart-11.png'
13+
import martImage2 from '@/assets/image/mart-22.jpg'
14+
import martImage3 from '@/assets/image/mart-33.jpg'
15+
import martImage4 from '@/assets/image/mart-44.jpg'
1616
17+
// const images = ref([
18+
// { url: martImage1, link: 'https://www.nenu.edu.cn/' },
19+
// { url: martImage2, link: '#' },
20+
// { url: martImage3, link: 'https://clzc.nenu.edu.cn/' },
21+
// { url: martImage4, link: 'https://clzc.nenu.edu.cn/' },
22+
// ])
1723
const images = ref([
18-
{ url: martImage1, link: 'https://www.nenu.edu.cn/' },
24+
{ url: martImage1, link: '#' },
1925
{ url: martImage2, link: '#' },
20-
{ url: martImage3, link: 'https://clzc.nenu.edu.cn/' },
21-
{ url: martImage4, link: 'https://clzc.nenu.edu.cn/' },
26+
{ url: martImage3, link: '#' },
27+
{ url: martImage4, link: '#' },
2228
])
23-
2429
const handleClick = (url: string) => {
2530
window.open(url, '_blank')
2631
}

0 commit comments

Comments
 (0)