3
0

components.scss 943 B

12345678910111213141516171819202122232425262728293031323334
  1. @import "./mixin.scss";
  2. /* #ifndef APP-NVUE */
  3. // 由于uview-plus是基于nvue环境进行开发的,此环境中普通元素默认为flex-direction: column;
  4. // 所以在非nvue中,需要对元素进行重置为flex-direction: column; 否则可能会表现异常
  5. // 2024-04-09由于微信小程序会提示 Some selectors are not allowed in component wxss所以注释以下几行
  6. // view,
  7. // scroll-view,
  8. // swiper-item,
  9. .u-empty,
  10. .u-empty__wrap,
  11. .u-tabs,
  12. .u-tabs__wrapper,
  13. .u-tabs__wrapper__scroll-view-wrapper,
  14. .u-tabs__wrapper__scroll-view,
  15. .u-tabs__wrapper__nav,
  16. .u-tabs__wrapper__nav__line,
  17. .up-empty,
  18. .up-empty__wrap,
  19. .up-tabs,
  20. .up-tabs__wrapper,
  21. .up-tabs__wrapper__scroll-view-wrapper,
  22. .up-tabs__wrapper__scroll-view,
  23. .up-tabs__wrapper__nav,
  24. .up-tabs__wrapper__nav__line {
  25. display: flex;
  26. flex-direction: column;
  27. flex-shrink: 0;
  28. flex-grow: 0;
  29. flex-basis: auto;
  30. align-items: stretch;
  31. align-content: flex-start;
  32. }
  33. /* #endif */