gong_zuo_ji_yi.wxml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <!--pages/memory/memory.wxml-->
  2. <view class='container'>
  3. <image src='../../image/block.png' class='block' style="padding-top:{{statusBar+10}}px" bindtap='blockCtl'></image>
  4. <view class='wrapper' style="margin-top:{{statusBar-10}}px">
  5. <view class="white" wx:if="{{isWhite}}"></view>
  6. <view class='li' wx:if='{{isGzjy}}'>
  7. <image src='../../image/gzjy.png' class='guide-img'></image>
  8. <view class='guide-btn' bindtap='actionAnswer'>开始答题</view>
  9. </view>
  10. <!-- 工作记忆 -->
  11. <view wx:if='{{!isGzjy}}'>
  12. <!-- 练习关 -->
  13. <view class='li' wx:if='{{level==0}}'>
  14. <view>
  15. <view wx:if='{{isOneShow}}'>
  16. <view class='li-red-title'>{{allList[0][0].header}}</view>
  17. <view class='li-text' style="padding-top: 30rpx;padding-left: 24rpx;">{{allList[0][0].title}}</view>
  18. <view class='li-four'>
  19. <image wx:for='{{allList[0][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?162:index==1?400:405}}rpx;left:{{index==0?258:index==1?63:388}}rpx;width:160rpx;height:160rpx;' wx:if='{{isOneImgShow}}'></image>
  20. <view class='li-four-point'></view>
  21. </view>
  22. </view>
  23. <view wx:if='{{!isOneShow}}'>
  24. <view class='li-red-title'>{{allList[0][0].header}}</view>
  25. <view class='li-text'>{{allList[0][0].titleOne}}</view>
  26. <view class='li-four'>
  27. <view class='li-four-select' wx:for='{{allList[0][0].answerList}}' wx:key='index' style='top:{{index==0?139:index==1?374:335}}rpx;left:{{index==0?234:index==1?121:403}}rpx' data-lindex="{{0}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  28. <image src='{{item.img}}' class='li-four-img' style='width:160rpx;height:160rpx;'></image>
  29. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  30. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  31. </view>
  32. <view class='li-four-point'></view>
  33. </view>
  34. <view class='li-yes' wx:if='{{isAnswer}}'>
  35. <view wx:if='{{isYes}}'>回答正确</view>
  36. <view wx:if='{{!isYes}}'>回答错误</view>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. <!-- 第一关 -->
  42. <view class='li' wx:if='{{level==1}}'>
  43. <view wx:if='{{isOne}}'>
  44. <view wx:if='{{isOneShow}}'>
  45. <view class='li-red-title'>下面开始正式测试</view>
  46. <view class='li-text' style="padding-top: 30rpx;padding-left: 24rpx;">{{allList[1][0].title}}</view>
  47. <view class='li-four'>
  48. <image wx:for='{{allList[1][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?162:index==1?400:405}}rpx;left:{{index==0?258:index==1?63:388}}rpx;width:244rpx;height:180rpx;' wx:if='{{isOneImgShow}}'></image>
  49. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  50. </view>
  51. </view>
  52. <view wx:if='{{!isOneShow}}'>
  53. <view class='li-text'>{{allList[1][0].titleOne}}</view>
  54. <view class='li-four'>
  55. <view class='li-four-select' wx:for='{{allList[1][0].answerList}}' wx:key='index' style='top:{{index==0?139:index==1?374:335}}rpx;left:{{index==0?234:index==1?121:403}}rpx' data-lindex="{{1}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  56. <image src='{{item.img}}' class='li-four-img' style='width:244rpx;height:180rpx;'></image>
  57. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  58. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  59. </view>
  60. <view class='li-four-point'></view>
  61. </view>
  62. <view class='li-yes' wx:if='{{isAnswer}}'>
  63. <view wx:if='{{isYes}}'>回答正确</view>
  64. <view wx:if='{{!isYes}}'>回答错误</view>
  65. </view>
  66. </view>
  67. </view>
  68. <view wx:if='{{!isOne}}'>
  69. <view wx:if='{{isOneShow}}'>
  70. <view class='li-red-title'>下面开始正式测试</view>
  71. <view class='li-text' style="padding-top: 30rpx;padding-left: 24rpx;">{{allList[1][1].title}}</view>
  72. <view class='li-four'>
  73. <image wx:for='{{allList[1][1].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?240:index==1?177:460}}rpx;left:{{index==0?162:index==1?411:320}}rpx;width:120rpx;height:150rpx;' wx:if='{{isOneImgShow}}'></image>
  74. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  75. </view>
  76. </view>
  77. <view wx:if='{{!isOneShow}}'>
  78. <view class='li-text'>{{allList[1][1].titleOne}}</view>
  79. <view class='li-four'>
  80. <view class='li-four-select' wx:for='{{allList[1][1].answerList}}' wx:key='index' style='top:{{index==0?240:index==1?177:460}}rpx;left:{{index==0?162:index==1?411:320}}rpx' data-lindex="{{1}}" data-mindex='{{1}}' data-sindex='{{index}}' bindtap='selectItems'>
  81. <image src='{{item.img}}' class='li-four-img' style='width:120rpx;height:150rpx;'></image>
  82. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  83. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  84. </view>
  85. <view class='li-four-point'></view>
  86. </view>
  87. <view class='li-yes' wx:if='{{isAnswer}}'>
  88. <view wx:if='{{isYes}}'>回答正确</view>
  89. <view wx:if='{{!isYes}}'>回答错误</view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 第二关 -->
  95. <view class='li' wx:if='{{level==2}}'>
  96. <view wx:if='{{isOne}}'>
  97. <view wx:if='{{isOneShow}}'>
  98. <view class='li-text'>{{allList[2][0].title}}</view>
  99. <view class='li-four'>
  100. <image wx:for='{{allList[2][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?108:index==1?446:index==2?400:156}}rpx;left:{{index==0?132:index==1?108:index==2?390:420}}rpx;width:170rpx;height:170rpx;' wx:if='{{isOneImgShow}}'></image>
  101. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  102. </view>
  103. </view>
  104. <view wx:if='{{!isOneShow}}'>
  105. <view class='li-text'>{{allList[2][0].titleOne}}</view>
  106. <view class='li-four'>
  107. <view class='li-four-select' wx:for='{{allList[2][0].answerList}}' wx:key='index' style='top:{{index==0?108:index==1?446:index==2?400:156}}rpx;left:{{index==0?132:index==1?108:index==2?390:420}}rpx' data-lindex="{{2}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  108. <image src='{{item.img}}' class='li-four-img' style='width:170rpx;height:170rpx;'></image>
  109. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  110. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  111. </view>
  112. <view class='li-four-point'></view>
  113. </view>
  114. <view class='li-yes' wx:if='{{isAnswer}}'>
  115. <view wx:if='{{isYes}}'>回答正确</view>
  116. <view wx:if='{{!isYes}}'>回答错误</view>
  117. </view>
  118. </view>
  119. </view>
  120. <view wx:if='{{!isOne}}'>
  121. <view wx:if='{{isOneShow}}'>
  122. <view class='li-text'>{{allList[2][1].title}}</view>
  123. <view class='li-four'>
  124. <image wx:for='{{allList[2][1].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?115:index==1?238:index==2?260:440}}rpx;left:{{index==0?318:index==1?120:index==2?470:260}}rpx;width:130rpx;height:130rpx;' wx:if='{{isOneImgShow}}'></image>
  125. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  126. </view>
  127. </view>
  128. <view wx:if='{{!isOneShow}}'>
  129. <view class='li-text'>{{allList[2][1].titleOne}}</view>
  130. <view class='li-four'>
  131. <view class='li-four-select' wx:for='{{allList[2][1].answerList}}' wx:key='index' style='top:{{index==0?115:index==1?238:index==2?260:440}}rpx;left:{{index==0?318:index==1?120:index==2?470:260}}rpx' data-lindex="{{2}}" data-mindex='{{1}}' data-sindex='{{index}}' bindtap='selectItems'>
  132. <image src='{{item.img}}' class='li-four-img' style='width:130rpx;height:130rpx;'></image>
  133. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  134. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  135. </view>
  136. <view class='li-four-point'></view>
  137. </view>
  138. <view class='li-yes' wx:if='{{isAnswer}}'>
  139. <view wx:if='{{isYes}}'>回答正确</view>
  140. <view wx:if='{{!isYes}}'>回答错误</view>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. <!-- 第三关 -->
  146. <view class='li' wx:if='{{level==3}}'>
  147. <view wx:if='{{isOne}}'>
  148. <view wx:if='{{isOneShow}}'>
  149. <view class='li-text'>{{allList[3][0].title}}</view>
  150. <view class='li-four'>
  151. <image wx:for='{{allList[3][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?94:index==1?286:index==2?480:index==3?478:286}}rpx;left:{{index==0?240:index==1?79:index==2?115:index==3?383:436}}rpx;width:217rpx;height:160rpx;' wx:if='{{isOneImgShow}}'></image>
  152. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  153. </view>
  154. </view>
  155. <view wx:if='{{!isOneShow}}'>
  156. <view class='li-text'>{{allList[3][0].titleOne}}</view>
  157. <view class='li-four'>
  158. <view class='li-four-select' wx:for='{{allList[3][0].answerList}}' wx:key='index' style='top:{{index==0?94:index==1?286:index==2?480:index==3?478:286}}rpx;left:{{index==0?240:index==1?79:index==2?115:index==3?383:436}}rpx' data-lindex="{{3}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  159. <image src='{{item.img}}' class='li-four-img' style='width:217rpx;height:160rpx;'></image>
  160. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  161. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  162. </view>
  163. <view class='li-four-point'></view>
  164. </view>
  165. <view class='li-yes' wx:if='{{isAnswer}}'>
  166. <view wx:if='{{isYes}}'>回答正确</view>
  167. <view wx:if='{{!isYes}}'>回答错误</view>
  168. </view>
  169. </view>
  170. </view>
  171. <view wx:if='{{!isOne}}'>
  172. <view wx:if='{{isOneShow}}'>
  173. <view class='li-text'>{{allList[3][1].title}}</view>
  174. <view class='li-four'>
  175. <image wx:for='{{allList[3][1].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?156:index==1?366:index==2?510:index==3?333:140}}rpx;left:{{index==0?147:index==1?97:index==2?276:index==3?470:370}}rpx;width:149rpx;height:149rpx;' wx:if='{{isOneImgShow}}'></image>
  176. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  177. </view>
  178. </view>
  179. <view wx:if='{{!isOneShow}}'>
  180. <view class='li-text'>{{allList[3][1].titleOne}}</view>
  181. <view class='li-four'>
  182. <view class='li-four-select' wx:for='{{allList[3][1].answerList}}' wx:key='index' style='top:{{index==0?156:index==1?366:index==2?510:index==3?333:140}}rpx;left:{{index==0?147:index==1?97:index==2?276:index==3?470:370}}rpx' data-lindex="{{3}}" data-mindex='{{1}}' data-sindex='{{index}}' bindtap='selectItems'>
  183. <image src='{{item.img}}' class='li-four-img' style='width:149rpx;height:149rpx;'></image>
  184. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  185. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  186. </view>
  187. <view class='li-four-point'></view>
  188. </view>
  189. <view class='li-yes' wx:if='{{isAnswer}}'>
  190. <view wx:if='{{isYes}}'>回答正确</view>
  191. <view wx:if='{{!isYes}}'>回答错误</view>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <!-- 第四关 -->
  197. <view class='li' wx:if='{{level==4}}'>
  198. <view wx:if='{{isOne}}'>
  199. <view wx:if='{{isOneShow}}'>
  200. <view class='li-text'>{{allList[4][0].title}}</view>
  201. <view class='li-four'>
  202. <image wx:for='{{allList[4][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?99:index==1?157:index==2?345:index==3?503:index==4?386:192}}rpx;left:{{index==0?291:index==1?107:index==2?63:index==3?236:index==4?443:481}}rpx;width:170rpx;height:150rpx;' wx:if='{{isOneImgShow}}'></image>
  203. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  204. </view>
  205. </view>
  206. <view wx:if='{{!isOneShow}}'>
  207. <view class='li-text'>{{allList[4][0].titleOne}}</view>
  208. <view class='li-four'>
  209. <view class='li-four-select' wx:for='{{allList[4][0].answerList}}' wx:key='index' style='top:{{index==0?99:index==1?157:index==2?345:index==3?503:index==4?386:192}}rpx;left:{{index==0?291:index==1?107:index==2?63:index==3?236:index==4?443:481}}rpx' data-lindex="{{4}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  210. <image src='{{item.img}}' class='li-four-img' style='width:170rpx;height:150rpx;'></image>
  211. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  212. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  213. </view>
  214. <view class='li-four-point'></view>
  215. </view>
  216. <view class='li-yes' wx:if='{{isAnswer}}'>
  217. <view wx:if='{{isYes}}'>回答正确</view>
  218. <view wx:if='{{!isYes}}'>回答错误</view>
  219. </view>
  220. </view>
  221. </view>
  222. <view wx:if='{{!isOne}}'>
  223. <view wx:if='{{isOneShow}}'>
  224. <view class='li-text'>{{allList[4][1].title}}</view>
  225. <view class='li-four'>
  226. <image wx:for='{{allList[4][1].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?93:index==1?185:index==2?393:index==3?500:index==4?370:167}}rpx;left:{{index==0?266:index==1?70:index==2?74:index==3?279:index==4?465:446}}rpx;width:120rpx;height:120rpx;' wx:if='{{isOneImgShow}}'></image>
  227. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  228. </view>
  229. </view>
  230. <view wx:if='{{!isOneShow}}'>
  231. <view class='li-text'>{{allList[4][1].titleOne}}</view>
  232. <view class='li-four'>
  233. <view class='li-four-select' wx:for='{{allList[4][1].answerList}}' wx:key='index' style='top:{{index==0?93:index==1?185:index==2?393:index==3?500:index==4?370:167}}rpx;left:{{index==0?266:index==1?70:index==2?74:index==3?279:index==4?465:446}}rpx' data-lindex="{{4}}" data-mindex='{{1}}' data-sindex='{{index}}' bindtap='selectItems'>
  234. <image src='{{item.img}}' class='li-four-img' style='width:120rpx;height:120rpx;'></image>
  235. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  236. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  237. </view>
  238. <view class='li-four-point'></view>
  239. </view>
  240. <view class='li-yes' wx:if='{{isAnswer}}'>
  241. <view wx:if='{{isYes}}'>回答正确</view>
  242. <view wx:if='{{!isYes}}'>回答错误</view>
  243. </view>
  244. </view>
  245. </view>
  246. </view>
  247. <!-- 第五关 -->
  248. <view class='li' wx:if='{{level==5}}'>
  249. <view wx:if='{{isOne}}'>
  250. <view wx:if='{{isOneShow}}'>
  251. <view class='li-text'>{{allList[5][0].title}}</view>
  252. <view class='li-four'>
  253. <image wx:for='{{allList[5][0].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?117:index==1?152:index==2?337:index==3?505:index==4?510:index==5?327:155}}rpx;left:{{index==0?268:index==1?80:index==2?76:index==3?153:index==4?357:index==5?458:459}}rpx;width:143rpx;height:143rpx;' wx:if='{{isOneImgShow}}'></image>
  254. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  255. </view>
  256. </view>
  257. <view wx:if='{{!isOneShow}}'>
  258. <view class='li-text'>{{allList[5][0].titleOne}}</view>
  259. <view class='li-four'>
  260. <view class='li-four-select' wx:for='{{allList[5][0].answerList}}' wx:key='index' style='top:{{index==0?117:index==1?152:index==2?337:index==3?505:index==4?510:index==5?327:155}}rpx;left:{{index==0?268:index==1?80:index==2?76:index==3?153:index==4?357:index==5?458:459}}rpx' data-lindex="{{5}}" data-mindex='{{0}}' data-sindex='{{index}}' bindtap='selectItems'>
  261. <image src='{{item.img}}' class='li-four-img' style='width:143rpx;height:143rpx;'></image>
  262. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  263. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  264. </view>
  265. <view class='li-four-point'></view>
  266. </view>
  267. <view class='li-yes' wx:if='{{isAnswer}}'>
  268. <view wx:if='{{isYes}}'>回答正确</view>
  269. <view wx:if='{{!isYes}}'>回答错误</view>
  270. </view>
  271. </view>
  272. </view>
  273. <view wx:if='{{!isOne}}'>
  274. <view wx:if='{{isOneShow}}'>
  275. <view class='li-text'>{{allList[5][1].title}}</view>
  276. <view class='li-four'>
  277. <image wx:for='{{allList[5][1].titleList}}' wx:key='index' src='{{item.img}}' class='li-four-img' style='top:{{index==0?83:index==1?154:index==2?333:index==3?480:index==4?450:index==5?287:119}}rpx;left:{{index==0?274:index==1?120:index==2?98:index==3?245:index==4?406:index==5?507:426}}rpx;width:120rpx;height:150rpx;' wx:if='{{isOneImgShow}}'></image>
  278. <view class='li-four-point' wx:if='{{isOnePointShow}}'></view>
  279. </view>
  280. </view>
  281. <view wx:if='{{!isOneShow}}'>
  282. <view class='li-text'>{{allList[5][1].titleOne}}</view>
  283. <view class='li-four'>
  284. <view class='li-four-select' wx:for='{{allList[5][1].answerList}}' wx:key='index' style='top:{{index==0?83:index==1?154:index==2?333:index==3?480:index==4?450:index==5?287:119}}rpx;left:{{index==0?274:index==1?120:index==2?98:index==3?245:index==4?406:index==5?507:426}}rpx' data-lindex="{{5}}" data-mindex='{{1}}' data-sindex='{{index}}' bindtap='selectItems'>
  285. <image src='{{item.img}}' class='li-four-img' style='width:120rpx;height:150rpx;'></image>
  286. <image wx:if='{{!isYes&&item.status=="active"}}' src='{{noImg}}' class='li-four-yes'></image>
  287. <image wx:if='{{isYes&&item.status=="active"}}' src='{{yesImg}}' class='li-four-yes'></image>
  288. </view>
  289. <view class='li-four-point'></view>
  290. </view>
  291. <view class='li-yes' wx:if='{{isAnswer}}'>
  292. <view wx:if='{{isYes}}'>回答正确</view>
  293. <view wx:if='{{!isYes}}'>回答错误</view>
  294. </view>
  295. </view>
  296. </view>
  297. </view>
  298. </view>
  299. </view>
  300. </view>