homework_list.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <!--pages/home/home.wxml-->
  2. <import src="../../templates/header/header.wxml" />
  3. <import src="../../templates/nodata/nodata.wxml" />
  4. <import src="../../templates/footer_parent/footer.wxml" />
  5. <view class='container'>
  6. <view class='login' wx:if='{{isOne}}'>
  7. <image src='../../image/deng_lv_logo.png' class='login-img'></image>
  8. <view class='login-text'>登录后即可孩子作业实时查看、孩子难题及时跟进、智慧学情精准提升</view>
  9. <button open-type="getUserInfo" class='login-btn' bindgetuserinfo="bindGetUserInfo">注册丨登录</button>
  10. </view>
  11. <view wx:else>
  12. <template is='header' data='{{...headerData}}'></template>
  13. <view class='wrapper container-distance'>
  14. <!-- 服务时间 -->
  15. <!-- <view class='message' wx:if='{{times!=0&&isTimes}}'>
  16. <view>{{parentVipList[parentVipLiIdx].childName}}的学习系统服务将于{{messageTime}}到期</view>
  17. <view data-method='{{({vipId: options.vipId,parentVipLiIdx:options.parentVipLiIdx,isWechat:1})}}' data-url='member_pay' bindtap="navigateCtl">
  18. <text>去续费</text>
  19. <view class='message-guide'></view>
  20. </view>
  21. </view> -->
  22. <!-- 服务时间到期 -->
  23. <!-- <view class='message' wx:if='{{times!=0&&isOutTime}}'>
  24. <view>{{parentVipList[parentVipLiIdx].childName}}的学习系统服务已到期,请及时续费</view>
  25. <view data-method='{{({vipId: options.vipId,parentVipLiIdx:options.parentVipLiIdx,isWechat:1})}}' data-url='member_pay' bindtap="navigateCtl">
  26. <text>去续费</text>
  27. <view class='message-guide'></view>
  28. </view>
  29. </view> -->
  30. <!-- 今日 -->
  31. <view class='list' wx:if='{{todayTask.finishFlag}}'>
  32. <view class='li-head' wx:if='{{todayTask.finishFlag}}'>
  33. <image src='../../image/zuo_yue_biao_ji.png' class='li-head-img'></image>
  34. <view class='li-head-times'>{{todayTask.sujectTaskObject.date}} / {{todayTask.sujectTaskObject.week}}</view>
  35. <view class='li-head-guide' data-method='{{({date:todayTask.sujectTaskObject.date, vipId: options.vipId})}}' data-url='homework_report' bindtap="navigateCtl" wx:if='{{todayTask.sujectTaskObject.libaryFlag==1 }}'>
  36. <text class='li-head-guide-txt'>查看反馈报告</text>
  37. <image class='li-head-guide-tag' src='../../image/jian_tou_zhi_yin.png'></image>
  38. </view>
  39. </view>
  40. <view class='li-subject' wx:if='{{!todayTask.finishFlag}}'>
  41. <view class='li-subject-item' wx:for='{{todayTask.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key<3}}'>
  42. <view class='li-subject-item-title'>{{vo.subject}}</view>
  43. <view class='li-subject-item-times' wx:if='{{vo.status==2||vo.status==1}}'>
  44. <image src='../../image/action_zuo_yue.png' class='action-img'></image>
  45. <view wx:if='{{vo.status==2}}'>{{vo.startTime}}开始作业</view>
  46. </view>
  47. <view class='li-subject-item-times' wx:if='{{vo.status==4}}'>
  48. <image src='../../image/zong_ti_jian_yi.png' class='loading-img'></image>
  49. <view>批改中</view>
  50. </view>
  51. <view class='li-subject-item-times' wx:if='{{vo.status==5}}'>
  52. <image src='../../image/no_mistake.png' class='end-img'></image>
  53. <view>{{vo.startTime}}批改完成</view>
  54. </view>
  55. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-subject='{{vo.subject}}' data-url='single_subject_detail' bindtap="{{todayTask.sujectTaskObject.libaryFlag==0?'navigateCtl':''}}">
  56. <image wx:if='{{vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  57. <image wx:else class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  58. <text class="li-subject-item-plan-txt {{vo.status==5?'subject-red':'subject-gay'}}">{{vo.status==1?'暂未开始':vo.status==2?'开始作业':vo.status==3?'未布置作业':vo.status==4?'批改中':vo.status==5?'批改中':vo.status==6?'补拍':'无纸面作业'}}</text>
  59. </view>
  60. </view>
  61. </view>
  62. <view class='li-subject-add' wx:if='{{!todayTask.finishFlag}}'>
  63. <view class='li-subject-item-add' wx:for='{{todayTask.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key>2}}'>
  64. <view class='li-subject-item-title'>{{vo.subject}}</view>
  65. <view class='li-subject-item-times' wx:if='{{vo.status==2}}'>
  66. <image src='../../image/action_zuo_yue.png' class='action-img'></image>
  67. <view>{{vo.costTime}}开始作业</view>
  68. </view>
  69. <view class='li-subject-item-times' wx:if='{{vo.status==4}}'>
  70. <image src='../../image/zong_ti_jian_yi.png' class='loading-img'></image>
  71. <view>批改中</view>
  72. </view>
  73. <view class='li-subject-item-times' wx:if='{{vo.status==5}}'>
  74. <image src='../../image/no_mistake.png' class='end-img'></image>
  75. <view>{{vo.costTime}}批改完成</view>
  76. </view>
  77. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-subject='{{vo.subject}}' data-url='single_subject_detail' bindtap="{{todayTask.sujectTaskObject.libaryFlag==0?'navigateCtl':''}}">
  78. <image wx:if='{{vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  79. <image wx:else class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  80. <text class="li-subject-item-plan-txt {{vo.status==5?'subject-red':'subject-gay'}}">{{vo.status==1?'暂未开始':vo.status==2?'开始作业':vo.status==3?'未布置作业':vo.status==4?'批改中':vo.status==5?'批改中':vo.status==4?'补拍':'无纸面作业'}}</text>
  81. </view>
  82. </view>
  83. </view>
  84. <view class='li-subject-add' wx:if='{{todayTask.finishFlag}}'>
  85. <view class='li-subject-item-add' wx:for='{{todayTask.sujectTaskObject.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key<3}}'>
  86. <view class='li-subject-item-title'>{{vo.subject}}</view>
  87. <view class='li-subject-item-times'>{{vo.costTime==0?vo.status==4?'有补拍的图片':'无计时':vo.costTime+'分钟'}}</view>
  88. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-url='single_subject_detail' bindtap="{{vo.status!=1?'navigateCtl':''}}">
  89. <image wx:if='{{vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  90. <image wx:else class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  91. <text class="li-subject-item-plan-txt {{vo.status==1?'subject-gay':'subject-red'}}">{{vo.status==1?'未布置作业':vo.status==2?'部分完成':vo.status==3?'全部完成':vo.status==4?'补拍':'无纸面作业'}}</text>
  92. </view>
  93. </view>
  94. </view>
  95. <view class='li-subject-add' wx:if='{{todayTask.finishFlag}}'>
  96. <view class='li-subject-item-add' wx:for='{{todayTask.sujectTaskObject.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key>2}}'>
  97. <view class='li-subject-item-title'>{{vo.subject}}</view>
  98. <view class='li-subject-item-times'>{{vo.costTime==0?vo.status==4?'有补拍的图片':'无计时':vo.costTime+'分钟'}}</view>
  99. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-url='single_subject_detail' bindtap="{{vo.status!=1?'navigateCtl':''}}">
  100. <image wx:if='{{vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  101. <image wx:else class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  102. <text class="li-subject-item-plan-txt {{vo.status==1?'subject-gay':'subject-red'}}">{{vo.status==1?'未布置作业':vo.status==2?'部分完成':vo.status==3?'全部完成':vo.status==4?'补拍':'无纸面作业'}}</text>
  103. </view>
  104. </view>
  105. </view>
  106. <view class='li-remark' wx:if='{{todayTask.sujectTaskObject.pushId&&todayTask.sujectTaskObject.teacherAdvice}}'>
  107. <view class='li-remark-title'>老师评语</view>
  108. <view class='li-remark-content'>{{todayTask.sujectTaskObject.teacherAdvice}}</view>
  109. <image src='../../image/hua_ping.png' class='li-remark-img'></image>
  110. </view>
  111. <view class='li-attention' wx:if='{{todayTask.sujectTaskObject.parentalConcern.length>0}}'>
  112. <view class='li-attention-title'>家长需关注点</view>
  113. <view class='li-attention-content' wx:for='{{todayTask.sujectTaskObject.parentalConcern}}' wx:for-item='vol' wx:for-index='idx' wx:key='idx'>{{idx+1}}.{{vol}}</view>
  114. </view>
  115. </view>
  116. <view class='history' wx:if='{{list.length!=0}}'>
  117. <text class='history-line'>———</text>
  118. 历史记录
  119. <text class='history-line'>———</text>
  120. </view>
  121. <!-- 历史记录 -->
  122. <view class='li' wx:if='{{list.length!=0}}' wx:for='{{list}}' wx:key='index'>
  123. <view class='li-head'>
  124. <image src='../../image/zuo_yue_biao_ji.png' class='li-head-img'></image>
  125. <view class='li-head-times'>{{item.date}} / {{item.week}}</view>
  126. <view class='li-head-guide' data-method='{{({date:item.date, vipId: options.vipId})}}' data-url='homework_report' bindtap="navigateCtl" wx:if='{{item.libaryFlag==1}}'>
  127. <text class='li-head-guide-txt'>查看反馈报告</text>
  128. <image class='li-head-guide-tag' src='../../image/jian_tou_zhi_yin.png'></image>
  129. </view>
  130. </view>
  131. <view class='li-subject'>
  132. <view class='li-subject-item' wx:for='{{item.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key<=2}}'>
  133. <view class='li-subject-item-title'>{{vo.subject}}</view>
  134. <view class='li-subject-item-times'>{{vo.costTime==0?vo.status==4?'有补拍的照片':'无计时':vo.status==4?'有补拍的图片':vo.costTime+'分钟'}}</view>
  135. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-subject='{{vo.subject}}' data-url='single_subject_detail' bindtap="{{item.libaryFlag==0&&vo.status==3||item.libaryFlag==0&&vo.status==4?'navigateCtl':''}}">
  136. <view class='look_detail' wx:if='{{item.libaryFlag==0&&vo.status==3||item.libaryFlag==0&&vo.status==4}}'>
  137. 查看详情
  138. </view>
  139. <image wx:if='{{vo.status==1&&item.libaryFlag==1||item.libaryFlag==0&&vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  140. <image wx:if='{{vo.status!=1&&item.libaryFlag==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  141. <text class="li-subject-item-plan-txt {{vo.status==1?'subject-gay':'subject-red'}}" wx:if='{{item.libaryFlag==1||item.libaryFlag==0&&vo.status==1}}'>{{vo.status==1?'未布置作业':vo.status==2&&item.subjectTaskList.length<=3?'部分完成':vo.status==3?'全部完成':vo.status==4?'补拍':'无纸面作业'}}</text>
  142. </view>
  143. </view>
  144. </view>
  145. <view class='li-subject-add' wx:if='{{item.subjectTaskList.length>3}}'>
  146. <view class='li-subject-item-add' wx:for='{{item.subjectTaskList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{key>2}}'>
  147. <view class='li-subject-item-title'>{{vo.subject}}</view>
  148. <view class='li-subject-item-times'>{{vo.costTime==0?vo.status==4?'有补拍的照片':'无计时':vo.status==4?'有补拍的图片':vo.costTime+'分钟'}}</view>
  149. <view class='li-subject-item-plan' data-method='{{({date:item.date, vipId: options.vipId,subject:vo.subject})}}' data-url='single_subject_detail' bindtap="{{item.libaryFlag==0&&vo.status==3||item.libaryFlag==0&&vo.status==4?'navigateCtl':''}}">
  150. <view class='look_detail' wx:if='{{item.libaryFlag==0&&vo.status==3||item.libaryFlag==0&&vo.status==4}}'>
  151. 查看详情
  152. </view>
  153. <image wx:if='{{vo.status==1&&item.libaryFlag==1||item.libaryFlag==0&&vo.status==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hui.png'></image>
  154. <image wx:if='{{vo.status!=1&&item.libaryFlag==1}}' class='li-subject-item-plan-img' src='../../image/biao_qian_hong.png'></image>
  155. <text class="li-subject-item-plan-txt {{vo.status==1?'subject-gay':'subject-red'}}" wx:if='{{item.libaryFlag==1||item.libaryFlag==0&&vo.status==1}}'>{{vo.status==1?'未布置作业':vo.status==2&&item.subjectTaskList.length<=3?'部分完成':vo.status==3?'全部完成':vo.status==4?'补拍':'无纸面作业'}}</text>
  156. </view>
  157. </view>
  158. </view>
  159. <view class='li-remark' wx:if='{{item.pushId&&item.teacherAdvice}}'>
  160. <view class='li-remark-title'>老师评语</view>
  161. <view class='li-remark-content'>{{item.teacherAdvice}}</view>
  162. <image src='../../image/hua_ping.png' class='li-remark-img'></image>
  163. </view>
  164. <view class='li-attention' wx:if='{{item.parentalConcern.length>0}}'>
  165. <view class='li-attention-title' wx:if='{{item.parentalConcern.length>0}}'>家长需关注点</view>
  166. <view class='li-attention-content' wx:for='{{item.parentalConcern}}' wx:for-item='vol' wx:for-index='idx' wx:key='idx'>{{idx+1}}.{{vol}}</view>
  167. </view>
  168. </view>
  169. <template wx:if='{{list.length==0&&!todayTask.finishFlag}}' is='nodata-three' ></template>
  170. <view class='li-footer'></view>
  171. </view>
  172. </view>
  173. <template is='footer' data='{{...footerData}}'></template>
  174. </view>