快乐的昕的电脑
2025-10-31 3411c0c6aa044967c57a04030bf90adf039792b9
components/mold.vue
@@ -2,12 +2,12 @@
    <view class="page">
        <!-- 刀具选择区 -->
        <view class="top-section-grid">
            <!-- 第一行 -->
            <!-- 第一行:移除刀具目录按钮 -->
            <view class="form-row">
                <view class="form-cell">
                    <label class="form-label">刀具编号:</label>
                    <input class="input small-font" v-model="selectedToolNo" placeholder="请通过刀具目录选择" disabled />
                    <button class="btn-blue" @click="openToolDialog" :disabled="loadingTools">刀具目录</button>
                    <!-- 移除的按钮位置 -->
                </view>
                <view class="form-cell">
                    <label class="form-label">设置使用上限:</label>
@@ -25,7 +25,7 @@
                </view>
            </view>
            <!-- 第二行 -->
            <!-- 第二行:在最后添加刀具目录按钮 -->
            <view class="form-row">
                <view class="form-cell">
                    <label class="form-label">刀具名称:</label>
@@ -35,6 +35,9 @@
                    <label class="form-label">规格型号:</label>
                    <input class="input small-font" v-model="toolModel" placeholder="刀具带出" disabled />
                </view>
                <!-- 新增的刀具目录按钮 -->
                <view class="form-cell">
                    <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">刀具目录</button>
            </view>
        </view>
@@ -1000,4 +1003,18 @@
            font-size: 14px;
        }
    }
    /* 新增大按钮样式 */
    .btn-blue.large-btn {
        padding: 12px 24px;
        font-size: 18px;
        height: 44px;
        min-width: 120px;
    }
    /* 调整表单单元格布局以适应大按钮 */
    .form-cell:last-child {
        justify-content: flex-end;
    }
</style>