123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <!--pages/homework_report/homework_report.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class='ol'>
- <view class='li' wx:if='{{abstractSituation.subjectTaskList.length>0}}'>
- <view class='li-title'>
- <view class='li-item' wx:for='{{abstractSituation.subjectTaskList}}' wx:key='index' wx:if='{{index<=2}}'>
- <view class='li-item-text'>{{item.subject}}</view>
- </view>
- </view>
- <view class='li-content'>
- <view class='li-content-item' wx:for='{{abstractSituation.subjectTaskList}}' wx:key='index' wx:if='{{index<=2}}'>
- <image src="{{item.subject=='语文'?yuwen:item.subject=='数学'?math:English}}" class='li-content-img'></image>
- <view class='li-content-times'>{{item.status==1?'无作业':item.costTime==0?'无计时':item.costTime}} {{item.status!=1&&item.costTime!=0?'分钟':''}}</view>
- <view class='li-content-plan'>
- <image class='li-content-plan-img' src="{{item.status!=1?labelRed:labelGay}}"></image>
- <view class="li-content-plan-text {{item.status==1?'li-gay':''}}">{{item.status==1?'未布置作业':item.status==2?'部分完成':item.status==3?'全部完成':'无纸面作业'}}</view>
- <view class='li-content-plan-homeworkTime'>{{item.homeworkTime?item.homeworkTime:'无作业时间'}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class='dl' wx:if='{{abstractSituation.teacherAdvice}}'>
- <view class='dl-head'>
- <image class='dl-head-img' src='../../image/lao_shu_ping_yu.png'></image>
- <view class='dl-head-title'>老师评语</view>
- </view>
- <view class='dl-comment'>
- {{abstractSituation.teacherAdvice}}
- </view>
- <!-- <view class='dl-footer'>
- <view class='dl-footer-names'>{{abstractSituation.teacherName}}</view>
- <image class='dl-footer-img' wx:if='{{abstractSituation.teacherImg}}' src='{{baseImgUrl+abstractSituation.teacherImg}}'></image>
- </view> -->
- <image src='../../image/hua_ping.png' class='dl-image'></image>
- </view>
- <!-- 语音 -->
- <view class='li-video' wx:if='{{voiceKeyList.length>0}}'>
- <view class='li-video-voice' wx:for='{{voiceKeyList}}' wx:key='index' data-index="{{index}}" bindtap='audioCtl'>
- <view class='li-video-voice-red' style='width:{{item.duration*1.4+16}}%'>
- <image class='li-video-btn' src='../../image/yu_yin_{{item.voiceType == 1?imgNum:3}}.png'></image>
- <view class='li-video-gay'>{{item.duration}}″</view>
- </view>
- </view>
- </view>
- <view class='table' wx:if='{{learningState.length>0}}'>
- <view class='table-title'>今日学习状态</view>
- <view class='table-list'>
- <view class='table-list-item' wx:for='{{learningState}}' wx:key='index'>
- <view class='table-list-item-plan'>{{item.type=='1'?'欠佳':item.type=='2'?'一般':'好'}}</view>
- <view class='table-list-item-dendrogram'>
- <view class="{{item.type=='1'?'table-notGood':item.type=='2'?'table-notBad':'table-good'}}"></view>
- </view>
- <view class='table-list-item-plan'>{{item.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class='tag'>
- <view class='tag-subject'>
- <view class='tag-guide'>
- <view class="tag-btn {{index==idx?'tag-btn-active':''}}" wx:for='{{correctList}}' wx:key='index' data-idx='{{index}}' bindtap='cutItems'>{{item.subject}}</view>
- </view>
- </view>
- <view class='tag-img' wx:if='{{list.homeworkList.length>0}}'>
- <view class='tag-img-pic'>
- <view>
- <view class='tag-img-head-span'></view>
- <view class='tag-img-head-txt'>作业原图</view>
- </view>
- <view class='tag-right' data-url='classroom_assessment' data-method='{{({teacherId:list.correctTeacherId, homeworkId:list.homeworkId,isClass:false})}}' bindtap='navigateCtl' wx:if='{{isMainParent}}'>
- <text>评价批改老师</text>
- <image class='tag-tips' src='../../image/right_zy7@2x.png'></image>
- </view>
- </view>
- <view class='tag-scroll-view'>
- <scroll-view scroll-x>
- <view class='scroll-view'>
- <view class='scroll-view-item' wx:for='{{list.homeworkList}}' wx:for-index='key' wx:key='key'>
- <image class='tag-img-list' mode="aspectFill" wx:if='{{item.photoKey}}' src="{{baseImgUrl + item.photoKey + thumbnail}}" data-images='{{list.homeworkList}}' data-index='{{key}}' data-url='photoKey' data-baseurl='{{baseImgUrl}}' bindtap='viewImageCtl'>
- <image class='scroll-view-mohu' src="{{item.status==1?'../../image/mohu.png':item.status==2?'../../image/bu_pai.png':item.status==3?'../../image/deng_ji.png':item.status==4?'../../image/bu_quan.png':'../../image/bu_pi_gai.png'}}" wx:if='{{item.status>0}}'></image>
- </image>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <!-- 作业原图 -->
- <view class='tag-img' wx:if='{{list.homeworkCommentList.length>0}}'>
- <view class='tag-img-head'>
- <view class='tag-img-head-span'></view>
- <view class='tag-img-head-txt'>作业标注</view>
- </view>
-
- <view class='tag-scroll-view'>
- <scroll-view scroll-x>
- <view class='scroll-view'>
- <view class='scroll-view-item' wx:for='{{list.homeworkCommentList}}' wx:for-index='index' wx:key='index'>
- <image class='tag-img-list' data-images="{{list.homeworkCommentList}}" wx:if='{{item.photoKey}}' data-url='photoKey' data-index="{{index}}" data-baseurl="{{baseImgUrl}}" mode="aspectFill" src='{{baseImgUrl+item.photoKey+thumbnail}}' bindtap="viewImageCtl"></image>
- <view class='tag-words' wx:if='{{item.isComposition==1}}' data-method='{{({compositionCommentModuleList:item.compositionCommentModuleList,homeworkComment:item.homeworkComment})}}' bindtap='getWords'>有评语</view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <!-- 错题 -->
- <view class='error' wx:if='{{list.wrongItemList.length>0||list.relateKnowledgeList.length>0}}'>
- <view class='tag-img-head'>
- <view class='tag-img-head-span'></view>
- <view class='tag-img-head-txt'>错题</view>
- </view>
- <!-- 错题知识点 -->
- <view class='mistake' wx:if='{{list.relateKnowledgeList.length>0}}'>
- <view class='mistake-head'>
- <image class='mistake-head-img' src='../../image/zuo_yue_biao_ji.png'></image>
- <view class='mistake-head-txt'>错题知识点</view>
- </view>
-
- <view class='mistake-content' wx:if='{{list.relateKnowledgeList.length>0}}'>
- <block wx:for='{{list.relateKnowledgeList}}' wx:key='index'>
- <view class='mistake-content-title'>
- <view class='mistake-content-title-head'>知识点{{index+1}}</view>
- <view class='mistake-content-title-tag' wx:if='{{item.module}}'>{{item.module}}</view>
- </view>
- <view class='mistake-content-item' wx:for='{{item.details}}' wx:for-item='val' wx:for-index='key' wx:key='key'>{{val}}</view>
- </block>
- <view wx:if='{{list.wrongItemList.relateKnowledgeList.length==0}}'>无</view>
- </view>
- </view>
- <!-- 新增知识点 -->
- <view class='mistake' wx:for='{{list.wrongItemList}}' wx:for-index='index' wx:key='index'>
- <view class='mistake-head'>
- <image class='mistake-head-img' src='../../image/cuo_ti.png'></image>
- <view class='mistake-head-txt'>{{item.bookName}}</view>
- </view>
-
- <view class='mistake-content' wx:if='{{item.bookCourseList.length>0}}' >
- <block wx:for='{{item.bookCourseList}}' wx:for-item='val' wx:for-index='key' wx:key='key'>
- <view class='mistake-content-title'>
- <view class='mistake-content-title-head'>{{val.unit}}</view>
- <view class='mistake-content-title-tag'>{{val.period}}</view>
- </view>
- <view class='mistake-content-item add-points' wx:for='{{val.questionList}}' wx:for-item='val2' wx:for-index='key2' wx:key='key2'>
- <text class='mistake-content-title-head'>{{key2+1}}</text>
- <!-- <text>{{val2}}</text> -->
- <text>第{{val2.bigQuestionIndex}}大题</text>
- <text>{{val2.smallQuestionIndex!=0||val2.spaceIndex?'(':''}}{{val2.smallQuestionIndex!=0?'第'+val2.smallQuestionIndex+'小题':''}}{{val2.smallQuestionIndex!=0&&val2.spaceIndex?'-':''}}</text>
- <text>{{val2.spaceIndex?'第'+val2.spaceIndex+'空':''}}{{val2.smallQuestionIndex!=0||val2.spaceIndex?')':''}}</text>
- </view>
- </block>
- <view wx:if='{{item.bookCourseList.length==0}}'>无</view>
- </view>
-
- </view>
- </view>
- <view class='mistake-noData' wx:if='{{list.relateKnowledgeList.length==0 && list.homeworkCommentList.length==0&& list.wrongItemList.length==0&&isMohu&&list.correctionStatus!=0&&list.correctionStatus!=7}}'>
- <image src='../../image/wu_cuo_ti.png' class='mistake-noData-img'></image>
- </view>
- <view class='mistake-noData' wx:if='{{list.correctionStatus==0}}'>
- <image src='../../image/wei_pi_gai.png' class='mistake-noData-img'></image>
- </view>
- <view class='mistake-noData' wx:if='{{list.correctionStatus==7}}'>
- <image src='../../image/wu_zhi_mian_zuo_ye.png' class='mistake-noData-img'></image>
- </view>
- </view>
- <view class='total'>
- <view class='mistake' wx:if='{{list.unfinishedList.length>0}}'>
- <view class='mistake-head'>
- <image class='mistake-head-noImg' src='../../image/wei_wan_cheng.png'></image>
- <view class='mistake-head-txt'>未完成的内容</view>
- </view>
- <view class='mistake-content'>
- <view class='mistake-content-item' wx:for='{{list.unfinishedList}}' wx:key='index'>{{item}}</view>
- <view wx:if='{{unfinishedList.length==0}}'>无</view>
- </view>
- </view>
- </view>
- </view>
- </view>
|