index.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .matchBox {
  2. background-color: F2F6FC;
  3. }
  4. .matchBox .headerImg {
  5. width: 100%;
  6. height: 216rpx;
  7. background-color: #5DE0C0;
  8. }
  9. .matchBox .modelText {
  10. width: 724rpx;
  11. margin: 40rpx auto;
  12. border-radius: 20rpx;
  13. background-color: white;
  14. }
  15. .matchBox .modelText .header {
  16. position: relative;
  17. text-align: center;
  18. }
  19. .matchBox .modelText .header .bg {
  20. position: absolute;
  21. top: -24rpx;
  22. left: 0rpx;
  23. right: 0rpx;
  24. margin: auto;
  25. width: 460rpx;
  26. height: 90rpx;
  27. }
  28. .matchBox .modelText .header .text {
  29. position: relative;
  30. z-index: 2;
  31. font-size: 36rpx;
  32. color: #A0A0A0;
  33. }
  34. .matchBox .modelText .tips {
  35. margin: 42rpx auto;
  36. width: 580rpx;
  37. padding: 6rpx 0rpx;
  38. text-align: center;
  39. letter-spacing: 2rpx;
  40. border-radius: 20rpx;
  41. font-size: 30rpx;
  42. color: #858585;
  43. background-color: #F8F6FF;
  44. }
  45. .matchBox .modelText .swiper .swiper-item {
  46. width: 580rpx;
  47. height: 238rpx;
  48. border-radius: 10rpx;
  49. overflow: hidden;
  50. object-fit: cover;
  51. }
  52. .matchBox .rankList {
  53. width: 100%;
  54. margin-top: 60rpx;
  55. background-color: white;
  56. }
  57. .matchBox .rankList .switchBtns {
  58. height: 88rpx;
  59. display: flex;
  60. align-items: flex-end;
  61. background-color: #D5DDEA;
  62. }
  63. .matchBox .rankList .switchBtns .switchBtn {
  64. width: 50%;
  65. font-size: 34rpx;
  66. padding: 20rpx 0rpx;
  67. background-color: #D5DDEA;
  68. text-align: center;
  69. }
  70. .matchBox .rankList .switchBtns .currentBtn {
  71. color: #FF6908;
  72. padding: 30rpx 10rpx;
  73. font-weight: bold;
  74. background-color: white;
  75. }
  76. .matchBox .rankList .switchBtns .currentBtn-l {
  77. border-top-right-radius: 50rpx;
  78. }
  79. .matchBox .rankList .switchBtns .currentBtn-r {
  80. border-top-left-radius: 50rpx;
  81. }