index.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* pages/match/index.wxss */
  2. .match-container {
  3. min-height: calc(100vh - 4rpx);
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. /* 头部横幅区域 */
  8. .header-banner {
  9. position: relative;
  10. height: 486rpx;
  11. overflow: hidden;
  12. flex-shrink: 0;
  13. }
  14. .header-banner .title{
  15. position: fixed;
  16. top: 0;
  17. left: 0;
  18. z-index: 100;
  19. width: 750rpx;
  20. text-align: center;
  21. height: 80rpx;
  22. line-height: 80rpx;
  23. font-size: 36rpx;
  24. color: #ffffff;
  25. }
  26. .banner-bg {
  27. position: relative;
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .character-image {
  32. width: 100%;
  33. height: 486rpx;
  34. }
  35. /* 赛事列表区域 */
  36. .match-list {
  37. flex: 1;
  38. padding: 40rpx 30rpx;
  39. margin-top: -40rpx;
  40. background: #ffffff;
  41. border-radius: 50rpx 50rpx 0 0;
  42. position: relative;
  43. z-index: 1;
  44. }
  45. .section-title {
  46. font-size: 34rpx;
  47. font-weight: bold;
  48. color: #1a1a1a;
  49. text-align: left;
  50. }
  51. .match-item {
  52. display: flex;
  53. background: #ffffff;
  54. border-radius: 20rpx;
  55. padding: 30rpx 0;
  56. border-bottom: 1rpx solid #f2f2f2;
  57. }
  58. .match-item:last-of-type {
  59. border-bottom: none;
  60. }
  61. .item-image {
  62. width: 248rpx;
  63. height: 160rpx;
  64. flex-shrink: 0;
  65. border-radius: 16rpx;
  66. overflow: hidden;
  67. margin-right: 20rpx;
  68. }
  69. .item-image image {
  70. width: 100%;
  71. height: 100%;
  72. border-radius: 16rpx;
  73. }
  74. .item-content {
  75. flex: 1;
  76. display: flex;
  77. flex-direction: column;
  78. justify-content: center;
  79. }
  80. .item-title {
  81. font-size: 30rpx;
  82. font-weight: 600;
  83. color: #333333;
  84. margin-bottom: 16rpx;
  85. line-height: 1.3;
  86. display: -webkit-box;
  87. -webkit-line-clamp: 1;
  88. -webkit-box-orient: vertical;
  89. overflow: hidden;
  90. }
  91. .item-desc {
  92. font-size: 26rpx;
  93. color: #666666;
  94. line-height: 1.5;
  95. display: -webkit-box;
  96. -webkit-line-clamp: 3;
  97. -webkit-box-orient: vertical;
  98. overflow: hidden;
  99. }