components.scss 474 B

12345678910111213141516
  1. @import "./mixin.scss";
  2. /* #ifndef APP-NVUE */
  3. // 由于uView是基于nvue环境进行开发的,此环境中普通元素默认为flex-direction: column;
  4. // 所以在非nvue中,需要对元素进行重置为flex-direction: column; 否则可能会表现异常
  5. view, scroll-view, swiper-item {
  6. display: flex;
  7. flex-direction: column;
  8. flex-shrink: 0;
  9. flex-grow: 0;
  10. flex-basis: auto;
  11. align-items: stretch;
  12. align-content: flex-start;
  13. // z-index: 99999;
  14. }
  15. /* #endif */