#
whycq
2024-03-13 ee52ff98eebc3a6c29ca51d1b161d4bbab1e6103
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;
}