mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 08:11:55 +08:00
9 lines
294 B
SCSS
9 lines
294 B
SCSS
// 通过scss的mixin功能,把原来需要写4行的css,变成一行
|
||
// 目的是保持代码干净整洁,不至于在nvue下,到处都要写display:flex的条件编译
|
||
@mixin flex($direction: row) {
|
||
/* #ifndef APP-NVUE */
|
||
display: flex;
|
||
/* #endif */
|
||
flex-direction: $direction;
|
||
}
|