123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <view class="container">
- <view class="grow-view">
- <view class="grow-list">
- <view class="grow-box" wx:for="{{list}}" wx:key="index">
- <view class="line-index"></view>
- <view class="grow-title" wx:if="{{item.type == '1'}}">
- <view class="grow-time">{{item.beginTime}}</view>
- <view class="grow-name">{{item.classesName}} : {{item.name}}</view>
- <view>
- <rating wx:for="{{item.stars}}" wx:for-item="star" score="{{star.evaluateStar}}" title="{{star.detailName}}"/>
- </view>
- <view class="grow-content">{{item.evaluateContent}}</view>
- <view class="task-content">
- <view class="title">图片</view>
- <view class="img-list">
- <image wx:for="{{item.images}}" wx:for-item="img" src="{{img.url}}" mode="aspectFill" wx:key="index" bindtap="showImg" data-url="{{img.url}}" data-id="{{item.id}}"></image>
- </view>
- <view class="title">视频</view>
- <view class="video-list">
- <view wx:for="{{item.videos}}" wx:key="index" class="video-img-view" data-url="{{item.playUrl}}" bindtap="videoShow">
- <image class="videoImg" src="{{item.imgUrl}}" mode="aspectFill" ></image>
- <image class="playImg" src="/images/play.png"></image>
- </view>
- </view>
- <video id="play-video" bindfullscreenchange="bindfullscreenchange" wx:if="{{curVideo != ''}}" autoplay="true" src="{{curVideo}}" controls="true" downloadlist></video>
- <view class="title">语音</view>
- <view class="audio-list">
- <image wx:for="{{item.records}}" bindtap="audioShow" src="{{index == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}" class="{{index == curAudioIndex ? 'curAudioStyle' : ''}}" wx:key="index" data-index="{{index}}" data-url="{{item.url}}"></image>
- </view>
- <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
- </view>
- <view class="grow-desc">来自课后点评</view>
- </view>
-
- <view class="grow-title" wx:if="{{item.type == '2'}}">
- <view class="grow-time">{{item.beginTime}}</view>
- <view class="grow-name">报名课程: {{item.classesName}}</view>
- <view class="grow-content"></view>
- <view class="grow-desc">来自我的足迹</view>
- </view>
- <view class="grow-title" wx:if="{{item.type == '3'}}">
- <view class="grow-time">{{item.beginTime}}</view>
- <view class="grow-name">取得新成绩: {{item.name}}, {{item.evaluateContent}}分</view>
- <view class="grow-content"></view>
- <view class="grow-desc">来自我的成绩</view>
- </view>
- <view class="grow-title" wx:if="{{item.type == '4'}}">
- <view class="grow-time">{{item.beginTime}}</view>
- <view class="grow-name">发布新动态</view>
- <view class="grow-content">
- <view class="video-img-view" data-url="{{item.playUrl}}" bindtap="videoShow">
- <image class="videoImg" src="{{item.imgUrl}}" mode="aspectFill" ></image>
- <image class="playImg" src="/images/play.png"></image>
- </view>
- <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
- </view>
- <view class="grow-desc">来自学生秀</view>
- </view>
- </view>
- </view>
- </view>
- <view class="loading">{{loading}}</view>
- </view>
|