mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 00:01:56 +08:00
25 lines
394 B
SCSS
25 lines
394 B
SCSS
@mixin get-styles($k,$c) {
|
|
@if $k == size or $k == weight{
|
|
font-#{$k}:#{$c}
|
|
}@else{
|
|
#{$k}:#{$c}
|
|
}
|
|
}
|
|
|
|
@each $key, $child in $uni-headings {
|
|
/* #ifndef APP-NVUE */
|
|
.uni-#{$key} {
|
|
@each $k, $c in $child {
|
|
@include get-styles($k,$c)
|
|
}
|
|
}
|
|
/* #endif */
|
|
/* #ifdef APP-NVUE */
|
|
.container .uni-#{$key} {
|
|
@each $k, $c in $child {
|
|
@include get-styles($k,$c)
|
|
}
|
|
}
|
|
/* #endif */
|
|
}
|