scheduleSubject.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. page {
  2. height: 100%;
  3. background-image: url('https://efunimgs.ai160.com/resource/wechat/subject/schedule/schedule_bg.jpg');
  4. overflow: hidden;
  5. background-size: cover;
  6. }
  7. .scheduleSubject {
  8. width: 100%;
  9. }
  10. swiper {
  11. padding-top: 99rpx;
  12. height: 850rpx;
  13. }
  14. .avatar-wrapper {
  15. width: 100%;
  16. overflow: hidden;
  17. margin-top: 10rpx;
  18. display: -webkit-box;
  19. display: -ms-flexbox;
  20. display: flex;
  21. -webkit-box-pack: center;
  22. -ms-flex-pack: center;
  23. justify-content: center;
  24. }
  25. .avatar {
  26. -webkit-flex: 0 0 80rpx;
  27. -ms-flex: 0 0 80rpx;
  28. flex: 0 0 80rpx;
  29. width: 80rpx;
  30. height: 80rpx;
  31. border-radius: 50%;
  32. margin: 8rpx;
  33. }
  34. .look-num {
  35. position: relative;
  36. width: 100rpx;
  37. height: 40rpx;
  38. margin-top: 20rpx;
  39. margin-left: 50%;
  40. line-height: 40rpx;
  41. font-size: 36rpx;
  42. color: #fff;
  43. }
  44. .look-num::before {
  45. display: block;
  46. width: 36rpx;
  47. height: 36rpx;
  48. line-height: 40rpx;
  49. position: absolute;
  50. top: 0rpx;
  51. left: -40rpx;
  52. content: ' ';
  53. background-image: url('https://efunimgs.ai160.com/resource/wechat/subject/schedule/person.png');
  54. background-repeat: no-repeat;
  55. background-position: center;
  56. background-size: 80%;
  57. }
  58. .content-wrapper {
  59. position: relative;
  60. width: 670rpx;
  61. height: 730rpx;
  62. -webkit-box-sizing: border-box;
  63. box-sizing: border-box;
  64. padding: 40rpx 44rpx 85rpx;
  65. margin-left: auto;
  66. margin-right: auto;
  67. background-color: #ffffff;
  68. border-radius: 20rpx;
  69. }
  70. .content {
  71. width: 100%;
  72. height: 100%;
  73. overflow: hidden;
  74. }
  75. .title {
  76. font-size: 36rpx;
  77. line-height: 40rpx;
  78. font-weight: bold;
  79. color: #2d2e4c;
  80. margin-bottom: 25rpx;
  81. }
  82. .rate-title {
  83. font-size: 30rpx;
  84. line-height: 30rpx;
  85. color: #f06231;
  86. }
  87. .rate-num {
  88. font-size: 110rpx;
  89. font-weight: bold;
  90. line-height: 110rpx;
  91. color: #f06231;
  92. }
  93. .percentage {
  94. font-size: 60rpx;
  95. font-weight: normal;
  96. }
  97. .remind {
  98. font-size: 26rpx;
  99. color: #5252d4;
  100. margin-bottom: 20rpx;
  101. }
  102. .keywords-title, .goal-title {
  103. font-size: 30rpx;
  104. font-weight: bold;
  105. color: #2d2e4d;
  106. }
  107. .goal-title {
  108. margin-top: 10rpx;
  109. }
  110. .keyword-item {
  111. display: inline-block;
  112. -webkit-box-sizing: border-box;
  113. box-sizing: border-box;
  114. height: 40rpx;
  115. font-size: 28rpx;
  116. line-height: 40rpx;
  117. font-weight: lighter;
  118. padding: 0 14rpx;
  119. margin: 0 10rpx 15rpx 0rpx;
  120. background-color: #5252d4;
  121. color: #fff;
  122. border-radius: 20rpx;
  123. }
  124. .goal-desc {
  125. height:170rpx;
  126. overflow:hidden;
  127. font-size: 30rpx;
  128. color: #2d2e4c;
  129. }
  130. .touch {
  131. position: absolute;
  132. bottom: -83rpx;
  133. left: 253rpx;
  134. width: 165rpx;
  135. height: 165rpx;
  136. }
  137. .touch image {
  138. width: 100%;
  139. height: 100%;
  140. }