xuqiaoying hace 3 años
padre
commit
c2a5c828c3
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 3 3
      pages2/bank/questionBank.vue
  2. 1 1
      pages2/bank/question_report.vue

+ 3 - 3
pages2/bank/questionBank.vue

@@ -67,10 +67,10 @@
                   <text
                     :class="{
                       right:
-                        item.optionsId == bank.ques ||
-                        item.optionsId == bank.ans,
+                        bankType == 1 && (item.optionsId == bank.ques ||
+                        item.optionsId == bank.ans),
                       wrong:
-                        item.optionsId == bank.ques && bank.ques != bank.ans,
+                        bankType == 1 && item.optionsId == bank.ques && bank.ques != bank.ans,
                       user_choose: bankType == 2 && (item.optionsId == bank.ques),
                     }"
                     class="activeTI"

+ 1 - 1
pages2/bank/question_report.vue

@@ -259,7 +259,7 @@ export default {
 		},
 		backBank() {
 			uni.navigateTo({
-				url: '/pages2/bank/questionBank?orderGoodsId='+orderGoodsId+'&id=' +this.nextExamId + '&goodsid=' + this.goodsId + '&moduleId=' + this.moduleId + '&chapterId=' + this.chapterId + ''
+				url: '/pages2/bank/questionBank?orderGoodsId='+this.orderGoodsId+'&id=' +this.nextExamId + '&goodsid=' + this.goodsId + '&moduleId=' + this.moduleId + '&chapterId=' + this.chapterId + ''
 			});
 			
 			// uni.navigateBack({