learning_report.wxml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <!--pages/learning_report/learning_report.wxml-->
  2. <import src="../../templates/nodata/nodata.wxml" />
  3. <view wx:if='{{options.serviceType!=0&&options.serviceType!=5}}'>
  4. <view class='container' wx:if='{{navList[navIndex].isLoaded}}'>
  5. <view class='wrapper pt pb' id="wrapper">
  6. <!-- 头部导航 -->
  7. <view class='fixed'>
  8. <view class='fixed-left' bindtap='backBook'></view>
  9. <view class="fixed-items">
  10. <view class='fixed-item {{navIndex == index ? "fixed-item-active" : ""}}' wx:for='{{navList}}' wx:key='index' data-index='{{index}}' bindtap='selectNavIndexCtl'>{{item.text}}</view>
  11. </view>
  12. </view>
  13. <!-- 周报 -->
  14. <block wx:if='{{navIndex == 0}}'>
  15. <!-- 周报无数据的情况(目前只有科目列表一种判断,前端写死,不会出现这种情况,这是为了后续做后台动态数据导入造成的情况) -->
  16. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{navList[navIndex].subjectList.length == 0}}'></template>
  17. <block wx:else>
  18. <!-- 周报科目列表 -->
  19. <view class='nav'>
  20. <view class='nav-items'>
  21. <view class='nav-item {{index == navList[navIndex].subjectIndex ? "nav-item-active" : ""}}' wx:for='{{navList[navIndex].subjectList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectSubjectIndexCtl'>{{item.subject}}</view>
  22. </view>
  23. </view>
  24. <!-- 周报单科无数据的情况 -->
  25. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{!navList[navIndex].subjectList[navList[navIndex].subjectIndex].learningScore && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointProportionList.length && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].otherKnowledgePointProportionList.length && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointMasteryList.length}}'></template>
  26. <block wx:else>
  27. <!-- 周报头部 -->
  28. <view class='list' >
  29. <view class="li-section">
  30. <view class="li-text-title text-center">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].subject || ''}}学习得分</view>
  31. <view class="li-text-large text-center">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].learningScore || 0}}</view>
  32. <view class="li-text">
  33. <text class="text-gray">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].subject || ''}}的学习掌握情况</text>
  34. <text class="text-red">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointMasteryDetail}}</text>
  35. <text class="text-gray">,一共学习</text>
  36. <text class="text-red text-decoration" bindtap="pageScrollToBottom">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].totalKnowledgeNum}}</text>
  37. <text class="text-gray" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGoodNumber || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGeneralNumber || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointPoorNumber}}'>个知识点,其中</text>
  38. <text class="text-gray" wx:else>个知识点</text>
  39. <block wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGoodNumber}}'>
  40. <text class="text-red text-decoration" bindtap="pageScrollToBottom">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGoodNumber}}</text>
  41. <text class="text-gray">个知识点掌握良好</text>
  42. </block>
  43. <block wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGeneralNumber}}'>
  44. <text class="text-gray">,</text>
  45. <text class="text-red text-decoration" bindtap="pageScrollToBottom">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointGeneralNumber}}</text>
  46. <text class="text-gray">个知识点掌握不牢固</text>
  47. </block>
  48. <block wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointPoorNumber}}'>
  49. <text class="text-gray">,</text>
  50. <text class="text-red text-decoration" bindtap="pageScrollToBottom">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointPoorNumber}}</text>
  51. <text class="text-gray">个知识点没有掌握</text>
  52. </block>
  53. <text class="text-gray">。</text>
  54. </view>
  55. </view>
  56. </view>
  57. <!-- 周报知识点占比及其其他知识点展示 -->
  58. <view class="list" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointProportionList.length || navList[navIndex].subjectList[navList[navIndex].subjectIndex].otherKnowledgePointProportionList.length}}'>
  59. <block wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePointProportionList.length}}'>
  60. <view class="li-label">
  61. <text class="text-gray">上周一共学习了</text>
  62. <text class="text-red">{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].totalKnowledgeNum}}</text>
  63. <text class="text-gray">个知识点</text>
  64. </view>
  65. <ff-canvas id="knowledgePointRingCanvas" opts="{{ opts }}"></ff-canvas>
  66. <view class="li-text text-label text-center">知识点占比</view>
  67. </block>
  68. <view class="li-study" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].otherKnowledgePointProportionList.length}}'>
  69. <view class='li-study-area'>
  70. <view class='li-study-area-title'>
  71. <image class='li-study-icon-3' src='../../assets/wei_zhi_shi_dian.png'></image>
  72. <text class='li-study-text-gray'>其他包含的知识点</text>
  73. </view>
  74. <view class='li-study-area-content li-study-area-content-row'>
  75. <view class="li-study-btn-3" wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].otherKnowledgePointProportionList}}' wx:key='{{index}}'>{{item.knowledgeName}}</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <!-- 周报知识点掌握情况 -->
  81. <view class="list" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].moduleList.length}}'>
  82. <block wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].moduleList}}' wx:key='{{index}}'>
  83. <view class="li-label">
  84. <text class="text-black">{{item.module}}-各知识点的掌握情况</text>
  85. </view>
  86. <view class="li-items" wx:if='{{item.knowledgePointMasteryList.length > 0}}'>
  87. <view class="li-item" wx:for='{{item.knowledgePointMasteryList}}' wx:for-item="x" wx:for-index="y" wx:key='{{y}}'>
  88. <view class="li-item-text text-gray">{{x.knowledgeName}}</view>
  89. <view class="li-item-row">
  90. <view class="li-item-flex">
  91. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 >= 85}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{greenRGB}}, .3), rgba({{greenRGB}}, 1));"></view>
  92. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 >= 60&&x.mastery * 100<85}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{yellowRGB}}, .3), rgba({{yellowRGB}}, 1));"></view>
  93. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 <60}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{redRGB}}, .3), rgba({{redRGB}}, 1));"></view>
  94. </view>
  95. <view class="li-item-text {{~~(x.mastery * 100) <= 65 ? 'text-red' : 'text-black'}}">{{~~(x.mastery * 100)}}%</view>
  96. </view>
  97. </view>
  98. </view>
  99. </block>
  100. </view>
  101. </block>
  102. </block>
  103. </block>
  104. <!-- 月报 -->
  105. <block wx:elif='{{navIndex == 1}}'>
  106. <!-- 月报无数据 -->
  107. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{!navList[navIndex].subjectList.length && !navList[navIndex].learningScore && !navList[navIndex].lastMonth && !navList[navIndex].transcendedStudentProportion && !navList[navIndex].increasedScore}}'></template>
  108. <block wx:else>
  109. <!-- 月报头部-得分 -->
  110. <view class='list' >
  111. <view class="li-section">
  112. <view class="li-text-title text-center" wx:if='{{navList[navIndex].learningScore>0}}'>上月得分</view>
  113. <view class="li-text-large text-center" wx:if='{{navList[navIndex].learningScore>0}}'>{{navList[navIndex].learningScore || 0}}</view>
  114. <view class="li-text text-center" wx:if='{{navList[navIndex].transcendedStudentProportion*100>0}}'>
  115. <text class="text-gray">{{navList[navIndex].lastMonth || ''}}月的学习得分超过了</text>
  116. <text class="text-red">{{~~((navList[navIndex].transcendedStudentProportion || 0) * 100)}}%</text>
  117. <text class="text-gray">的同年级学生!</text>
  118. </view>
  119. <view class="li-text text-center">
  120. <text class="text-gray">{{navList[navIndex].lastMonth || ''}}月学习得分比上个月</text>
  121. <text class="text-gray" wx:if='{{navList[navIndex].increasedScore!=0}}'>{{navList[navIndex].increasedScore < 0 ? '降低' : '提高'}}了</text>
  122. <text class="text-gray" wx:if='{{navList[navIndex].increasedScore==0}}'>没有提升</text>
  123. <text class="text-red" wx:if='{{navList[navIndex].increasedScore!=0}}'>{{navList[navIndex].increasedScore < 0 ? -navList[navIndex].increasedScore : navList[navIndex].increasedScore || 0}}分</text>
  124. <text class="text-gray">,继续加油!</text>
  125. </view>
  126. </view>
  127. </view>
  128. <!-- 月报段落-平均学习时间 -->
  129. <view class='list' >
  130. <view class="li-section">
  131. <view class="li-text-title text-center">{{navList[navIndex].lastMonth || ''}}月平均每日学习时间</view>
  132. <view class="li-text-large text-center">
  133. <text class="li-text-large">{{navList[navIndex].averageUsedTime || 0}}</text>
  134. <text class="li-text-title">分钟</text>
  135. </view>
  136. <view class="li-progress">
  137. <view class="li-progress-active" style="width: {{(navList[navIndex].averageUsedTime > 180 ? 180 : navList[navIndex].averageUsedTime || 0) / 180 * 100}}%; background: linear-gradient(90deg, rgba(96, 133, 234, .3), rgba(96, 133, 234, 1));"></view>
  138. </view>
  139. <view class="li-text">
  140. <text class="text-gray">作业时间越长,不代表学习效 果越好。如果孩子每天作业用时超过</text>
  141. <text class="text-red">90</text>
  142. <text class="text-gray">分钟,家长需要关注孩子的时间管理情况哦!</text>
  143. </view>
  144. </view>
  145. </view>
  146. <!-- 月报无科目列表 -->
  147. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{navList[navIndex].subjectList.length == 0}}'></template>
  148. <block wx:else>
  149. <!-- 学期科目列表 -->
  150. <view class='nav'>
  151. <view class='nav-items'>
  152. <view class='nav-item {{index == navList[navIndex].subjectIndex ? "nav-item-active" : ""}}' wx:for='{{navList[navIndex].subjectList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectSubjectIndexCtl'>{{item.subject}}</view>
  153. </view>
  154. </view>
  155. <!-- 月报单科无数据 -->
  156. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{!navList[navIndex].subjectList[navList[navIndex].subjectIndex].learnedUnitList.length && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].weakKnowledgePointMasteryList.length}}'></template>
  157. <block wx:else>
  158. <view class="list">
  159. <view class="li-label-1" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].learnedUnitList.length}}'>
  160. <image class="li-label-image" src="../../assets/yue_bao_icon.png"></image>
  161. <text class="text-blue">{{navList[navIndex].lastMonth || ''}}月份学习了</text>
  162. <text class="text-blue" wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].learnedUnitList}}' wx:key='{{index}}'>{{item.unitName || ''}}、</text>
  163. <text class="text-blue">看看还有哪些知识点需要加强。</text>
  164. </view>
  165. <!-- 周报知识点掌握情况 -->
  166. <view class="list" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].moduleList.length}}'>
  167. <block wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].moduleList}}' wx:key='{{index}}'>
  168. <view class="li-label">
  169. <text class="text-black">{{item.module}}-各知识点的掌握情况</text>
  170. </view>
  171. <view class="li-items" wx:if='{{item.knowledgePointMasteryList.length > 0}}'>
  172. <view class="li-item" wx:for='{{item.knowledgePointMasteryList}}' wx:for-item="x" wx:for-index="y" wx:key='{{y}}'>
  173. <view class="li-item-text text-gray">{{x.knowledgeName}}</view>
  174. <view class="li-item-row">
  175. <view class="li-item-flex">
  176. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 >= 85}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{greenRGB}}, .3), rgba({{greenRGB}}, 1));"></view>
  177. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 >= 60&&x.mastery * 100<85}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{yellowRGB}}, .3), rgba({{yellowRGB}}, 1));"></view>
  178. <view class="li-item-flex-progress" wx:if='{{x.mastery * 100 <60}}' style="width: {{x.mastery * 100}}%; background: linear-gradient(90deg, rgba({{redRGB}}, .3), rgba({{redRGB}}, 1));"></view>
  179. </view>
  180. <view class="li-item-text {{~~(x.mastery * 100) <= 65 ? 'text-red' : 'text-black'}}">{{~~(x.mastery * 100)}}%</view>
  181. </view>
  182. </view>
  183. </view>
  184. </block>
  185. </view>
  186. </view>
  187. </block>
  188. </block>
  189. </block>
  190. </block>
  191. <!-- 学期 -->
  192. <block wx:elif='{{navIndex == 2}}'>
  193. <!-- 学期无数据 -->
  194. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{!navList[navIndex].subjectList.length && !navList[navIndex].studentImg && !navList[navIndex].labels.length}}'></template>
  195. <block wx:else>
  196. <!-- 学期头部展示-头像-标签 -->
  197. <view class='header'>
  198. <image class='header-bg' src='../../assets/zhi_zhuo_wang.png'></image>
  199. <view class='header-content'>
  200. <image class='header-icon' src='{{navList[navIndex].studentImg ? baseImgUrl + navList[navIndex].studentImg + thumbnail : "../../assets/default_headicon.png"}}'></image>
  201. <view class='header-items' wx:if='{{navList[navIndex].labels.length > 0}}'>
  202. <view class='header-item {{index % 4 == 1 ? "header-item-red" : index % 4 == 2 ? "header-item-yellow" : index % 4 == 3 ? "header-item-green" : "header-item-blue"}}' wx:for='{{navList[navIndex].labels}}' wx:key='{{index}}'>{{item}}</view>
  203. </view>
  204. </view>
  205. </view>
  206. <!-- 学期无科目列表 -->
  207. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{navList[navIndex].subjectList.length == 0}}'></template>
  208. <block wx:else>
  209. <!-- 学期科目列表 -->
  210. <view class='nav'>
  211. <view class='nav-items'>
  212. <view class='nav-item {{index == navList[navIndex].subjectIndex ? "nav-item-active" : ""}}' wx:for='{{navList[navIndex].subjectList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectSubjectIndexCtl'>{{item.subject}}</view>
  213. </view>
  214. </view>
  215. <!-- 学期单科无数据 -->
  216. <template is='nodata-three' data='{{...navList[navIndex].nodataObj}}' wx:if='{{!navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePoint && !navList[navIndex].subjectList[navList[navIndex].subjectIndex].homeworkAccuracyRateList}}'></template>
  217. <view class='list' wx:else>
  218. <!-- 七天正确率 -->
  219. <!-- <view class="li-study" wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].homeworkAccuracyRateList.length}}'>
  220. <view class='li-study-title'>近七天作业正确率</view>
  221. <view class="li-study-column">
  222. <view class="li-study-column-item" wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].homeworkAccuracyRateList}}' wx:key='{{index}}'>
  223. <view class="li-study-column-text">{{item.rate >= 0 ? item.rate + '%': '无作业'}}</view>
  224. <view class="li-study-column-progress" style="height: {{item.rate / 100 * 400}}rpx; background: linear-gradient(0deg, rgba({{item.rate >= 85 ? greenRGB : item.rate >= 60 ? yellowRGB : redRGB}}, .3), rgba({{item.rate >= 85 ? greenRGB : item.rate >= 60 ? yellowRGB : redRGB}}, 1));"></view>
  225. <view class="li-study-column-text">{{item.date}}</view>
  226. </view>
  227. </view>
  228. </view> -->
  229. <!-- 知识维度 -->
  230. <view class='li-study' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.dimension.length || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.leaningSuggest.length || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.diagnostic}}'>
  231. <block wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.dimension.length || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.thisMonthTrueCount.length || navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.overallAvgTrueCount.length}}'>
  232. <view class='li-study-title'>知识纬度</view>
  233. <view class='li-study-chart'>
  234. <canvas class='li-study-canvas' canvas-id='knowledgeRadarCanvas'></canvas>
  235. <view class='li-study-chart-items'>
  236. <view class='li-study-chart-item' wx:for='{{navList[navIndex].accuracyArray}}' wx:for-item='val' wx:for-index='key' wx:key='{{key}}'>
  237. <text class='li-study-chart-item-circle' style='background: {{val.color}};'></text>
  238. <text class='li-study-chart-item-text' style='color: {{val.color}};'>{{val.name}}</text>
  239. </view>
  240. </view>
  241. </view>
  242. </block>
  243. <view class='li-study-area'>
  244. <view class='li-study-area-title' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.diagnostic}}'>
  245. <image class='li-study-icon-1' src='../../assets/zhen_duan_shuo_ming.png'></image>
  246. <text class='li-study-text-gray'>诊断说明</text>
  247. </view>
  248. <view class='li-study-area-content' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.diagnostic}}'>
  249. <view class='li-study-text-black'>{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.diagnostic}}</view>
  250. </view>
  251. <view class='li-study-area-content' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.leaningSuggest.length > 0}}'>
  252. <view class='li-study-text-gray-small' bindtap="toggleLeaningSuggestCtl">
  253. <text>学习建议</text>
  254. <view class="li-study-arrow {{navList[navIndex].subjectList[navList[navIndex].subjectIndex].isShowLeaningSuggest ? 'li-study-arrow-active': ''}}"></view>
  255. </view>
  256. <view class='li-study-area-items' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].isShowLeaningSuggest && navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.leaningSuggest.length > 0}}'>
  257. <view class='li-study-area-item' wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledge.leaningSuggest}}' wx:key='{{index}}'>
  258. <view class='li-study-area-item-title'>
  259. <text class='li-study-btn-1'>建议{{index + 1}}</text>
  260. <text class='li-study-text-red-small'>{{item.title}}</text>
  261. </view>
  262. <view class='li-study-text-black'>{{item.content}}</view>
  263. </view>
  264. </view>
  265. </view>
  266. </view>
  267. </view>
  268. <!-- 知识点掌握情况 -->
  269. <view class='li-study' wx:if='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePoint.length > 0}}'>
  270. <view class='li-study-title'>知识点掌握情况</view>
  271. <view class='li-study-area' wx:for='{{navList[navIndex].subjectList[navList[navIndex].subjectIndex].knowledgePoint}}' wx:key='{{index}}' data-index='{{index}}' bindtap="toggleShowNoknowledgePointCtl">
  272. <view class='li-study-area-row'>
  273. <view class='li-study-area-flex'>
  274. <text class='li-study-text-black'>{{item.style}}错误率</text>
  275. <text class='li-study-text-red-small'>{{item.wrongNum || 0}}</text>
  276. <text class='li-study-text-gray-small'>/{{item.totalNum || 0}}</text>
  277. </view>
  278. <canvas class='li-study-ring' canvas-id='knowledgePointMasteryRingCanvas-{{index}}'></canvas>
  279. </view>
  280. <view class='li-study-area-content' wx:if='{{item.noKnowledgePoint.length > 0 && item.isShowNoknowledgePoint}}'>
  281. <view class='li-study-area-flex'>
  282. <text class='li-study-btn-2'></text>
  283. <text class='li-study-text-red-small'>未掌握的知识点</text>
  284. </view>
  285. <view class='li-study-area-items'>
  286. <view class='li-study-area-item' wx:for='{{item.noKnowledgePoint}}' wx:for-item='val' wx:for-index='key' wx:key='{{key}}'>
  287. <view class='li-study-text-gray-small'>知识点{{key + 1}}</view>
  288. <view class='li-study-text-black'>{{val.name}}</view>
  289. <block wx:if='{{val.celebrities.length > 0}}'>
  290. <view>
  291. <text class='li-study-btn-1'>名师点拨</text>
  292. </view>
  293. <view class='li-study-area-item-li' wx:for='{{val.celebrities}}' wx:for-item='i' wx:for-index='j' wx:key='{{j}}'>
  294. <view class='li-study-area-item-li-label li-study-text-gray-small'>{{j + 1}}</view>
  295. <view class='li-study-area-item-li-flex li-study-text-black-small'>{{i}}</view>
  296. </view>
  297. </block>
  298. </view>
  299. </view>
  300. </view>
  301. </view>
  302. </view>
  303. </view>
  304. </block>
  305. </block>
  306. </block>
  307. </view>
  308. </view>
  309. </view>
  310. <view class='li-noData' wx:else>
  311. <view class='fixed'>
  312. <view class='fixed-left' bindtap='backBook'></view>
  313. </view>
  314. <image src='../../assets/wei_kai_tong.png' class='li-noData-img'></image>
  315. <view>未开通此服务</view>
  316. </view>