Преглед изворни кода

fix: 扫码浮钮z-index提到1000 确保不被滚动列表遮挡

Co-Authored-By: Claude <noreply@anthropic.com>
skyline пре 5 дана
родитељ
комит
148cadf28a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      haha-admin-mp/src/pages/replenish/home.vue

+ 1 - 1
haha-admin-mp/src/pages/replenish/home.vue

@@ -199,7 +199,7 @@ onShow(async () => { await loadData(); });
   &:active { opacity: 0.7; }
   &:active { opacity: 0.7; }
 }
 }
 
 
-.scan-fab { position: fixed; left: 50%; bottom: calc(120rpx + env(safe-area-inset-bottom)); transform: translateX(-50%); width: 128rpx; height: 128rpx; border-radius: 50%; background: $primary-color; box-shadow: 0 12rpx 36rpx rgba(255,193,7,0.4); display: flex; align-items: center; justify-content: center; z-index: 100;
+.scan-fab { position: fixed; left: 50%; bottom: calc(120rpx + env(safe-area-inset-bottom)); transform: translateX(-50%); width: 128rpx; height: 128rpx; border-radius: 50%; background: $primary-color; box-shadow: 0 12rpx 36rpx rgba(255,193,7,0.4); display: flex; align-items: center; justify-content: center; z-index: 1000;
   &:active { transform: translateX(-50%) scale(0.92); background: $primary-color-dark; }
   &:active { transform: translateX(-50%) scale(0.92); background: $primary-color-dark; }
 }
 }
 .scan-icon { width: 50rpx; height: 50rpx; position: relative;
 .scan-icon { width: 50rpx; height: 50rpx; position: relative;