快乐的昕的电脑
2025-11-22 9d365948f4743629a758aca3bfd052e52c39be54
调试
已修改1个文件
41 ■■■■■ 文件已修改
pages/index.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index.vue
@@ -1019,26 +1019,33 @@
        }
    }
    /* 放在 style 标签最后,确保优先级 */
    /* 放大 uni-table 的多选框(checkbox),兼容各种编译器写法 */
    ::v-deep .uni-table .uni-checkbox-wrapper,
    ::v-deep .uni-table .uni-checkbox-input {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    ::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"] {
        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 {
        border-radius: 10px !important;
        border: 2.5px solid #007aff !important;
    }
    ::v-deep .uni-table .uni-checkbox-input .uni-checkbox-icon {
        font-size: 38px !important;
        line-height: 55px !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; /* 设置勾选色,现代浏览器支持 */
        cursor: pointer !important;
    }
    /* 针对1280x800的平板使用媒体查询进行适配 */