| @@ -12,10 +12,9 @@ | |||||
| </template> | </template> | ||||
| </van-nav-bar> | </van-nav-bar> | ||||
| <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white" style="width: 96%;margin: 2%;height:120px;border-radius: 6px;"> | <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white" style="width: 96%;margin: 2%;height:120px;border-radius: 6px;"> | ||||
| <van-swipe-item>1</van-swipe-item> | |||||
| <van-swipe-item>2</van-swipe-item> | |||||
| <van-swipe-item>3</van-swipe-item> | |||||
| <van-swipe-item>4</van-swipe-item> | |||||
| <van-swipe-item v-for="(image,index) in images" :key="index"> | |||||
| <img :src="image" style="width:100%;height: 120px"/> | |||||
| </van-swipe-item> | |||||
| </van-swipe> | </van-swipe> | ||||
| <van-row style="margin:2%;width:96%;padding:20px 0;border-radius: 6px;box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16); min-height: 100px;background: #fff;"> | <van-row style="margin:2%;width:96%;padding:20px 0;border-radius: 6px;box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16); min-height: 100px;background: #fff;"> | ||||
| <van-cell style="border-radius: 6px;"> | <van-cell style="border-radius: 6px;"> | ||||
| @@ -365,7 +364,7 @@ | |||||
| data() { | data() { | ||||
| return { | return { | ||||
| list1: [], | list1: [], | ||||
| images:['../../../static/images/onlineHome/tab.jpg'], | |||||
| }; | }; | ||||
| }, | }, | ||||
| } | } | ||||
| @@ -377,7 +376,6 @@ | |||||
| font-size: 20px; | font-size: 20px; | ||||
| line-height: 144px; | line-height: 144px; | ||||
| text-align: center; | text-align: center; | ||||
| background-color: #39a9ed; | |||||
| } | } | ||||
| >>>.van-grid-item__content{ | >>>.van-grid-item__content{ | ||||
| padding:0.213333rem; | padding:0.213333rem; | ||||