|  | @@ -193,6 +193,7 @@ export default defineComponent({
 | 
											
												
													
														|  |          setTimeout(() => {
 |  |          setTimeout(() => {
 | 
											
												
													
														|  |            // const currentItemDom: Element =
 |  |            // const currentItemDom: Element =
 | 
											
												
													
														|  |            //   document.querySelectorAll('.swipe-item-question')[state.currentIndex]
 |  |            //   document.querySelectorAll('.swipe-item-question')[state.currentIndex]
 | 
											
												
													
														|  | 
 |  | +          // console.log(document.querySelectorAll('.van-swipe-item'), state.currentIndex)
 | 
											
												
													
														|  |            const currentItemDom: any = document
 |  |            const currentItemDom: any = document
 | 
											
												
													
														|  |              .querySelectorAll('.van-swipe-item')
 |  |              .querySelectorAll('.van-swipe-item')
 | 
											
												
													
														|  |              [state.currentIndex].querySelector('.swipe-item-question')
 |  |              [state.currentIndex].querySelector('.swipe-item-question')
 | 
											
										
											
												
													
														|  | @@ -230,21 +231,23 @@ export default defineComponent({
 | 
											
												
													
														|  |      const onCloseResult = async () => {
 |  |      const onCloseResult = async () => {
 | 
											
												
													
														|  |        state.questionList = []
 |  |        state.questionList = []
 | 
											
												
													
														|  |        await getExamDetails()
 |  |        await getExamDetails()
 | 
											
												
													
														|  | -      swipeRef.value?.swipeTo(0, {
 |  | 
 | 
											
												
													
														|  | -        immediate: true
 |  | 
 | 
											
												
													
														|  | -      })
 |  | 
 | 
											
												
													
														|  | -      state.swipeHeight = 'auto'
 |  | 
 | 
											
												
													
														|  | -      state.answerAnalysis = ''
 |  | 
 | 
											
												
													
														|  | -      state.overResult = {
 |  | 
 | 
											
												
													
														|  | -        time: '00:00', // 时长
 |  | 
 | 
											
												
													
														|  | -        questionLength: 0, // 答题数
 |  | 
 | 
											
												
													
														|  | -        errorLength: 0, // 错题数
 |  | 
 | 
											
												
													
														|  | -        rate: 0 // 正确率
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -      state.visiableResult = false
 |  | 
 | 
											
												
													
														|  | -      // 恢复计时
 |  | 
 | 
											
												
													
														|  | -      resume()
 |  | 
 | 
											
												
													
														|  | -      resizeSwipeItemHeight()
 |  | 
 | 
											
												
													
														|  | 
 |  | +      setTimeout(async () => {
 | 
											
												
													
														|  | 
 |  | +        swipeRef.value?.swipeTo(0, {
 | 
											
												
													
														|  | 
 |  | +          immediate: true
 | 
											
												
													
														|  | 
 |  | +        })
 | 
											
												
													
														|  | 
 |  | +        state.swipeHeight = 'auto'
 | 
											
												
													
														|  | 
 |  | +        state.answerAnalysis = ''
 | 
											
												
													
														|  | 
 |  | +        state.overResult = {
 | 
											
												
													
														|  | 
 |  | +          time: '00:00', // 时长
 | 
											
												
													
														|  | 
 |  | +          questionLength: 0, // 答题数
 | 
											
												
													
														|  | 
 |  | +          errorLength: 0, // 错题数
 | 
											
												
													
														|  | 
 |  | +          rate: 0 // 正确率
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        state.visiableResult = false
 | 
											
												
													
														|  | 
 |  | +        // 恢复计时
 | 
											
												
													
														|  | 
 |  | +        resume()
 | 
											
												
													
														|  | 
 |  | +        resizeSwipeItemHeight()
 | 
											
												
													
														|  | 
 |  | +      }, 100)
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      // 下一个考点
 |  |      // 下一个考点
 | 
											
										
											
												
													
														|  | @@ -266,6 +269,7 @@ export default defineComponent({
 | 
											
												
													
														|  |        state.id = currentKnowle.id
 |  |        state.id = currentKnowle.id
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |        state.visiableResult = false
 |  |        state.visiableResult = false
 | 
											
												
													
														|  | 
 |  | +      state.currentIndex = 0
 | 
											
												
													
														|  |        // 重置
 |  |        // 重置
 | 
											
												
													
														|  |        onCloseResult()
 |  |        onCloseResult()
 | 
											
												
													
														|  |      }
 |  |      }
 |