From d2f989b9c1c00ac00553743ad4b9a9d0ecc62cfb Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Wed, 19 Nov 2025 16:19:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=BE=8E?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/notice/list/index.vue | 296 ++++++++++++++----------------------
1 file changed, 114 insertions(+), 182 deletions(-)
diff --git a/pages/notice/list/index.vue b/pages/notice/list/index.vue
index 734b38f..7f567f9 100644
--- a/pages/notice/list/index.vue
+++ b/pages/notice/list/index.vue
@@ -88,7 +88,12 @@
搜索
- 重置
+ 重置
+
+ + 新增
+ 修改
+ 删除
+
@@ -99,37 +104,35 @@
@scrolltolower="handleScrollToLower"
>
-
-
-
- + 新增
- 修改
- 删除
-
+
+
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
+
@@ -600,7 +569,7 @@ onBeforeUnmount(() => {
background: #f5f5f5;
border-radius: 8px;
padding: 8px 12px;
- min-height: 36px;
+
}
.picker-text {
@@ -629,7 +598,7 @@ onBeforeUnmount(() => {
justify-content: center;
background: #f5f5f5;
border-radius: 8px;
- padding: 8px 12px;
+
border: 2px solid transparent;
&.active {
@@ -639,6 +608,7 @@ onBeforeUnmount(() => {
}
.radio-text {
+ padding:4px;
font-size: 14px;
color: #333;
}
@@ -669,54 +639,7 @@ onBeforeUnmount(() => {
.admin-action-row {
display: flex;
gap: 12px;
- margin-bottom: 12px;
-}
-.notice-table {
- background: #fff;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
-}
-
-.table-header,
-.table-row {
- display: grid;
- grid-template-columns: 0.6fr 1fr 1fr 2fr;
- gap: 12px;
- padding: 14px 16px;
- align-items: center;
-}
-
-.table-header {
- background: #f8fafc;
- font-weight: 600;
- color: #333;
-}
-
-.table-row {
- border-top: 1px solid #f0f0f0;
- background: #fff;
- transition: background 0.2s;
-}
-
-.table-row:active {
- background: #f5f5f5;
-}
-
-.table-row.selected {
- background: #f0f6ff;
-}
-
-.table-cell {
- font-size: 14px;
- color: #555;
-}
-
-.table-cell.select {
- display: flex;
- align-items: center;
- justify-content: center;
}
.checkbox-indicator {
@@ -747,25 +670,6 @@ onBeforeUnmount(() => {
transform: rotate(45deg);
}
-.table-cell.title {
- font-weight: 500;
- color: #333;
-}
-
-.table-cell.title.pinned {
- color: #f56c6c;
-}
-
-.table-cell.level {
- color: #ff9800;
-}
-
-.table-cell.time,
-.table-cell.creator {
- font-size: 13px;
- color: #888;
-}
-
.notice-card {
background: #fff;
border-radius: 12px;
@@ -782,6 +686,34 @@ onBeforeUnmount(() => {
opacity: 0.9;
}
+.notice-card.admin-selectable {
+ position: relative;
+ padding-top: 32px;
+}
+
+.notice-card.selected {
+ box-shadow: 0 4px 18px rgba(40, 133, 255, 0.18);
+}
+
+.card-select-btn {
+
+ top: 12px;
+ left: 12px;
+ width: 30px;
+ height: 30px;
+ border-radius: 10px;
+ background: rgba(255, 255, 255, 0.98);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
+ z-index: 1;
+}
+
+.card-select-btn:active {
+ transform: scale(0.92);
+}
+
.notice-header {
display: flex;
flex-direction: column;
@@ -1043,7 +975,7 @@ onBeforeUnmount(() => {
gap: 12px;
margin-top: 20px;
padding-top: 20px;
- border-top: 1px solid #f0f0f0;
+
}
.modal-btn {