index.wxss 1.1 KB

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