From 11939aa712c013aad41c08dece5c979fd821ffcb Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 22 十一月 2025 15:28:46 +0800
Subject: [PATCH] 调试
---
pages/index.vue | 33 +++++++++------------------------
1 files changed, 9 insertions(+), 24 deletions(-)
diff --git a/pages/index.vue b/pages/index.vue
index c1d1d23..b8eded8 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -192,7 +192,7 @@
<view class="section card">
<uni-table ref="table" type="selection" border stripe emptyText="鏆傛棤鏇村鏁版嵁"
- @selection-change="selectionChange">
+ class="large-selection-table" @selection-change="selectionChange">
<uni-tr>
<uni-th align="center" class="th" style="color: #FFFFFF; width: 100px;">宸ュ簭</uni-th>
<uni-th align="center" class="th" style="color: #FFFFFF; width: 120px;">宸ュ崟鍙�</uni-th>
@@ -752,6 +752,14 @@
<style lang="scss">
+ :deep(.checkbox),
+ :deep(.checkbox__inner) {
+ padding: 10px !important;
+ width: 44px !important;
+ min-width: 44px !important;
+ box-sizing: border-box;
+ }
+
.row-selected {
background-color: #e0f3ff !important;
}
@@ -1058,29 +1066,6 @@
max-width: 180px;
overflow-wrap: break-word;
}
-
- pages/index.vue
-/* 鏀惧ぇuni-table閫夋嫨妗嗗垪锛堝吋瀹箄ni-table鍜屽師鐢焧able锛� */
-.uni-table .uni-table-selection,
-.uni-table .uni-table-selection th,
-.uni-table .uni-table-selection td,
-.uni-table .uni-table__selection-column,
-.uni-table .uni-table__selection-column th,
-.uni-table .uni-table__selection-column td {
- width: 60px !important; /* 璋冨ぇ瀹藉害锛屽彲鏍规嵁闇�瑕佽皟鏁� */
- min-width: 60px !important;
- max-width: 80px;
- text-align: center;
-}
-
-.uni-table .uni-table-selection .uni-checkbox-input,
-.uni-table .uni-table__selection-column .uni-checkbox-input {
- width: 32px !important; /* 鏀惧ぇ澶嶉�夋 */
- height: 32px !important;
- transform: scale(3); /* 杩涗竴姝ユ斁澶� */
- margin: 0 auto;
- display: block;
-}
/* 閽堝1280x800鐨勫钩鏉夸娇鐢ㄥ獟浣撴煡璇㈣繘琛岄�傞厤 */
@media screen and (min-width: 1280px) and (max-width: 1920px) {
--
Gitblit v1.9.3