快乐的昕的电脑
2025-11-24 77068d7b6126c63894609be99043fcbec6f02cf2
调试
已修改1个文件
17 ■■■■■ 文件已修改
pages/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index.vue
@@ -1073,12 +1073,15 @@
        }
    }
    .uni-td, .uni-th, td, th {
        word-break: break-all;
        white-space: normal;
        /* 可选:设置最大宽度,防止撑破表格 */
        max-width: 180px;
        overflow-wrap: break-word;
    .uni-td,
    td {
        white-space: normal !important; // 允许自动换行
        word-break: break-all !important; // 单词/中文都能断行
        line-height: 1.4; // 行高适当,便于多行显示
        text-align: center; // 居中显示(如需左对齐可改为 left)
        vertical-align: middle; // 垂直居中
        max-width: 180px; // 保持单元格最大宽度
        overflow-wrap: break-word; // 兼容性更好
    }
    // 放大弹窗内表格字体(表头和内容)
@@ -1105,7 +1108,7 @@
    .th,
    .uni-th,
    th {
        font-size: 1.8vw !important;
        font-size: 1.7vw !important;
        font-weight: bold;
        letter-spacing: 2px;
    }