快乐的昕的电脑
2025-11-24 8e0803ee24969d1b54d1c6f6a3ecf4fe391b257f
pages/index.vue
@@ -346,6 +346,8 @@
      methods: {
            onRowClick(index) {
                this.selectedIndexs = [index]; // 单选
                // 手动触发 selectionChange 以同步复选框
                this.selectionChange({ detail: { index } });
            },
         checkForUpdate() {
            this.$post({
@@ -1002,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;
@@ -1076,6 +1077,14 @@
        /* 可选:设置最大宽度,防止撑破表格 */
        max-width: 180px;
        overflow-wrap: break-word;
    }onRowClick(index) {
    // 放大弹窗内表格字体(表头和内容)
    .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的平板使用媒体查询进行适配 */