<template>
<view>
<!-- 自定义导航栏 -->
<nav-custom></nav-custom>
<!-- 轮播 -->
<swiper class="banner" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
<swiper-item v-for="(index,item) in 3">
<image src="../../static/logo.png" mode=""></image>
</swiper-item>
</swiper>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.banner{
height: 1000upx;
swiper-item{
height: 1000upx;
}
image{
width: 100%;
height:1000upx
}
}
.title{
color: red;
}
</style>