From f9c16d3b9648b768c4afb8e23166694d37e8342d Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期一, 24 十一月 2025 09:54:24 +0800
Subject: [PATCH] 调试
---
pages/index.vue | 81 ++++++++++++++++++----------------------
1 files changed, 36 insertions(+), 45 deletions(-)
diff --git a/pages/index.vue b/pages/index.vue
index f2dfb88..7c444c2 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -346,6 +346,8 @@
methods: {
onRowClick(index) {
this.selectedIndexs = [index]; // 鍗曢��
+ // 鎵嬪姩瑙﹀彂 selectionChange 浠ュ悓姝ュ閫夋
+ this.selectionChange({ detail: { index } });
},
checkForUpdate() {
this.$post({
@@ -752,6 +754,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;
}
@@ -994,16 +1004,15 @@
align-items: center;
}
- .popup {
- background-color: #fff;
- padding: 2vh;
- border: 1px solid #ccc;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- width: 90vw;
- height: 70vh;
- font-size: 1.6vw;
- /* Increased font size within popups */
- }
+ .popup {
+ background-color: #fff;
+ padding: 2vh;
+ border: 1px solid #ccc;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+ width: 90vw;
+ height: 85vh; /* 鍘�70vh锛岃皟楂� */
+ font-size: 1.6vw;
+ }
.print-btn {
float: left;
@@ -1035,6 +1044,17 @@
display: block;
}
+/* //v-deep .checkbox {
+ // padding: 10 10px;
+ // width: 26px;
+ // padding-left: 12px;
+ // display: table-cell;
+ // vertical-align: middle;
+ // color: #333;
+ // font-weight: 500;
+ // border-bottom: 1px #ebeef5 solid;
+ // font-size: 14px;
+ //}*/
@media screen and (max-width: 1920px) {
.tab-item {
@@ -1059,41 +1079,12 @@
overflow-wrap: break-word;
}
-
- :deep(.el-checkbox) {
- min-width: 60px !important;
- min-height: 60px !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- /* 鍙�夛細璁╁唴瀹瑰眳涓� */
- }
-
- :deep(.el-checkbox__input) {
- width: 44px !important;
- height: 44px !important;
- font-size: 44px !important;
- }
-
- :deep(.el-checkbox__inner) {
- width: 44px !important;
- height: 44px !important;
- border-radius: 8px !important;
- border: 2px solid #007aff !important;
- }
-
- :deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
- background-color: #007aff !important;
- border-color: #007aff !important;
- }
-
- /* 閲嶇偣锛氳缃�夋嫨妗嗗崟鍏冩牸鐨� padding 涓� 10px */
- :deep(th.el-checkbox) {
- padding: 10px !important;
- }
-
- :deep(td.el-checkbox) {
- padding: 10px !important;
+ // 鏀惧ぇ寮圭獥鍐呰〃鏍煎瓧浣擄紙琛ㄥご鍜屽唴瀹癸級
+ .popup .large-selection-table,
+ .popup .large-selection-table .uni-th,
+ .popup .large-selection-table .uni-td,
+ .popup .large-selection-table input.form-input {
+ font-size: 2.2vw !important; // 鍙牴鎹疄闄呴渶姹傝皟鏁�
}
/* 閽堝1280x800鐨勫钩鏉夸娇鐢ㄥ獟浣撴煡璇㈣繘琛岄�傞厤 */
--
Gitblit v1.9.3