快乐的昕的电脑
2025-11-22 7ce0e7ec84b19ec5550eb2a1353b43ff59ad40d1
pages/index.vue
@@ -1019,35 +1019,35 @@
      }
   }
    /* 放大 uni-table 的多选框(checkbox),兼容各种编译器写法 */
    ::v-deep .uni-table .uni-checkbox-wrapper,
    ::v-deep .uni-table .uni-checkbox-input,
    ::v-deep .uni-table .uni-checkbox-input input[type="checkbox"],
    /deep/ .uni-table .uni-checkbox-wrapper,
    /deep/ .uni-table .uni-checkbox-input,
    /deep/ .uni-table .uni-checkbox-input input[type="checkbox"],
    .uni-table > > > .uni-checkbox-wrapper,
    .uni-table > > > .uni-checkbox-input,
    .uni-table > > > .uni-checkbox-input input[type="checkbox"] {
    /* 放大 uni-table 的多选框(checkbox) */
    :deep(.uni-table .uni-checkbox-wrapper),
    :deep(.uni-table .uni-checkbox-input) {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    ::v-deep .uni-table .uni-checkbox-input input[type="checkbox"],
    /deep/ .uni-table .uni-checkbox-input input[type="checkbox"],
    .uni-table > > > .uni-checkbox-input input[type="checkbox"] {
        transform: scale(2.2) !important; /* 2.2倍放大,可根据需要调整 */
        accent-color: #007aff !important; /* 设置勾选色,现代浏览器支持 */
    /* 只对 input[type=checkbox] 放大,不要加 :deep() */
    .uni-table .uni-checkbox-input input[type="checkbox"] {
        transform: scale(2.2) !important;
        accent-color: #007aff !important;
        cursor: pointer !important;
    }
    /* 放大 uni-table 的多选框列宽 */
    :deep(.uni-table .uni-table-selection),
    :deep(.uni-table th.is-selection),
    :deep(.uni-table td.is-selection) {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 120px !important;
    }
   /* 针对1280x800的平板使用媒体查询进行适配 */
   @media screen and (min-width: 1280px) and (max-width: 1920px) {
      .right-side {