洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
294 B

10 months ago
  1. // 通过scss的mixin功能,把原来需要写4行的css,变成一行
  2. // 目的是保持代码干净整洁,不至于在nvue下,到处都要写display:flex的条件编译
  3. @mixin flex($direction: row) {
  4. /* #ifndef APP-NVUE */
  5. display: flex;
  6. /* #endif */
  7. flex-direction: $direction;
  8. }