|
@@ -18,7 +18,8 @@
|
|
<view class="text">删除</view>
|
|
<view class="text">删除</view>
|
|
</view>
|
|
</view>
|
|
<view class="wH-right-btn" bindtap="setVideoPublic">
|
|
<view class="wH-right-btn" bindtap="setVideoPublic">
|
|
- <image class="img" style="width:30rpx" src="{{videoInfo.userRead.status==='NORMAL'? '/static/unlock.png': '/static/lock.png'}}" />
|
|
|
|
|
|
+ <image class="img" style="width:30rpx"
|
|
|
|
+ src="{{videoInfo.userRead.status==='NORMAL'? '/static/unlock.png': '/static/lock.png'}}" />
|
|
<view class="text">
|
|
<view class="text">
|
|
{{videoInfo.userRead.status==='NORMAL'? '公开': '私密'}}
|
|
{{videoInfo.userRead.status==='NORMAL'? '公开': '私密'}}
|
|
</view>
|
|
</view>
|
|
@@ -33,19 +34,22 @@
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
</view>
|
|
</view>
|
|
<!--未播放-->
|
|
<!--未播放-->
|
|
- <view class="videoBox" wx:if="{{videoInfo.userRead.status!='CHECK'&&videoInfo.userRead.id!=currentId}}" bindtap="playVideo">
|
|
|
|
|
|
+ <view class="videoBox" wx:if="{{videoInfo.userRead.status!='CHECK'&&videoInfo.userRead.id!=currentId}}"
|
|
|
|
+ bindtap="playVideo">
|
|
<image class="play" src="/static/play-btn.png" />
|
|
<image class="play" src="/static/play-btn.png" />
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
</view>
|
|
</view>
|
|
<!-- 播放时渲染的video -->
|
|
<!-- 播放时渲染的video -->
|
|
- <video class="video" id="myVideo" wx:if="{{videoInfo.userRead.id==currentId}}" src="{{videoInfo.userRead.videoPath}}" autoplay="true" object-fit="contain">
|
|
|
|
|
|
+ <video class="video" id="myVideo" wx:if="{{videoInfo.userRead.id==currentId}}"
|
|
|
|
+ src="{{videoInfo.userRead.videoPath}}" autoplay="true" object-fit="contain">
|
|
</video>
|
|
</video>
|
|
</view>
|
|
</view>
|
|
<view class="workFooter">
|
|
<view class="workFooter">
|
|
<view class="mange" wx:if="{{videoInfo.userRead.status!='CHECK'}}">
|
|
<view class="mange" wx:if="{{videoInfo.userRead.status!='CHECK'}}">
|
|
<view class="mangeL" bindtap="collect">
|
|
<view class="mangeL" bindtap="collect">
|
|
<view class="mangeL-box">
|
|
<view class="mangeL-box">
|
|
- <image src="{{videoInfo.isFavorites ? '/static/star_colored.png' : '/static/star.png'}}" mode="" class="icon" />
|
|
|
|
|
|
+ <image src="{{videoInfo.isFavorites ? '/static/star_colored.png' : '/static/star.png'}}" mode=""
|
|
|
|
+ class="icon" />
|
|
<view class="icon-name">{{item.isFavorites}}</view>
|
|
<view class="icon-name">{{item.isFavorites}}</view>
|
|
</view>
|
|
</view>
|
|
<button class="resetBtn mangeL-box" open-type="share" data-info='{{videoInfo}}'>
|
|
<button class="resetBtn mangeL-box" open-type="share" data-info='{{videoInfo}}'>
|
|
@@ -55,7 +59,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="mangeL">
|
|
<view class="mangeL">
|
|
<view class="mangeL-box" bindtap="likeVideo">
|
|
<view class="mangeL-box" bindtap="likeVideo">
|
|
- <image src="{{videoInfo.isLike ? '/static/heart_colored.png' : '/static/heart.png'}}" mode="" class="icon" />
|
|
|
|
|
|
+ <image src="{{videoInfo.isLike ? '/static/heart_colored.png' : '/static/heart.png'}}" mode=""
|
|
|
|
+ class="icon" />
|
|
<view class="icon-name">{{filters.numFilter(videoInfo.userRead.likeAmount)}}</view>
|
|
<view class="icon-name">{{filters.numFilter(videoInfo.userRead.likeAmount)}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="mangeL-box" bindtap="openComment">
|
|
<view class="mangeL-box" bindtap="openComment">
|