mescroll-uni.css 536 B

123456789101112131415161718192021222324252627282930313233
  1. page {
  2. height: 100%;
  3. box-sizing: border-box;
  4. /* 避免设置padding出现双滚动条的问题 */
  5. }
  6. .mescroll-uni-warp {
  7. height: 100%;
  8. }
  9. .mescroll-uni {
  10. position: relative;
  11. width: 100%;
  12. height: 100%;
  13. min-height: 200rpx;
  14. overflow-y: auto;
  15. box-sizing: border-box;
  16. /* 避免设置padding出现双滚动条的问题 */
  17. }
  18. /* 定位的方式固定高度 */
  19. .mescroll-uni-fixed {
  20. z-index: 1;
  21. position: fixed;
  22. top: 0;
  23. left: 0;
  24. right: 0;
  25. bottom: 0;
  26. width: auto;
  27. /* 使right生效 */
  28. height: auto;
  29. /* 使bottom生效 */
  30. }