vue.scss 607 B

123456789101112131415161718192021222324252627
  1. // 历遍生成4个方向的底部安全区
  2. @each $d in top, right, bottom, left {
  3. .u-safe-area-inset-#{$d} {
  4. padding-#{$d}: 0;
  5. padding-#{$d}: constant(safe-area-inset-#{$d});
  6. padding-#{$d}: env(safe-area-inset-#{$d});
  7. }
  8. }
  9. //提升H5端uni.toast()的层级,避免被uView的modal等遮盖
  10. /* #ifdef H5 */
  11. uni-toast {
  12. z-index: 10090;
  13. }
  14. uni-toast .uni-toast {
  15. z-index: 10090;
  16. }
  17. /* #endif */
  18. // 隐藏scroll-view的滚动条
  19. ::-webkit-scrollbar {
  20. display: none;
  21. width: 0 !important;
  22. height: 0 !important;
  23. -webkit-appearance: none;
  24. background: transparent;
  25. }