skillsPackage.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. color: rgba($color: #fff, $alpha: 0.7);
  45. border-bottom-left-radius: 10rpx;
  46. border-bottom-right-radius: 10rpx;
  47. position: absolute;
  48. top: 196rpx;
  49. }
  50. }
  51. .right {
  52. font-size: 24rpx;
  53. color: #A2A2A2;
  54. line-height: 40rpx;
  55. .name {
  56. display: flex;
  57. align-items: center;
  58. color: #3D5D4C;
  59. font-size: 34rpx;
  60. font-weight: 500;
  61. margin-bottom: 10rpx;
  62. .tip {
  63. text-align: center;
  64. padding: 0 10rpx;
  65. background: linear-gradient(153deg, #F89E42 0%, #FF7833 100%);
  66. border-radius: 20rpx;
  67. font-size: 20rpx;
  68. color: #fff;
  69. margin-right: 20rpx;
  70. }
  71. .professional {
  72. width: 70%;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. }
  77. }
  78. .class {
  79. text {
  80. color: #555555;
  81. font-size: 24rpx;
  82. margin-right: 24rpx;
  83. }
  84. }
  85. .hardly {
  86. margin: 10rpx 0;
  87. }
  88. .status {
  89. width: 100%;
  90. height: 44rpx;
  91. line-height: 44rpx;
  92. text-align: center;
  93. background-color: #709078;
  94. color: rgba($color: #fff, $alpha: 0.7);
  95. font-size: 24rpx;
  96. border-radius: 40rpx;
  97. margin-top: 20rpx;
  98. }
  99. }
  100. }
  101. &-details {
  102. padding: 40rpx 32rpx;
  103. background-color: #fff;
  104. border-radius: 10rpx;
  105. margin-top: 20rpx;
  106. &-classes {
  107. border-bottom: solid 1px #CDCDCD;
  108. padding-bottom: 20rpx;
  109. margin-bottom: 32rpx;
  110. .title {
  111. display: flex;
  112. justify-content: space-between;
  113. align-items: center;
  114. font-size: 26rpx;
  115. color: #9D9D9D;
  116. padding-bottom: 34rpx;
  117. text {
  118. color: #424242;
  119. font-size: 36rpx;
  120. margin-right: 22rpx;
  121. }
  122. }
  123. .list {
  124. .swiper-item {
  125. width: 50%!important;
  126. height: 100%;
  127. .classes-name {
  128. color: #2E2E2E;
  129. font-size: 26rpx;
  130. margin: 10rpx 0;
  131. }
  132. .classes-subtitle {
  133. font-size: 24rpx;
  134. color: #818181;
  135. }
  136. }
  137. }
  138. }
  139. &-skill {
  140. .title {
  141. display: flex;
  142. justify-content: space-between;
  143. align-items: center;
  144. font-size: 26rpx;
  145. color: #9D9D9D;
  146. padding-bottom: 34rpx;
  147. text {
  148. color: #424242;
  149. font-size: 36rpx;
  150. margin-right: 22rpx;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. &-btn {
  157. width: 100%;
  158. height: 96rpx;
  159. line-height: 96rpx;
  160. text-align: center;
  161. font-size: 36rpx;
  162. color: #fff;
  163. background-color: #709078;
  164. position: fixed;
  165. bottom: 0;
  166. left: 0;
  167. }
  168. }