skillsTraining.scss 3.5 KB

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