first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<template lang="pug">
.Swiper
van-swipe.my-swipe(:autoplay='3000', indicator-color='white')
van-swipe-item(v-for="(v,i) in swiperList" :key="i")
div(v-if="v.id == null")
img(:src="v.img")
router-link(v-else :to="{ path: '/info', query: { id: v.id } }")
img(:src="v.img")
</template>
<script>
export default {
name: 'Swiper',
props: {
swiperList: {
type: Array,
default: []
}
},
data () {
return {}
},
async created () {
},
methods: {},
components: {}
}
</script>
<style lang="less" scoped>
//@import "~@less/page/Home.less";
img {
width: 100%;
}
</style>