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