Просмотр исходного кода

polish: 盘点页+/-按钮和输入框加大,提升操作体验

- 按钮: 36rpx→52rpx, 字号: 24rpx→32rpx
- 输入框: 48×36→64×52rpx, 字号: 22→26rpx

Co-Authored-By: Claude <noreply@anthropic.com>
skyline 1 месяц назад
Родитель
Сommit
29d1900af1
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      haha-admin-mp/src/pages/replenish/audit.vue

+ 4 - 4
haha-admin-mp/src/pages/replenish/audit.vue

@@ -350,12 +350,12 @@ onMounted(async () => {
 .cell-stock-cur { font-size: 20rpx; font-weight: 500; color: $text-color-primary; }
 
 /* 数量调节 */
-.cell-qty { display: flex; align-items: center; gap: 0; border: 1rpx solid $border-color; border-radius: 6rpx; overflow: hidden; margin-bottom: 6rpx; }
-.cell-qty-btn { width: 36rpx; height: 36rpx; display: flex; align-items: center; justify-content: center; background: $bg-color-card;
-  text { font-size: 24rpx; color: $text-color-secondary; line-height: 1; }
+.cell-qty { display: flex; align-items: center; gap: 0; border: 1rpx solid $border-color; border-radius: 8rpx; overflow: hidden; margin-bottom: 8rpx; }
+.cell-qty-btn { width: 52rpx; height: 52rpx; display: flex; align-items: center; justify-content: center; background: $bg-color-card;
+  text { font-size: 32rpx; color: $text-color-secondary; line-height: 1; }
   &:active { background: $bg-color-secondary; }
 }
-.cell-qty-input { width: 48rpx; height: 36rpx; line-height: 36rpx; text-align: center; font-size: 22rpx; font-weight: 600; color: $text-color-primary; border-left: 1rpx solid $border-color; border-right: 1rpx solid $border-color; }
+.cell-qty-input { width: 64rpx; height: 52rpx; text-align: center; font-size: 26rpx; font-weight: 600; color: $text-color-primary; border-left: 1rpx solid $border-color; border-right: 1rpx solid $border-color; }
 
 /* 快捷操作 */
 .cell-actions { display: flex; align-items: center; gap: 4rpx; }