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