11
schangxiang@126.com
2025-05-19 a593dfae54de741b8ca84d375357c5ca130faccb
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;
}