123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <!--pages/single_subject_detail/single_subject_detail.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view class='tag'>
- <view class='tag-img' wx:if='{{homeworkList.length>0}}'>
- <view class='tag-img-head'>
- <view class='tag-img-head-span'></view>
- <view class='tag-img-head-txt'>
- <text>作业原图</text>
- <text class='tag-img-homeworkTime'>{{homeworkTime}}</text>
- </view>
- </view>
- <view class='tag-scroll-view'>
- <scroll-view scroll-x>
- <view class='scroll-view'>
- <view class='scroll-view-item' wx:for='{{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='{{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='{{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='{{homeworkCommentList}}' 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='{{homeworkCommentList}}' data-index='{{key}}' data-url='photoKey' data-baseurl='{{baseImgUrl}}' bindtap='viewImageCtl'></image>
- <view class='tag-words' wx:if='{{item.isComposition==1}}' data-method='{{item.compositionCommentList}}' bindtap='getWords'>有作文评语</view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <view class='tag-img' wx:if='{{wrongItemList.length>0||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='{{relateKnowledgeList.length>0}}'>
- <view class='mistake-head'>
- <image class='mistake-head-img' src='../../image/cuo_ti.png'></image>
- <view class='mistake-head-txt'>错题知识点</view>
- </view>
-
- <view class='mistake-content'>
- <block wx:for='{{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='{{relateKnowledgeList.length==0}}'>无</view>
- </view>
- </view>
- <view class='error-new' wx:for='{{wrongItemList}}' 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' wx:if='{{val.period}}'>{{val.period}}</view>
- </view>
- <view class='mistake-content-item add-points' wx:for='{{val.questionList}}' wx:for-item='val1' wx:for-index='key1' wx:key='key1'>
- <text class='mistake-content-title-head'>{{key1+1}}</text>
- <!-- <text>{{val1}}</text> -->
- <text>第{{val1.bigQuestionIndex}}大题</text>
- <text>{{val1.smallQuestionIndex!=0||val1.spaceIndex?'(':''}}{{val1.smallQuestionIndex!=0?'第'+val1.smallQuestionIndex+'小题':''}}{{val1.smallQuestionIndex!=0&&val1.spaceIndex?'-':''}}</text>
- <text>{{val1.spaceIndex?'第'+val1.spaceIndex+'空':''}}{{val1.smallQuestionIndex!=0||val1.spaceIndex?')':''}}</text>
- </view>
- </block>
- </view>
- </view>
- </view>
- </view>
- <view class='mistake-noData' wx:if='{{correctionStatus==0}}'>
- <image src='../../image/wei_pi_gai.png' class='mistake-noData-img'></image>
- </view>
- <view class='mistake-noData' wx:if='{{relateKnowledgeList.length==0 &&homeworkCommentList.length==0& wrongItemList.length==0&&!isMohu&&correctionStatus!=0&&correctionStatus!=7}}'>
- <image src='../../image/wu_cuo_ti.png' class='mistake-noData-img'></image>
- </view>
- <view class='mistake-noData' wx:if='{{correctionStatus==7}}'>
- <image src='../../image/wu_zhi_mian_zuo_ye.png' class='mistake-noData-img'></image>
- </view>
- <view class='total'>
- <view class='mistake' wx:if='{{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='{{unfinishedList}}' wx:key='index'>{{item}}</view>
- <view wx:if='{{unfinishedList.length==0}}'>无</view>
- </view>
- </view>
- </view>
- <template wx:if='{{homeworkList.length==0}}' is='nodata-three' ></template>
- </view>
- </view>
|