9c966dde26
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Failing after 31s
- 修改 .gitignore: uni_modules/ → /uni_modules/,仅忽略根目录 - 保留 src/uni_modules/uni-scss(构建依赖的 SCSS 变量文件) - 删除 46 个未使用的 uni-ui 插件 Co-Authored-By: Claude <noreply@anthropic.com>
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 */
|
|
}
|