|
@@ -39,7 +39,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 视频 -->
|
|
|
- <view class="workContent" wx:if="{{!videoInfoCopy.userReadExtend}}">
|
|
|
+ <view class="workContent" wx:if="{{!videoInfoCopy.userReadExtend||videoInfoCopy.userReadExtend.resourcesType==0}}">
|
|
|
<!-- 审核中遮罩 -->
|
|
|
<view class="videoBox" wx:if="{{videoInfoCopy.userRead.status=='CHECK'&&videoInfoCopy.userRead.id!=currentId}}">
|
|
|
<view class="maskBg"></view>
|
|
@@ -60,46 +60,44 @@
|
|
|
<!-- 音频 -->
|
|
|
<view class="workContent" wx:else>
|
|
|
<view class="audioBox">
|
|
|
- <image src="{{videoInfoCopy.userRead.coverImg}}" class="audioBg" mode="" />
|
|
|
- <view class="mask"></view>
|
|
|
- <view class="audioPlay" bindtap="audioPlay">
|
|
|
- <image src="/static/audioBg.png" class="audioPlayBg {{videoInfoCopy.userRead.id==currentId?'circle':''}}" />
|
|
|
- <image src="/static/zhen.png" class="audioPlayZhen" />
|
|
|
- <image src="{{videoInfoCopy.user.avatar}}" class="cover {{videoInfoCopy.userRead.id==currentId?'circle':''}}"
|
|
|
- mode="" />
|
|
|
- </view>
|
|
|
- <view class="titleBox">
|
|
|
- <view class="textOver">
|
|
|
- 在组件在视图层
|
|
|
- </view>
|
|
|
+ <image src=" {{videoInfoCopy.userReadExtend.backgroundVirtualImg}}" class="audioBg" mode="aspectFill" />
|
|
|
+ <view class="audioPlay" bindtap="audioPlay">
|
|
|
+ <image src="/static/audioBg.png" class="audioPlayBg {{videoInfoCopy.userRead.id==currentId?'circle':''}}" />
|
|
|
+ <image src="/static/zhen.png" class="audioPlayZhen" />
|
|
|
+ <image src="{{videoInfoCopy.userRead.coverImg}}" class="cover {{videoInfoCopy.userRead.id==currentId?'circle':''}}"
|
|
|
+ mode="" />
|
|
|
+ </view>
|
|
|
+ <view class="titleBox">
|
|
|
+ <view class="textOver">
|
|
|
+ {{videoInfoCopy.userRead.title}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="workFooter" wx:if="{{videoInfo.userRead.status!='CHECK'}}">
|
|
|
- <button class="resetBtn mangeL-box" open-type="share" data-info='{{videoInfo}}'>
|
|
|
- <image src="/static/share.png" mode="" class="icon" />
|
|
|
- <view class="icon-name">分享</view>
|
|
|
- </button>
|
|
|
- <view class="mangeL-box" bindtap="collect">
|
|
|
- <image src="{{videoInfoCopy.isFavorites ? '/static/star_colored.png' : '/static/star.png'}}" mode=""
|
|
|
- class="icon" />
|
|
|
- <view class="icon-name">{{videoInfoCopy.isFavorites?'已收藏':'收藏'}}</view>
|
|
|
- </view>
|
|
|
- <view class="mangeL-box" bindtap="openComment">
|
|
|
- <image src="/static/comment.png" mode="" class="icon" />
|
|
|
- <view class="icon-name">{{filters.numFilter(videoInfoCopy.userRead.commentAmount)}}</view>
|
|
|
- </view>
|
|
|
- <view class="mangeL-box" bindtap="likeVideo">
|
|
|
- <image src="{{videoInfoCopy.isLike ? '/static/heart_colored.png' : '/static/heart.png'}}" mode="" class="icon" />
|
|
|
- <view class="icon-name">{{filters.numFilter(videoInfoCopy.userRead.likeAmount)}}</view>
|
|
|
- </view>
|
|
|
+</view>
|
|
|
+<view class="workFooter" wx:if="{{videoInfo.userRead.status!='CHECK'}}">
|
|
|
+ <button class="resetBtn mangeL-box" open-type="share" data-info='{{videoInfo}}'>
|
|
|
+ <image src="/static/share.png" mode="" class="icon" />
|
|
|
+ <view class="icon-name">分享</view>
|
|
|
+ </button>
|
|
|
+ <view class="mangeL-box" bindtap="collect">
|
|
|
+ <image src="{{videoInfoCopy.isFavorites ? '/static/star_colored.png' : '/static/star.png'}}" mode="" class="icon" />
|
|
|
+ <view class="icon-name">{{videoInfoCopy.isFavorites?'已收藏':'收藏'}}</view>
|
|
|
</view>
|
|
|
- <view class="toReading" bindtap="toPkPage" wx:if="{{videoType=='pk'||videoType=='excellent'}}">
|
|
|
- <image src="/static/reading.png" class="reading" mode="" />
|
|
|
- <view class="reading-text">挑战PK</view>
|
|
|
+ <view class="mangeL-box" bindtap="openComment">
|
|
|
+ <image src="/static/comment.png" mode="" class="icon" />
|
|
|
+ <view class="icon-name">{{filters.numFilter(videoInfoCopy.userRead.commentAmount)}}</view>
|
|
|
</view>
|
|
|
- <view class="toReading" bindtap="toPkPage" wx:if="{{videoType=='public'}}">
|
|
|
- <image src="/static/reading.png" class="reading" mode="" />
|
|
|
- <view class="reading-text">去朗读</view>
|
|
|
+ <view class="mangeL-box" bindtap="likeVideo">
|
|
|
+ <image src="{{videoInfoCopy.isLike ? '/static/heart_colored.png' : '/static/heart.png'}}" mode="" class="icon" />
|
|
|
+ <view class="icon-name">{{filters.numFilter(videoInfoCopy.userRead.likeAmount)}}</view>
|
|
|
</view>
|
|
|
+</view>
|
|
|
+<view class="toReading" bindtap="toPkPage" wx:if="{{videoType=='pk'||videoType=='excellent'}}">
|
|
|
+ <image src="/static/reading.png" class="reading" mode="" />
|
|
|
+ <view class="reading-text">挑战PK</view>
|
|
|
+</view>
|
|
|
+<view class="toReading" bindtap="toPkPage" wx:if="{{videoType=='public'}}">
|
|
|
+ <image src="/static/reading.png" class="reading" mode="" />
|
|
|
+ <view class="reading-text">去朗读</view>
|
|
|
+</view>
|
|
|
</view>
|