修改盘库时候数量增加减少的按钮大小
This commit is contained in:
@ -89,7 +89,7 @@ const handleLogout = () => {
|
|||||||
<footer v-if="!isLoginPage" class="app-footer">
|
<footer v-if="!isLoginPage" class="app-footer">
|
||||||
<span class="version-tag">
|
<span class="version-tag">
|
||||||
<el-icon style="vertical-align: middle; margin-right: 4px"><InfoFilled /></el-icon>
|
<el-icon style="vertical-align: middle; margin-right: 4px"><InfoFilled /></el-icon>
|
||||||
当前版本: 2.0录入测试版
|
当前版本: 2.1录入测试版
|
||||||
</span>
|
</span>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -132,6 +132,7 @@
|
|||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
ref="qtyInputRef"
|
ref="qtyInputRef"
|
||||||
placeholder="请输入实际点数"
|
placeholder="请输入实际点数"
|
||||||
|
class="large-control-input"
|
||||||
/>
|
/>
|
||||||
<p class="unit-text">单位: {{ currentItem.unit || '个' }}</p>
|
<p class="unit-text">单位: {{ currentItem.unit || '个' }}</p>
|
||||||
</div>
|
</div>
|
||||||
@ -738,4 +739,26 @@ const finishStocktake = async () => {
|
|||||||
.missing-list-header { font-weight: bold; margin-bottom: 8px; font-size: 13px; border-left: 3px solid #f56c6c; padding-left: 8px; }
|
.missing-list-header { font-weight: bold; margin-bottom: 8px; font-size: 13px; border-left: 3px solid #f56c6c; padding-left: 8px; }
|
||||||
.dialog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
|
.dialog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
|
||||||
.footer-right { display: flex; gap: 10px; }
|
.footer-right { display: flex; gap: 10px; }
|
||||||
|
|
||||||
|
/* ★★★ 新增:专为平板优化的超大数字输入框样式 ★★★ */
|
||||||
|
.large-control-input {
|
||||||
|
height: 60px; /* 增加整体输入框高度 */
|
||||||
|
}
|
||||||
|
/* 放大左右两边的加减按钮,并增加点击区域 */
|
||||||
|
:deep(.large-control-input .el-input-number__decrease),
|
||||||
|
:deep(.large-control-input .el-input-number__increase) {
|
||||||
|
width: 70px !important; /* 显著加大按钮宽度 */
|
||||||
|
font-size: 28px !important; /* 放大加号和减号图标 */
|
||||||
|
background-color: #f0f2f5; /* 稍微加深背景色,让触控区更明显 */
|
||||||
|
}
|
||||||
|
/* 给中间的数字输入区留出左右按钮的空间 */
|
||||||
|
:deep(.large-control-input .el-input__wrapper) {
|
||||||
|
padding-left: 80px !important;
|
||||||
|
padding-right: 80px !important;
|
||||||
|
}
|
||||||
|
/* 放大中间数字部分的字体和高度,保持协调 */
|
||||||
|
:deep(.large-control-input .el-input__inner) {
|
||||||
|
font-size: 24px !important;
|
||||||
|
height: 58px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user