浏览代码

完成事件样式

愿你天天开心 8 月之前
父节点
当前提交
6bbda17a13
共有 1 个文件被更改,包括 20 次插入21 次删除
  1. 20 21
      src/views/emergencyCommandMap/RightSection/RightTop.vue

+ 20 - 21
src/views/emergencyCommandMap/RightSection/RightTop.vue

@@ -82,7 +82,7 @@ const fetchData = async () => {
       return;
     }
 
-    const response = await taskList({ eventId: props.eventId });
+    const response = await taskList({ eventId: "YJSJ3295457527" });
 
     if (response.code === 200) {
       console.log('查询成功预案:', response.data);
@@ -196,28 +196,28 @@ onMounted(() => {
 
           .header-left {
             display: flex;
-            align-items: center;
-
-            .box-title {
-              font-size: 38px;
-              font-family: YouSheBiaoTiHei;
-              color: #ffffff;
-              background-image: url('@/assets/images/taskTracking/titleBox.png');
-              background-repeat: no-repeat;
-              background-size: 311px 56px;
-              background-position: bottom left;
-              padding-left: 50px;
-            }
-
-            .time {
-              font-size: 32px;
-              color: #00e8ff;
-              margin-left: 70px;
-            }
+            align-items: center; // 垂直居中对齐
+          }
+
+          .box-title {
+            font-size: 38px;
+            font-family: YouSheBiaoTiHei;
+            color: #ffffff;
+            background-image: url('@/assets/images/taskTracking/titleBox.png');
+            background-repeat: no-repeat;
+            background-size: 311px 56px;
+            background-position: bottom left;
+            padding-left: 50px;
+          }
+
+          .time {
+            font-size: 32px;
+            color: #00e8ff;
+            margin-left: 70px;
           }
 
           .status {
-            width: 154px;
+            width: 354px;
             height: 56px;
             line-height: 56px;
             font-size: 32px;
@@ -226,7 +226,6 @@ onMounted(() => {
             text-align: center;
             margin-left: 30px;
           }
-
           .success {
             background-color: #38c95a;
           }