소스 검색

课程+考试

wangxy 2 달 전
부모
커밋
f774b21a36
3개의 변경된 파일32개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      pages/admin/Chengji/ksScoreShijuan.vue
  2. 10 0
      pages/client/Chengji/ksScoreShijuan.vue
  3. 11 0
      pages/client/Chengji/lxScoreShijuan.vue

+ 11 - 0
pages/admin/Chengji/ksScoreShijuan.vue

@@ -290,6 +290,17 @@
 		}
 	}
 
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
+	
 
 	function handleBack() {
 		uni.redirectTo({

+ 10 - 0
pages/client/Chengji/ksScoreShijuan.vue

@@ -269,6 +269,16 @@
 		}
 	}
 	
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+	
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
 	
 	function handleBack() {
 		

+ 11 - 0
pages/client/Chengji/lxScoreShijuan.vue

@@ -290,6 +290,17 @@
 		}
 	}
 
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
+
 
 	function handleBack() {
 		const pages = getCurrentPages();