Explorar el Código

错误弹窗提示

wangxy hace 2 meses
padre
commit
31598fe87b

+ 1 - 1
pages/newEnglish/components/audioRightWrong.vue

@@ -51,7 +51,7 @@
 			const {
 				codeT
 			} = code;
-			data.result = codeT;
+      data.result = codeT;
 			data.image = resultImageList[code];
 			data.showImage = false;
 			popupRef.value.close();

+ 3 - 0
pages/newEnglish/components/mainCard.vue

@@ -38,6 +38,8 @@
 		<view class="ezy-image-dialog luyin">
 		</view>
 	</uni-popup>
+
+  <audioRightWrongVue></audioRightWrongVue>
 </template>
 
 <script setup>
@@ -46,6 +48,7 @@
 	import beiPageVue from './beiPage.vue';
 	import readContent from './readContent.vue';
 	import xuePage from './xuePage.vue';
+  import audioRightWrongVue from "../components/audioRightWrong.vue";
 	import {
 		ref,
 		onMounted,

+ 0 - 3
pages/newEnglish/index.vue

@@ -23,8 +23,6 @@
     <view class="word-view-btn" v-if="isLast&&isLearnRecord!=0" @click="handleComplete">完成</view>
    </view>
   </view>
-
-  <audioRightWrongVue></audioRightWrongVue>
  </view>
 </template>
 
@@ -50,7 +48,6 @@
  import {
   getWordCancel
  } from "../../api/word";
- import audioRightWrongVue from "./components/audioRightWrong.vue";
 
  const userCode = getUserIdentity();