| | |
| | | <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 /> |
| | |
| | | <span class="unit-text">%</span> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 第二行 --> |
| | | <view class="form-row"> |
| | | <view class="form-cell"> |
| | | <label class="form-label">刀具名称:</label> |
| | | <input class="input small-font" v-model="toolName" placeholder="刀具带出" disabled /> |
| | | <label class="form-label" style="margin-left: 16px;">规格型号:</label> |
| | | </view> |
| | | <view class="form-cell"> |
| | | <label class="form-label">规格型号:</label> |
| | | <input class="input small-font" v-model="toolModel" placeholder="刀具带出" disabled /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | /* 原样保持,未改动样式,只插入了一个输入框 */ |
| | | .top-section-grid { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: flex-end; |
| | | gap: 32px; |
| | | align-items: center; |
| | | gap: 16px; |
| | | margin-bottom: 2vh; |
| | | width: 95vw; |
| | | max-width: 1600px; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | |
| | | /* 新增:表单行样式 */ |
| | | .form-row { |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: flex-end; |
| | | gap: 32px; |
| | | margin-bottom: 16px; |
| | | width: 100%; |
| | | } |
| | | |
| | | .form-row:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .form-cell { |
| | |
| | | margin-top: 2vh; |
| | | } |
| | | |
| | | /* 新增:带单位的输入框样式 */ |
| | | .input-with-unit { |
| | | display: flex; |
| | | align-items: center; |