2020-11-02 09:51:40 +08:00

30 lines
648 B
Markdown

---
layout: templateLayout
---
```vue
<template>
<Carousel :data="list" :interval="interval"></Carousel>
</template>
<script>
import banner_ad from "../../images/banner_ad.png"
import banner_apply from "../../images/banner_apply.png"
import banner_tips from "../../images/banner_tips.png"
export default {
data(){
return {
interval: 3000,
list: [{
image: banner_ad,
link: ''
},{
image: banner_apply,
link: ''
},{
image: banner_tips,
link: ''
}]
}
}
}
</script>
```