vue.scss 903 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // 历遍生成4个方向的底部安全区
  2. @each $d in top, right, bottom, left {
  3. .uv-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()的层级,避免被uvui的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. }
  26. $uvui-nvue-style: true !default;
  27. @if $uvui-nvue-style == false {
  28. view, scroll-view, swiper-item {
  29. display: flex;
  30. flex-direction: column;
  31. flex-shrink: 0;
  32. flex-grow: 0;
  33. flex-basis: auto;
  34. align-items: stretch;
  35. align-content: flex-start;
  36. }
  37. }