Commit 977d0eef authored by 潘永坪's avatar 潘永坪

swiper1增加

parent 2c925c6a
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<!-- 开放时间 --> <!-- 开放时间 -->
<view class="opentime"> <view class="opentime">
<view class="middle-title">开放时间</view> <view class="middle-title">开放时间</view>
<uni-table border> <uni-table>
<uni-tr v-if="!times"> <uni-tr v-if="!times">
<uni-td>每天</uni-td> <uni-td>每天</uni-td>
</uni-tr> </uni-tr>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
{{items}} {{items}}
</uni-td> </uni-td>
</uni-tr> </uni-tr>
</table> </uni-table>
</view> </view>
<!-- 优待政策 --> <!-- 优待政策 -->
<view class="policy" v-if="policy"> <view class="policy" v-if="policy">
......
...@@ -20,11 +20,12 @@ ...@@ -20,11 +20,12 @@
</view> </view>
<view class="banner"> <view class="banner">
<u-swiper :list="list" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300"> <!-- <u-swiper :list="list" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300">
<view slot="indicator" class="indicator-num"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>
</u-swiper> </u-swiper> -->
<u-swiper1 :list="list" name='url'></u-swiper1>
</view> </view>
</view> </view>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment