skillsPackage.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. /* 技能包 */
  2. /* #ifndef H5 */
  3. page {
  4. height: 100%;
  5. background-color: #f2f2f2;
  6. font-family: 'PingFangSC-Regular, PingFang SC';
  7. }
  8. /* #endif */
  9. .package {
  10. padding-bottom: 150rpx;
  11. &-bg {
  12. &-1 {
  13. width: 100%;
  14. height: 140rpx;
  15. background-color: #3D5D4C;
  16. }
  17. &-2 {
  18. width: 120%;
  19. height: 180rpx;
  20. background-color: #3D5D4C;
  21. border-radius: 60%;
  22. margin-top: -88rpx;
  23. margin-left: -10%;
  24. }
  25. }
  26. &-content {
  27. padding: 0 30rpx;
  28. margin-top: -200rpx;
  29. &-title {
  30. padding: 40rpx 36rpx;
  31. background-color: #fff;
  32. border-radius: 10rpx;
  33. display: flex;
  34. .left {
  35. margin-right: 22rpx;
  36. position: relative;
  37. &-weekly {
  38. width: 204rpx;
  39. height: 44rpx;
  40. line-height: 44rpx;
  41. text-align: center;
  42. background-color: #DDB100;
  43. font-size: 22rpx;
  44. font-weight: 700;
  45. color: #fff;
  46. border-bottom-left-radius: 10rpx;
  47. border-bottom-right-radius: 10rpx;
  48. position: absolute;
  49. top: 196rpx;
  50. }
  51. }
  52. .right {
  53. width: calc(100% - 226rpx);
  54. font-size: 28rpx;
  55. color: #545454;
  56. line-height: 40rpx;
  57. .name {
  58. display: flex;
  59. align-items: center;
  60. color: #3D5D4C;
  61. font-size: 36rpx;
  62. font-weight: 500;
  63. margin-bottom: 10rpx;
  64. .tip {
  65. text-align: center;
  66. padding: 0 10rpx;
  67. background: linear-gradient(153deg, #F89E42 0%, #FF7833 100%);
  68. border-radius: 20rpx;
  69. font-size: 20rpx;
  70. color: #fff;
  71. margin-right: 20rpx;
  72. }
  73. .professional {
  74. // width: 70%;
  75. // overflow: hidden;
  76. // text-overflow: ellipsis;
  77. // white-space: nowrap;
  78. }
  79. }
  80. .class {
  81. text {
  82. color: #555555;
  83. font-size: 24rpx;
  84. margin-right: 24rpx;
  85. }
  86. }
  87. .hardly {
  88. margin: 6rpx 0;
  89. display: flex;
  90. justify-content: space-between;
  91. }
  92. .status {
  93. background-color: #709078;
  94. width: 120rpx;
  95. height: 50rpx;
  96. line-height: 50rpx;
  97. text-align: center;
  98. border-radius: 40rpx;
  99. font-size: 24rpx;
  100. color: #fff;
  101. margin-top: 20rpx;
  102. }
  103. }
  104. }
  105. &-details {
  106. padding: 40rpx 32rpx;
  107. background-color: #fff;
  108. border-radius: 10rpx;
  109. margin-top: 20rpx;
  110. &-classes {
  111. border-bottom: solid 1px #CDCDCD;
  112. padding-bottom: 20rpx;
  113. margin-bottom: 32rpx;
  114. .title {
  115. display: flex;
  116. justify-content: space-between;
  117. align-items: center;
  118. font-size: 28rpx;
  119. color: #9D9D9D;
  120. padding-bottom: 34rpx;
  121. text {
  122. color: #424242;
  123. font-size: 38rpx;
  124. margin-right: 22rpx;
  125. }
  126. }
  127. .list {
  128. .swiper-item {
  129. width: 50%!important;
  130. height: 100%;
  131. .classes-name {
  132. color: #2E2E2E;
  133. font-size: 26rpx;
  134. margin: 10rpx 0;
  135. }
  136. .classes-subtitle {
  137. font-size: 24rpx;
  138. color: #818181;
  139. }
  140. }
  141. }
  142. }
  143. &-skill {
  144. .title {
  145. display: flex;
  146. justify-content: space-between;
  147. align-items: center;
  148. font-size: 26rpx;
  149. color: #9D9D9D;
  150. padding-bottom: 34rpx;
  151. text {
  152. color: #424242;
  153. font-size: 38rpx;
  154. margin-right: 22rpx;
  155. }
  156. }
  157. }
  158. }
  159. }
  160. &-btn {
  161. width: 100%;
  162. height: 96rpx;
  163. line-height: 96rpx;
  164. text-align: center;
  165. font-size: 36rpx;
  166. color: #fff;
  167. background-color: #709078;
  168. position: fixed;
  169. bottom: 0;
  170. left: 0;
  171. }
  172. }