libushang 8 miesięcy temu
rodzic
commit
13aff1aa91

+ 8 - 0
src/types/auto-imports.d.ts

@@ -316,6 +316,10 @@ declare module 'vue' {
   interface GlobalComponents {}
   interface ComponentCustomProperties {
     readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
+    readonly ElLoading: UnwrapRef<typeof import('element-plus/es')['ElLoading']>
+    readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
+    readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
+    readonly ElNotification: UnwrapRef<typeof import('element-plus/es')['ElNotification']>
     readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
     readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
     readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
@@ -611,6 +615,10 @@ declare module '@vue/runtime-core' {
   interface GlobalComponents {}
   interface ComponentCustomProperties {
     readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
+    readonly ElLoading: UnwrapRef<typeof import('element-plus/es')['ElLoading']>
+    readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
+    readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
+    readonly ElNotification: UnwrapRef<typeof import('element-plus/es')['ElNotification']>
     readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
     readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
     readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>

+ 14 - 5
src/views/emergencyCommandMap/RightSection/StartPlan.vue

@@ -339,10 +339,12 @@ h2 {
   display: flex;
   margin-top: 30px;
   .tabs2 {
-    height: 620px;
+    height: 560px;
+    
     overflow-y: auto;
     .tab {
-      width: 399px;
+      /*width: 399px;*/
+      width: 600px;
       height: 70px;
       background: url('@/assets/images/plan/tab2.png') no-repeat;
       display: flex;
@@ -354,6 +356,9 @@ h2 {
       margin-top: 60px;
       position: relative;
       cursor: pointer;
+      .text {
+        white-space:nowrap;
+      }
       &::before {
         content: '';
         width: 2px;
@@ -370,7 +375,8 @@ h2 {
         }
       }
       &:hover {
-        width: 439px;
+        /*width: 439px;*/
+        width: 600px;
         background: url('@/assets/images/plan/tab2Active.png') no-repeat;
         .text {
           /* 设置字体透明 */
@@ -387,7 +393,8 @@ h2 {
       }
     }
     .tab-active2 {
-      width: 439px;
+      /*width: 439px;*/
+      width: 600px;
       background: url('@/assets/images/plan/tab2Active.png') no-repeat;
       .text {
         /* 设置字体透明 */
@@ -404,7 +411,9 @@ h2 {
     }
   }
   .tab-content2 {
-    height: 620px;
+    padding-left:20px;
+    height: 560px;
+    width: 90%;
     overflow-y: auto;
   }
 }