|
@@ -2,13 +2,14 @@
|
|
|
<view class="show-list">
|
|
|
<view class="show-box" wx:for="{{list}}" wx:key="index">
|
|
|
<view class="show-img" bindtap="doPlay" data-url="{{item.playUrl}}">
|
|
|
- <image mode="aspectFill" src="{{item.imgUrl}}"></image>
|
|
|
+ <video poster="{{item.imgUrl}}" src="{{item.src}}" controls="true"></video>
|
|
|
</view>
|
|
|
<view class="show-title-view">
|
|
|
<view class="show-title">{{item.title}}</view>
|
|
|
<view class="zan-view" bindtap="doThumbsUp" data-id="{{item.videoId}}">
|
|
|
<view class="zan-img">
|
|
|
- <image src="/images/zan.png" ></image>
|
|
|
+ <image src="/images/zan.png" wx:if="{{item.goodCount <= 0}}" ></image>
|
|
|
+ <image src="/images/cur-zan.png" ex:else></image>
|
|
|
</view>
|
|
|
<view class="zan-num">{{item.goodCount}}</view>
|
|
|
</view>
|