skillsTraining.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* #ifndef H5 */
  2. page {
  3. height: 100%;
  4. background-color: #f2f2f2;
  5. font-family: 'PingFangSC-Regular, PingFang SC';
  6. }
  7. /* #endif */
  8. ::v-deep {
  9. uni-swiper .uni-swiper-dot {
  10. width: 10rpx;
  11. height: 10rpx;
  12. }
  13. uni-swiper .uni-swiper-dot-active {
  14. width: 26rpx;
  15. height: 10rpx;
  16. border-radius: 6rpx;
  17. }
  18. }
  19. .training {
  20. &-banner {
  21. width: 100%;
  22. height: 100%;
  23. image {
  24. width: 100%;
  25. height: 408rpx;
  26. }
  27. }
  28. &-total {
  29. margin-top: -8rpx;
  30. padding: 0 30rpx;
  31. height: 164rpx;
  32. background: linear-gradient(90deg, #FEA460 0%, #FB6C59 100%);
  33. display: flex;
  34. justify-content: space-between;
  35. align-items: center;
  36. color: rgba($color: #fff, $alpha: 0.6);
  37. font-size: 30rpx;
  38. &-left {
  39. view {
  40. &:first-child {
  41. font-size: 40rpx;
  42. font-weight: 500;
  43. margin-bottom: 6rpx;
  44. color: rgba($color: #fff, $alpha: 0.9);
  45. }
  46. }
  47. }
  48. }
  49. &-notice {
  50. padding: 42rpx 30rpx;
  51. &-title {
  52. display: flex;
  53. justify-content: space-between;
  54. align-items: center;
  55. margin-bottom: 22rpx;
  56. view {
  57. &:first-child {
  58. color: #424242;
  59. font-size: 36rpx;
  60. }
  61. &:last-child {
  62. color: #A3A3A3;
  63. font-size: 24rpx;
  64. }
  65. }
  66. }
  67. &-content {
  68. padding: 40rpx 32rpx 20rpx;
  69. border-radius: 10rpx;
  70. background-color: #fff;
  71. .swiper {
  72. height: 270rpx;
  73. &-item {
  74. display: flex;
  75. align-items: center;
  76. .left {
  77. width: 204rpx;
  78. height: 220rpx;
  79. margin-right: 22rpx;
  80. }
  81. .right {
  82. text-align: left;
  83. view {
  84. &:first-child {
  85. font-size: 34rpx;
  86. color: #101010;
  87. font-weight: 500;
  88. margin-bottom: 12rpx;
  89. }
  90. &:nth-child(2) {
  91. font-size: 24rpx;
  92. color: #525252;
  93. }
  94. &:nth-child(3) {
  95. font-size: 24rpx;
  96. color: #9A9A9A;
  97. margin-top: 8rpx;
  98. }
  99. }
  100. .btn {
  101. background-color: #709078;
  102. width: 120rpx;
  103. height: 50rpx;
  104. line-height: 50rpx;
  105. text-align: center;
  106. border-radius: 40rpx;
  107. font-size: 24rpx;
  108. color: #fff;
  109. margin-top: 20rpx;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. }
  116. &-package {
  117. padding: 0 30rpx 160rpx;
  118. &-title {
  119. display: flex;
  120. justify-content: space-between;
  121. align-items: center;
  122. margin-bottom: 22rpx;
  123. view {
  124. &:first-child {
  125. color: #424242;
  126. font-size: 36rpx;
  127. }
  128. &:last-child {
  129. color: #A3A3A3;
  130. font-size: 24rpx;
  131. }
  132. }
  133. }
  134. &-list {
  135. padding: 66rpx 32rpx 28rpx;
  136. background-color: #fff;
  137. border-radius: 10rpx;
  138. display: flex;
  139. flex-wrap: wrap;
  140. &-item {
  141. width: calc(50% - 12rpx);
  142. margin-right: 24rpx;
  143. margin-bottom: 38rpx;
  144. &:nth-child(2n) {
  145. margin-right: 0;
  146. }
  147. view {
  148. &:nth-child(2) {
  149. color: #3F3F3F;
  150. font-size: 28rpx;
  151. margin: 12rpx 0 8rpx;
  152. }
  153. &:last-child {
  154. font-size: 22rpx;
  155. color: #A2A2A2;
  156. }
  157. }
  158. }
  159. }
  160. }
  161. &-bottom {
  162. position: fixed;
  163. bottom: 0;
  164. left: 0;
  165. width: 100%;
  166. height: 96rpx;
  167. line-height: 96rpx;
  168. text-align: center;
  169. font-size: 36rpx;
  170. color: #fff;
  171. background-color: #709078;
  172. }
  173. }