123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <view class="container">
- <view class='imageContainer'>
- <van-image
- wx:if="{{type == courseTypesEnum.LIVE || type == courseTypesEnum.OFFLINE}}"
- src="{{item.courseThumbnailUrl}}" width="750rpx" height="450rpx" fit="cover"/>
- <video wx:if="{{type == courseTypesEnum.PLAYBACK}}" id="myVideo" enable-play-gesture="true"
- enable-progress-gesture="false" src="{{videoList[videoIndex]}}"
- show-mute-btn>
- </video>
- <video wx:if="{{type == courseTypesEnum.RECORD}}" id="myVideo3" enable-play-gesture="true"
- enable-progress-gesture="false" src="{{videoItem.url}}"
- show-mute-btn bindtimeupdate="timeUpdate">
- </video>
- <face-scan-pop show="{{show}}" wx:if="{{type == courseTypesEnum.RECORD}}" bind:scanOk="scanOk"
- currentTime="{{currentTime}}" name="{{obj.eduStuName}}" idcard="{{obj.idCard}}"/>
- </view>
- <view class="card">
- <view class="info">
- <view class="info-name">{{item.courseName || item.ceremonyName}}</view>
- <view class='info-key'>时间
- <view class='key-value'>{{item.courseStart}}-{{item.courseEnd}}开课</view>
- </view>
- <view class="info-teacher" wx:if="{{item.teacherName}}">老师
- <view class="teacher-value" bind:tap="toTeacher" data-id="{{item.teacherId}}">
- {{item.teacherName}}
- </view>
- </view>
- <view class='info-key' wx:if="{{item.classroomName}}">教室
- <view class='key-value'>{{item.classroomName}}</view>
- </view>
- <view class='info-key' wx:if="{{item.seatMap}}">座位图
- <view class='teacher-value' bind:tap="clickImg">查看安排</view>
- </view>
- <view class="info-file" wx:for="{{fileList}}" wx:key="index" bind:tap="downloadFile"
- data-url="{{item.url}}">
- <edu-txt src='/images/ic_word.png' text="{{item.name}}" custom-class="word"/>
- <edu-txt src='/images/ic_download.png' text="下载" custom-class="download"/>
- </view>
- <view class="time-filter" wx:if="{{videoList.length > 1}}">
- <view class="{{index==videoIndex?'time-item-active':'time-item'}}" wx:for="{{videoList}}" wx:key="index"
- bind:tap="changeVideo" data-index="{{index}}">
- <view class="time-date">{{index + 1}}</view>
- </view>
- </view>
- </view>
- <edu-line size="19rpx"/>
- <view class="mrgin30">
- <view class="title">课程简介:</view>
- <view class="content">
- {{item.courseSynopsis || item.ceremonyContent}}
- </view>
- </view>
- <view class="white"></view>
- </view>
- <edu-course-action-bar item="{{item}}" obj="{{obj}}" bind:refresh="refresh" showBottom type="{{type}}"/>
- </view>
|