From 0e074957e62176e43c8c43b11fd46a7e89630abc Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期三, 23 四月 2025 18:22:56 +0800
Subject: [PATCH] 接口调用

---
 src/views/chronology/index.vue |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/src/views/chronology/index.vue b/src/views/chronology/index.vue
index f60bbfb..7efd5f0 100644
--- a/src/views/chronology/index.vue
+++ b/src/views/chronology/index.vue
@@ -30,8 +30,14 @@
           <div>鍏朵粬</div>
         </div>
       </div>
-      <div class="contentBox">
-        <div class="chartsBox" v-if="showList">
+      <div
+        class="contentBox"
+        element-loading-text="骞磋氨鍔犺浇涓�"
+        element-loading-spinner="el-icon-loading"
+        element-loading-background="rgba(0, 0, 0, 0)"
+        v-loading="!showList"
+      >
+        <div class="chartsBox">
           <div
             class="chartsItemBox"
             v-for="(item, index) in contentList"
@@ -78,6 +84,7 @@
             </div>
           </div>
         </div>
+        <div></div>
       </div>
     </div>
   </div>
@@ -214,6 +221,7 @@
           }
         }
       }
+      this.contentList[index].list[cindex].showDetail = false;
     },
     showDetail(index, cindex, type) {
       for (let i = 0; i < this.contentList.length; i++) {
@@ -273,6 +281,13 @@
     display: flex;
     align-items: end;
     overflow: auto;
+
+    ::v-deep .el-loading-spinner .el-loading-text {
+      font-size: 14px;
+      color: #937950;
+    }
+
+  
     .chartsBox {
       white-space: nowrap;
       padding: 0 80px;
@@ -428,4 +443,7 @@
   right: 5px;
   z-index: 999;
 }
+::v-deep .el-loading-spinner {
+      color: #937950 !important;
+    }
 </style>

--
Gitblit v1.9.1