skillsTraining.scss 3.3 KB

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