人生啊人生 hai 1 semana
pai
achega
d7fe91838b

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

@@ -281,9 +281,10 @@ const QvStepUpdate = (name) => {
             v-if="WindowVideoRemoveColorStore().obj.viewOpen == true"
         ></WindowVideoRemoveColor>
         
+        <WindowMenu
+            v-if="WindowMenuStore().obj.viewOpen == true"
+        ></WindowMenu>
 
-        <WindowMenu></WindowMenu>
-        
         
         <!-- 我们会通过一个全局的变量,来控制什么组件是否显示 CommonVal().loadSuccess 是一种方式,3d场景加载完成后会变成 true -->
         <div

+ 1 - 2
src/components/WindowQingXiCheAndQv/WindowMenu.vue

@@ -4,7 +4,6 @@ import { computed, onMounted, onUnmounted, ref } from "vue";
 import { WindowMenuStore } from "@/components/WindowQingXiCheAndQv/store/WindowMenuStore.js";
 import { ComVal } from "../ThreeWorldEventQingXiCheAndQv/common/ComVal.js";
 
-
 </script>
 
 <template>
@@ -149,7 +148,7 @@ import { ComVal } from "../ThreeWorldEventQingXiCheAndQv/common/ComVal.js";
                 // background-position: center;
                 // background-size: 100% 100%;
 
-                background: linear-gradient(90deg, rgba(58, 150, 136, 0.26) 0.01%, #3A9688 19.06%, #3A9688 65.77%, rgba(58, 150, 136, 0) 100%);
+                background: linear-gradient(90deg, rgba(58, 150, 136, 0.01) 0.01%, #3A9688 19.06%, #3A9688 65.77%, rgba(58, 150, 136, 0) 100%);
             }
 
             .lineBg {

+ 3 - 3
src/components/WindowQingXiCheAndQv/store/WindowMenuStore.js

@@ -9,11 +9,11 @@ export const WindowMenuStore = defineStore('WindowMenuStore', () => {
     const obj = ref({
         
         // 是否展示窗口
-        open : false,
+        viewOpen : false,
 
         // 当前进度的数组下标
-        // index : -1,
-        index : 3,
+        index : -1,
+        // index : 3,
         // 菜单列表
         list : [