index.wxss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .scroll {
  2. display: flex;
  3. flex-wrap: nowrap;
  4. width: 100vw;
  5. height: 120rpx;
  6. background-color: #ffffff;
  7. }
  8. .scroll .item {
  9. flex-shrink: 0;
  10. display: flex;
  11. flex-direction: column;
  12. align-items: center;
  13. height: 100%;
  14. width: 172rpx;
  15. padding-top: 16rpx;
  16. text-align: center;
  17. box-sizing: border-box;
  18. }
  19. .scroll .item .icon {
  20. width: 46rpx;
  21. height: 46rpx;
  22. border: 1px solid red;
  23. }
  24. .scroll .item .num {
  25. width: 80%;
  26. height: 46rpx;
  27. font-size: 28rpx;
  28. font-family: PingFang SC-Bold, PingFang SC;
  29. font-weight: bold;
  30. color: #333333;
  31. }
  32. .scroll .item .label {
  33. height: 34rpx;
  34. font-size: 24rpx;
  35. font-family: PingFang SC-Regular, PingFang SC;
  36. color: #999999;
  37. margin-top: 8rpx;
  38. }
  39. .scroll .active {
  40. border-bottom: 4rpx solid #3874F6;
  41. }
  42. .scroll .active .label,
  43. .scroll .active .num ,
  44. .scroll .active .icon {
  45. color: #3874F6 !important;
  46. }
  47. .slot-box {
  48. width: 100vw;
  49. height: 200rpx;
  50. }
  51. .line-1 {
  52. overflow: hidden;
  53. white-space: nowrap;
  54. text-overflow: ellipsis;
  55. }