mer
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
src="{{lists[currentIndex].video}}"
|
src="{{lists[currentIndex].video}}"
|
||||||
loop="{{true}}"
|
loop="{{true}}"
|
||||||
controls="{{false}}"
|
controls="{{false}}"
|
||||||
show-center-play-btn="{{true}}"
|
show-center-play-btn="{{false}}"
|
||||||
enable-play-gesture="{{true}}"
|
enable-play-gesture="{{true}}"
|
||||||
/>
|
/>
|
||||||
<block wx:if="{{lists[currentIndex].type=='pictures'}}">
|
<block wx:if="{{lists[currentIndex].type=='pictures'}}">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</block>
|
</block>
|
||||||
<view class="zanting" catch:tap="onVideoPause" wx:if="{{!playing}}">
|
<view class="zanting" catch:tap="onVideoPause" wx:if="{{!playing && lists[currentIndex].video != ''}}" >
|
||||||
<image src="/static/imgs/icon-zanting.png" mode="widthFix"/>
|
<image src="/static/imgs/icon-zanting.png" mode="widthFix"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user