1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <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:key="index" 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" wx:if="{{item.videos.length > 0}}">视频</view>
- <view class="video-list" wx:if="{{item.videos > 0}}">
- <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="showAudio" src="{{item.url == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}" class="{{item.url == curAudioIndex ? 'curAudioStyle' : ''}}" wx:key="index" data-index="{{index}}" data-url="{{item.url}}"></image>
- </view>
- </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>
|