dykj-outsource-12123/uni_modules/uview-plus/libs/css/mixin.scss
2024-06-28 14:18:30 +08:00

9 lines
294 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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