Browse Source

fix 添加滚动条-扫码

wzh 4 months ago
parent
commit
860e672745
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/hexiao/ywy/scan_code.vue

+ 1 - 0
pages/hexiao/ywy/scan_code.vue

@@ -267,6 +267,7 @@ export default {
   flex: 1; /* 关键:让滚动区域占据头部和底部之间的所有空间 */
   // height: 0;  // flex布局中的一个常用技巧,确保flex:1正常工作
   padding: 20rpx 0;
+  max-height: 300px;
 }
 
 .empty-tip {