From bb8dda927e031ad0dea7a126b9e62ae76ace0f47 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 02 Sep 2025 14:24:24 +0800
Subject: [PATCH] feat:调整

---
 src/views/resource/components/spotDetails.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/views/resource/components/spotDetails.vue b/src/views/resource/components/spotDetails.vue
index 16c8ba5..6406576 100644
--- a/src/views/resource/components/spotDetails.vue
+++ b/src/views/resource/components/spotDetails.vue
@@ -89,7 +89,8 @@
                 :current-page="params.page"
                 :page-size="params.pageSize"
                 background
-                layout="prev, pager, next"
+                layout="prev, pager, next, ..."
+                :pager-count="3"
                 prev-text="上一页"
                 next-text="下一页"
                 :total="total"
@@ -695,13 +696,14 @@
     background: transparent !important;
   }
   :deep(.el-pagination) {
+  
     .btn-prev,
     .btn-next {
-      padding: 5px 13px;
+      padding: 5px 6px;
     }
   }
   :deep(.el-pager li) {
-    margin: 0 0.4rem;
+    margin: 0 0.1rem;
     background: rgba(34, 34, 34, 0.9) !important;
     box-shadow: 0px 4px 72px 0px rgba(0, 0, 0, 0.25) !important;
     border-radius: 8px 8px 8px 8px !important;
@@ -720,18 +722,20 @@
     border-radius: 8px 8px 8px 8px !important;
   }
   .pagination-container {
-    margin-top: auto;
-    padding: 10px 0;
+  margin-top: auto;
+     padding: 8px 5px !important;
     background: white;
     display: flex;
     justify-content: center;
-    height: 20px;
+    height: auto; // 取消固定高度20px,避免内容被截断
     margin: 24px 0 14px 0;
+    width: 100%; 
+     box-sizing: border-box
   }
 }
 
 .el-table {
-  flex: 1; /* 让表格占据剩余空间 */
+  flex: 1; 
   overflow: auto;
 }
 .btnGroups {

--
Gitblit v1.9.3