|
@@ -18,8 +18,7 @@
|
|
|
<view class="text">删除</view>
|
|
|
</view>
|
|
|
<view class="wH-right-btn" bindtap="setVideoPublic">
|
|
|
- <image class="img" style="width:30rpx"
|
|
|
- src="{{videoInfo.userRead.status==='NORMAL'? '/static/index/unlock.png': '/static/index/lock.png'}}" />
|
|
|
+ <image class="img" style="width:30rpx" src="{{videoInfo.userRead.status==='NORMAL'? '/static/index/unlock.png': '/static/index/lock.png'}}" />
|
|
|
<view class="text">
|
|
|
{{videoInfo.userRead.status==='NORMAL'? '公开': '私密'}}
|
|
|
</view>
|
|
@@ -34,23 +33,21 @@
|
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
|
</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/image/play-btn.png" />
|
|
|
<image class="cover" src="{{videoInfo.userRead.coverImg}}" />
|
|
|
</view>
|
|
|
<!-- 播放时渲染的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>
|
|
|
</view>
|
|
|
<view class="workFooter">
|
|
|
<view class="title">{{videoInfo.userRead.title}}</view>
|
|
|
- <view class="mange" wx:if="{{videoInfo.userRead.status!='CHECK'}}">
|
|
|
+ <!-- <view class="mange" wx:if="{{videoInfo.userRead.status!='CHECK'}}"> -->
|
|
|
+ <view class="mange">
|
|
|
<view class="mangeL" bindtap="collect">
|
|
|
<view class="mangeL-box">
|
|
|
- <image src="{{videoInfo.isFavorites ? '/static/index/star_colored.png' : '/static/index/star.png'}}"
|
|
|
- mode="" class="icon" />
|
|
|
+ <image src="{{videoInfo.isFavorites ? '/static/index/star_colored.png' : '/static/index/star.png'}}" mode="" class="icon" />
|
|
|
<view class="icon-name">{{item.isFavorites}}</view>
|
|
|
</view>
|
|
|
<button class="resetBtn mangeL-box" open-type="share" data-info='{{videoInfo}}'>
|
|
@@ -60,8 +57,7 @@
|
|
|
</view>
|
|
|
<view class="mangeL">
|
|
|
<view class="mangeL-box" bindtap="likeVideo">
|
|
|
- <image src="{{videoInfo.isLike ? '/static/index/heart_colored.png' : '/static/index/heart.png'}}"
|
|
|
- mode="" class="icon" />
|
|
|
+ <image src="{{videoInfo.isLike ? '/static/index/heart_colored.png' : '/static/index/heart.png'}}" mode="" class="icon" />
|
|
|
<view class="icon-name">{{filters.numFilter(videoInfo.userRead.likeAmount)}}</view>
|
|
|
</view>
|
|
|
<view class="mangeL-box" bindtap="openComment">
|