| 
					
				 | 
			
			
				@@ -1,6 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { computed, defineComponent, onMounted, reactive, watch } from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import styles from './index.module.less' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { Button, CellGroup, Col, Dialog, Field, Icon, Popup, Row, showToast } from 'vant' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { Button, CellGroup, Col, Dialog, Field, Icon, Popup, Row, showToast, Stepper } from 'vant' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import iconMenu from '../image/icon-menu.png' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import iconDelte from '../image/icon-delete.png' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import iconEdit from '../image/icon-edit.png' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -73,8 +73,12 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // if (unitData['level' + state.level]?.questionList.length <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       unitData['level' + state.level].totalScore = query.totalScore 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       unitData['level' + state.level].questionNum = query.questionNum 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      unitData['level' + state.level].passScore = query.totalScore 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      unitData['level' + state.level].timeMinutes = query.timeMinutes 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (unitData['level' + state.level].passScore <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        unitData['level' + state.level].passScore = query.totalScore 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (unitData['level' + state.level].timeMinutes <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        unitData['level' + state.level].timeMinutes = query.timeMinutes 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       unitData['level' + state.level].level = query.level 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -218,9 +222,15 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           {{ title: () => <div class={styles.dialogDelete}>删除题目</div> }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </Dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <Popup position="bottom" round v-model:show={state.settingStatus} closeable> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <Popup 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          position="bottom" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-model:show={state.settingStatus} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          closeable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          class={styles.settingStatus} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div class={styles.partContainer}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <div class={styles.partTitle}>请选择练习小节</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div class={styles.partTitle}>修改</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <CellGroup class={styles.cellGroup} border={false}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <Field 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 inputAlign="right" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -233,6 +243,14 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 center 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 {{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  input: () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <Stepper 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      v-model={state.pScore} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      max={wTotalScore.value} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      showMinus={false} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      showPlus={false} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ></Stepper> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   extra: () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div class={styles.loctionIconWrap}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <span> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -244,15 +262,17 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </Field> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <Field 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 inputAlign="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                label="测试时长" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                label="测验时长" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 type="number" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 maxlength={3} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 autocomplete="off" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 class={styles.inputControl} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-model={state.pTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 center 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 {{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  input: () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <Stepper v-model={state.pTime} showMinus={false} showPlus={false}></Stepper> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   extra: () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div class={styles.loctionIconWrap}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <span> 分钟</span> 
			 |