快乐的昕的电脑
2025-11-14 130f5cb58fc1c1928499245777876123cee562b6
components/mold.vue
@@ -661,16 +661,14 @@
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        font-size: 28px;
        font-size: 32px;
    }
    /* 表单行样式优化 */
    .form-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 10px;
        margin-bottom: 12px;
    }
        .form-row:last-child {
@@ -680,36 +678,66 @@
    .form-cell {
        display: flex;
        align-items: center;
        flex: 1;
        margin: 0 6px;
        min-height: 44px;
        flex: 1 1 0;
        min-width: 0;
        margin: 0 8px;
    }
    .form-row .form-cell:last-child {
        justify-content: flex-end;
        flex: 0 0 180px;
        min-width: 140px;
        max-width: 220px;
    }
    .form-label {
        width: 90px;
        width: 110px;
        font-weight: bold;
        font-size: 24px !important;
        font-size: 28px !important;
        color: #333;
        white-space: nowrap;
        margin-right: 6px;
        margin-right: 8px;
        flex-shrink: 0;
    }
    .input {
        padding: 8px 10px;
    .input, .input-with-unit {
        width: 100%;
        box-sizing: border-box;
    }
    .input-with-unit {
        display: flex;
        align-items: center;
    }
        .input-with-unit .input {
            flex: 1;
            margin-right: 4px;
        }
    .unit-text {
        color: #666;
        font-size: 22px !important;
        white-space: nowrap;
        width: 18px;
        margin-left: 0;
    }
    .input {
        padding: 14px 20px;
        font-size: 28px !important;
        border: 1px solid #dcdfe6;
        flex: 1;
        margin-right: 0;
        border-radius: 4px;
        background: #fff;
        min-width: 0;
        height: 40px !important;
        height: 48px !important;
        box-sizing: border-box;
    }
        .input.small-font {
            font-size: 20px !important;
            font-size: 24px !important;
        }
        .input:disabled {
@@ -722,24 +750,24 @@
        background-color: #1890ff;
        color: white;
        border: none;
        padding: 10px 24px;
        padding: 14px 32px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 24px !important;
        font-size: 28px !important;
        font-weight: 500;
        white-space: nowrap;
        height: 50px !important;
        height: 56px !important;
        box-sizing: border-box;
        transition: all 0.3s;
        flex-shrink: 0;
        min-width: 100px;
        min-width: 120px;
    }
        .btn-blue.large-btn {
            padding: 10px 24px;
            font-size: 24px !important;
            height: 50px !important;
            min-width: 100px;
            padding: 14px 32px;
            font-size: 28px !important;
            height: 56px !important;
            min-width: 120px;
        }
        .btn-blue:hover {
@@ -998,37 +1026,17 @@
        font-size: 1vw;
    }
    /* 带单位的输入框样式 */
    .input-with-unit {
        display: flex;
        align-items: center;
        flex: 1;
    }
        .input-with-unit .input {
            flex: 1;
            margin-right: 2px;
        }
    .unit-text {
        color: #666;
        font-size: 18px !important;
        white-space: nowrap;
        width: 16px;
        margin-left: 0;
    }
    /* 新增:让“设置使用上限”“寿命比预警值”输入框变窄 */
    .input-life-warn {
        width: 60px !important;
        width: 80px !important;
        min-width: 0 !important;
        margin-right: 2px;
        margin-right: 4px;
    }
    .input-use-limit {
        width: 60px !important;
        width: 80px !important;
        min-width: 0 !important;
        margin-right: 6px;
        margin-right: 8px;
        color: #1890ff !important;
        border-color: #1890ff !important;
    }
@@ -1036,24 +1044,17 @@
    .input-tool-model {
        width: 80px !important;
        min-width: 0 !important;
        margin-right: 6px;
        margin-right: 8px;
    }
    .input-tool-name {
        width: 90px !important;
        width: 100px !important;
        min-width: 0 !important;
        margin-right: 6px;
        margin-right: 8px;
    }
    .highlight-label {
        color: #1890ff !important;
    }
    /* 调整表单单元格布局以适应按钮 */
    .form-row .form-cell:last-child {
        justify-content: center;
        flex: 0 0 auto;
        min-width: 100px;
    }
    /* 响应式调整 */