1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <view class="container">
- <!-- 作业内容 -->
- <view class="task-view">
- <view class="task-title">2021-02-21 课后作业</view>
- <view class="task-time">2021-02-21 16:00</view>
- <view class="task-class">小鹏钢琴课</view>
- </view>
- <!-- end -->
- <!-- 作业完成内容 -->
- <view class="my-task">
- <view class="title">作业完成情况</view>
- <view class="textarea">
- <textarea placeholder="输入答题内容(200字以内)" maxlength="200"></textarea>
- <view class="wordNum">0/200</view>
- </view>
- <view class="title">上传图片</view>
- <view class="uploadImg-task-view">
- <view class="my-img-view" wx:for="{{imgList}}" wx:key="index" data-index="{{index}}" catchtap="showImg">
- <view class="new-task-img">
- <image src="{{item}}"></image>
- </view>
- <view class="del-btn" data-index="{{index}}" catchtap="delImg">X</view>
- </view>
- <view class="upload-btn" bindtap="uploadTap">
- <view style="margin-top:30rpx">
- <image src="/images/addFile.png"></image>
- <view>添加图片</view>
- </view>
- </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="uploadImg-task-view">
- <view class="my-img-view" wx:for="{{videoList}}" wx:key="index" data-index="{{index}}" catchtap="showVideo">
- <view class="new-task-img">
- <image src="{{item.img}}"></image>
- </view>
- <view class="del-btn" data-index="{{index}}" catchtap="delVideo">X</view>
- </view>
- <view class="upload-btn" bindtap="upLoadVideo">
- <view style="margin-top:30rpx">
- <image src="/images/addFile.png"></image>
- <view>添加视频</view>
- </view>
- </view>
- </view>
- <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
- <view class="title">上传录音</view>
- <view class="audio-list">
- <view class="audio-box" wx:for="{{audioList}}" wx:key="index">
- <image bindtap="audioShow" src="{{index == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}"
- class="{{index == curAudioIndex ? 'curAudioStyle' : ''}}"
- data-index="{{index}}" catchtap="showAudio"></image>
- <view class="del-btn" data-index="{{index}}" catchtap="delAudio">X</view>
- </view>
- </view>
-
- <view class="record-view">
- <view class="record-img {{talkFlag ? 'curTalkStyle' : ''}}" bindtap="getRecord">
- <image src="{{talkFlag ? '/images/cur-talk.png' : '/images/talk.png'}}"></image>
- </view>
- <view class="{{talkFlag ? 'record-bg' : ''}}"></view>
- <view class="close-talk" bindtap="getRecord">{{closeName}}</view>
- </view>
- </view>
- <!-- end -->
- </view>
|