gaoluyang
2 天以前 4b7417e3fac921f8f82490971209d67462c7b3f9
src/uni_modules/uni-scss/styles/setting/_text.scss
对比新文件
@@ -0,0 +1,24 @@
@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 */
}