From 8bffcbb7f5fca4e1e7a308f6f786b63d0773704c Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期一, 28 四月 2025 19:28:29 +0800
Subject: [PATCH] 页面优化

---
 src/views/honors/index.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views/honors/index.vue b/src/views/honors/index.vue
index 4e91e52..cae8214 100644
--- a/src/views/honors/index.vue
+++ b/src/views/honors/index.vue
@@ -34,8 +34,7 @@
                 </el-pagination>
               </div>
             </div>
-
-
+            <el-empty v-if="!loading && !honorList.length"></el-empty>
           </div>
         </div>
       </div>
@@ -53,7 +52,7 @@
       honorList: [],
       total: 0,
       currentPage: 1,
-      loading: false,
+      loading: true,
     };
   },
   mounted() {
@@ -74,9 +73,6 @@
           start: (this.currentPage - 1) * 10,
           size: 10,
         },
-        // coverSize: {
-        //   height: 70
-        // }
       }).then((res) => {
         console.log(res, "res");
         if (res.datas && res.datas.length) {
@@ -241,9 +237,9 @@
   }
 }
 
-.honor-main-bottom{
-   display: flex;
-   justify-content: space-between
+.honor-main-bottom {
+  display: flex;
+  justify-content: space-between
 }
 
 ::v-deep .el-loading-spinner {
@@ -341,4 +337,9 @@
   border-radius: 5px;
   border: 1px solid#cccccc;
 }
+
+//淇敼榧犳爣婊戣繃鐨勯鑹�
+:deep.el-pagination.is-background .el-pager li:not(.disabled):hover {
+  color: #937950
+}
 </style>

--
Gitblit v1.9.1