| | |
| | | methods: { |
| | | onRowClick(index) { |
| | | this.selectedIndexs = [index]; // 单选 |
| | | // 手动触发 selectionChange 以同步复选框 |
| | | this.selectionChange({ detail: { index } }); |
| | | }, |
| | | checkForUpdate() { |
| | | this.$post({ |
| | |
| | | |
| | | <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; |
| | | } |
| | |
| | | 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; |
| | |
| | | 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 { |
| | |
| | | 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; |
| | | // 放大弹窗内表格字体(表头和内容) |
| | | .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的平板使用媒体查询进行适配 */ |