From 0bab22e5fa317dce2c1a003fabefb8f23205721e Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 22 十一月 2025 14:53:41 +0800
Subject: [PATCH] 调试
---
pages/index.vue | 34 ++++++++++++++--------------------
1 files changed, 14 insertions(+), 20 deletions(-)
diff --git a/pages/index.vue b/pages/index.vue
index 27c6b37..3eec444 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>
@@ -1060,29 +1060,23 @@
}
- /* 鏀惧ぇuni-table閫夋嫨妗� */
- .uni-table .uni-table-selection,
- .uni-table .uni-table__selection-column {
- width: 80px !important;
- min-width: 80px !important;
+ /* 閫氳繃鑷畾涔夌被鍚嶆斁澶ч�夋嫨妗� */
+ .large-selection-table .uni-table-selection,
+ .large-selection-table .uni-table__selection-column {
+ width: 120px !important;
+ min-width: 120px !important;
}
- .uni-table .uni-table-selection .uni-checkbox-input,
- .uni-table .uni-table__selection-column .uni-checkbox-input {
- width: 40px !important;
- height: 40px !important;
- transform: scale(1.5);
- margin: 0 auto;
- display: block;
+ .large-selection-table .uni-checkbox-input {
+ width: 48px !important;
+ height: 48px !important;
+ transform: scale(2) !important;
+ border: 3px solid #007aff !important;
}
- /* 纭繚閫夋嫨妗嗗湪琛屼腑鍨傜洿灞呬腑 */
- .uni-table .uni-table-selection .uni-checkbox-wrapper,
- .uni-table .uni-table__selection-column .uni-checkbox-wrapper {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
+ .large-selection-table .uni-checkbox-input.uni-checkbox-input-checked {
+ background-color: #007aff !important;
+ border-color: #007aff !important;
}
/* 閽堝1280x800鐨勫钩鏉夸娇鐢ㄥ獟浣撴煡璇㈣繘琛岄�傞厤 */
--
Gitblit v1.9.3