소스 검색

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; }
 }
 
-.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; }
 }
 .scan-icon { width: 50rpx; height: 50rpx; position: relative;