skillsPackage.scss 3.3 KB

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