index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /**index.wxss**/
  2. page{
  3. background: #F4F6F8;
  4. }
  5. .container {
  6. position: relative;
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. justify-content: space-between;
  11. box-sizing: border-box;
  12. }
  13. ec-canvas {
  14. width: 100%;
  15. height: 50vh;
  16. }
  17. .title{
  18. border-left: 4px solid #FF5151;
  19. color: #FF5151;
  20. font-size: 32rpx;
  21. font-weight: 500;
  22. padding-left: 20rpx;
  23. padding-right: 40rpx;
  24. margin-bottom: 20rpx;
  25. position: relative;
  26. }
  27. .part{
  28. background: #fff;
  29. padding: 30rpx 0;
  30. margin-bottom: 16rpx;
  31. }
  32. .title image{
  33. position: absolute;
  34. right: 0;
  35. top: -15rpx;
  36. width: 210rpx;
  37. }
  38. .rank{
  39. position: absolute;
  40. top: -15rpx;
  41. right: 0rpx;
  42. color: #FF5151;
  43. padding-right: 24rpx;
  44. }
  45. .rank text{
  46. font-size: 48rpx;
  47. margin-right: 20rpx;
  48. color: #FF5151;
  49. position: relative;
  50. top: 6rpx;
  51. }
  52. .part1{
  53. padding: 30rpx;
  54. margin-bottom: 1px;
  55. }
  56. .item{
  57. margin-bottom: 20rpx;
  58. font-weight: 500;
  59. }
  60. .item text{
  61. font-weight: 400;
  62. margin-right: 20rpx;
  63. }
  64. .item .tag{
  65. display: inline-block;
  66. color: #FFF;
  67. font-size: 20rpx;
  68. background: #333;
  69. border-radius: 4rpx;
  70. padding: 0 3px;
  71. }
  72. .item .red{
  73. background: #FF5151;
  74. }
  75. .item .blue{
  76. background: #4587FF;
  77. }
  78. .item .border{
  79. background: #fff;
  80. border: 1px solid #333;
  81. color: #333;
  82. }
  83. .list{
  84. display: inline-block;
  85. width: 85%;
  86. vertical-align: top;
  87. }
  88. .list view{
  89. display: inline-block;
  90. padding: 16rpx;
  91. background: #F4F6F8;
  92. border-radius: 8rpx;
  93. margin-bottom: 10rpx;
  94. margin-right: 10rpx;
  95. }
  96. .list text{
  97. display: block;
  98. color: #999;
  99. }