人生啊人生 1 tháng trước cách đây
mục cha
commit
76d94bceae

+ 9 - 2
src/components/ThreeWorldEventQingXiCheAndQv/QingXiCheAndQvMain.vue

@@ -95,14 +95,21 @@ const callbackProcessEvent = (json) => {
     
     // 学习阶段才弹出进度的逻辑
     if (QingXiCheAndQvProcessEventStore().obj.eventMode == 0) {
+
         WindowEvent.find().WindowMenuStoreOpen(
             QingXiCheAndQvProcessEventStore().obj.listIndex,
             QingXiCheAndQvProcessEventStore().obj.list
         );
+        
+        WindowEvent.find().WindowFractionStoreExit(false);
+
+    } else {
+
+        // 考试的时候显示
+        WindowEvent.find().WindowFractionStoreOpen(0);
+        
     }
     
-    WindowEvent.find().WindowFractionStoreOpen(0);
-
 }
 
 

+ 6 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAdnQvCarEventStep.js

@@ -1,5 +1,6 @@
 import { QingXiCheAndQvCarEventClick } from './QingXiCheAndQvCarEventClick.js';
 import { CommonGuiDbListTwo } from "../../../utils/common/CommonGuiDbListTwo.js";
+import { QingXiCheAndQvCarEvent } from './QingXiCheAndQvCarEvent.js';
 import { ElMessage, ElMessageBox } from 'element-plus';
 import { WindowEvent } from "../../WindowQingXiCheAndQv/js/WindowEvent.js";
 
@@ -1050,7 +1051,11 @@ export class QingXiCheAdnQvCarEventStep {
             plain: true,
         });
 
-        WindowEvent.find().WindowFractionStoreOpen(-1);
+
+        // 考试的时候才出现
+        if (QingXiCheAndQvCarEvent.find().eventMode == 1) {
+            WindowEvent.find().WindowFractionStoreOpen(-1);
+        }
 
         return false;
 

+ 3 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvThreeWorldEvent.js

@@ -199,8 +199,10 @@ export class QingXiCheAndQvThreeWorldEvent {
 
         if (thisClass.experimentMeshBool(pickResult) == true) {
 
+            let messageConfirmTxt = QingXiCheAndQvCarEvent.find().eventMode == 1 ? '确定进行该操作吗?错误操作将扣1分!' : '确定进行该操作吗?!';
+
             ElMessageBox.confirm(
-                '确定进行该操作吗?错误操作将扣1分!',
+                messageConfirmTxt,
                 '提示',
                 {
                     confirmButtonClass : 'el-button--success',

+ 1 - 0
src/components/WindowQingXiCheAndQv/js/WindowEvent.js

@@ -327,6 +327,7 @@ export class WindowEvent {
 
     }
     
+    
 
 }