vue.scss 644 B

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