环卫车小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
786 B

4 months ago
  1. @import '../mixin/flex.scss';
  2. @mixin badge {
  3. @include flex-h-c;
  4. display: inline-flex;
  5. border-radius: 5rpx;
  6. padding: 5rpx 10rpx;
  7. }
  8. @mixin circle {
  9. @include flex-h-c;
  10. display: inline-flex;
  11. border-radius: 50%;
  12. overflow: hidden;
  13. }
  14. .se {
  15. &-badge {
  16. &-d {
  17. @include badge;
  18. }
  19. &-c {
  20. @include badge;
  21. padding: 5rpx 20rpx;
  22. border-radius: 20rpx;
  23. }
  24. &-m {
  25. @include badge;
  26. border-radius: 0 10rpx 10rpx 10rpx;
  27. }
  28. &-r {
  29. @include badge;
  30. padding: 5rpx 20rpx;
  31. border-radius: 20rpx 0 0 20rpx;
  32. }
  33. }
  34. &-circle {
  35. @for $i from 0 through 200 {
  36. @if $i % 5 == 0 {
  37. &-#{$i} {
  38. @include circle;
  39. width: $i + rpx;
  40. height: $i + rpx;
  41. }
  42. }
  43. }
  44. }
  45. }