index.wxss 1.2 KB

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