- <video id="video" src='{{url}}' title="{{title}}" initial-time='{{time}}' bindtimeupdate='timeupdate' bindended='end' controls="false"></video>
- <view class="main_title">{{title}}</view>
- <!-- 相关视频推荐 -->
- <navigator class="test" wx:for="{{recommend}}" wx:key="*this" url="../video/video?title={{item.title}}&&url={{item.url}}&&time={{item.finished_time}}&id={{item.id}}">
- <view class="title">{{item.title}}</view>
- <text>{{item.credit}}学时/{{item.total_time}}分钟</text>
- <view class="score" wx:if='{{item.mark_status == 1}}'>
- <image src="../../images/gou.png" mode="widthFix"></image> 已完成
- </view>
- <view class="score" wx:else>
- <navigator>立即观看</navigator>
- </view>
- </navigator>
|