From a3659cbaf2b87cad7bb18adf94e81abcb10ff459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E4=BF=8A=E6=9D=B0?= Date: Sun, 9 Mar 2025 09:50:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=20vxeTable=20pager=20?= =?UTF-8?q?=E5=9C=A8=20mini=20=E4=B8=8B=E6=8E=A7=E4=BB=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=85=A8=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/theme/vxeTable.scss | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Web/src/theme/vxeTable.scss b/Web/src/theme/vxeTable.scss index 60d5a211..de8070fe 100644 --- a/Web/src/theme/vxeTable.scss +++ b/Web/src/theme/vxeTable.scss @@ -47,7 +47,7 @@ .vxe-pager.size--mini { height: 30px; - margin-top: 4px; + margin-top: 2px; } // 在El-Dialog中的表格存在下拉选择框时,要加这个类 popupClassName: 'zIndex2023' (Vxe4.5.0生效) 否则弹出的下拉容器会被覆盖 @@ -94,3 +94,23 @@ // :deep(.xGrid-style .vxe-body--row.success-row) { // background-color: var(--el-color-success-light-9); // } + +// pager +.vxe-pager { + .vxe-pager--prev-btn, + .vxe-pager--num-btn, + .vxe-pager--next-btn { + border: 0 !important; + } + .vxe-pager--num-btn { + &:not(.is--disabled) { + &.is--active { + background-color: var(--el-color-primary) !important; + color: var(--el-color-white) !important; + } + &:focus { + box-shadow: none !important; + } + } + } +}