14:07:04.693 SassError: Undefined variable: "$breakpoints".
14:07:04.697 on line 325 of D:\Documents\uni-app\uni-app\components\uni-col\uni-col.vue
14:07:04.697 >> @each $point in map-keys($breakpoints) {
14:07:04.704 -------------------------^
下面是这个方法
@each $point in map-keys($breakpoints) {
@include res($point) {
{$col}-#{$point}-0 {
display: none;
}
@for $i from 0 through 24 {
#{$col}-#{$point}-#{$i} {
width: getSize($i);
}
#{$col}-#{$point}-offset-#{$i} {
margin-left: getSize($i);
}
#{$col}-#{$point}-pull-#{$i} {
position: relative;
right: getSize($i);
}
#{$col}-#{$point}-push-#{$i} {
position: relative;
left: getSize($i);
}
}
}
}
0 个回复