feiyu02
2024-05-06 9e0df95ffda0ef9f2339f7caf413b357640aea28
src/styles/base.scss
@@ -71,7 +71,7 @@
  default: var(--el-component-size-default),
  large: var(--el-component-size-large)
);
$ws: (20px, 40px, 60px, 100px, 150px, 300px);
$ws: (20, 40, 60, 80, 100, 120, 150, 300);
@each $name, $value in $csize {
  .w-#{$name} {
    width: #{$value};
@@ -82,10 +82,10 @@
}
@each $i in $ws {
  .w-#{$i} {
    width: #{$i};
    width: #{$i}px;
  }
  .h-#{$i} {
    height: #{$i};
    height: #{$i}px;
  }
}