You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// 通过scss的mixin功能,把原来需要写4行的css,变成一行
|
|
|
|
// 目的是保持代码干净整洁,不至于在nvue下,到处都要写display:flex的条件编译
|
|
|
|
@mixin flex($direction: row) {
|
|
|
|
/* #ifndef APP-NVUE */
|
|
|
|
display: flex;
|
|
|
|
/* #endif */
|
|
|
|
flex-direction: $direction;
|
|
|
|
}
|