skillsTrainingDetails.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /* 我的技能培训详情 */
  2. /* #ifndef H5 */
  3. page {
  4. height: 100%;
  5. background-color: #f2f2f2;
  6. font-family: 'PingFangSC-Regular, PingFang SC';
  7. }
  8. /* #endif */
  9. .details {
  10. padding-bottom: 100rpx;
  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: 176rpx;
  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. }
  89. }
  90. &-course {
  91. background-color: #fff;
  92. border-radius: 10rpx;
  93. padding: 40rpx 34rpx;
  94. margin-top: 20rpx;
  95. &-btn {
  96. display: flex;
  97. justify-content: space-between;
  98. .item {
  99. width: calc(50% - 8rpx);
  100. height: 82rpx;
  101. display: flex;
  102. justify-content: center;
  103. align-items: center;
  104. border: solid 1px #D3D3D3;
  105. border-radius: 10rpx;
  106. font-size: 24rpx;
  107. color: #555555;
  108. .name {
  109. margin: 0 34rpx 0 20rpx;
  110. }
  111. }
  112. }
  113. &-progress {
  114. margin-top: 42rpx;
  115. .title {
  116. color: #424242;
  117. font-size: 36rpx;
  118. }
  119. }
  120. &-tab {
  121. display: flex;
  122. margin-top: 44rpx;
  123. margin-bottom: 18rpx;
  124. view {
  125. color: #797979;
  126. font-size: 30rpx;
  127. margin-right: 56rpx;
  128. }
  129. .active {
  130. color: #000;
  131. font-weight: 600;
  132. }
  133. }
  134. &-online {
  135. .online-list {
  136. &-item {
  137. display: flex;
  138. border-bottom: solid 1px #DBDBDB;
  139. padding: 32rpx 0;
  140. .left {
  141. margin-right: 26rpx;
  142. }
  143. .right {
  144. color: #0B0B0B;
  145. font-size: 30rpx;
  146. view {
  147. &:last-child {
  148. font-size: 24rpx;
  149. color: #9A9A9A;
  150. margin-top: 10rpx;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. }
  157. &-offline {
  158. .notice {
  159. font-size: 24rpx;
  160. color: #545454;
  161. }
  162. .offline-list {
  163. &-item {
  164. display: flex;
  165. border-bottom: solid 1px #DBDBDB;
  166. padding: 32rpx 0;
  167. .left {
  168. margin-right: 26rpx;
  169. }
  170. .right {
  171. font-size: 24rpx;
  172. color: #9A9A9A;
  173. view {
  174. line-height: 40rpx;
  175. &:first-child {
  176. color: #0B0B0B;
  177. font-size: 30rpx;
  178. }
  179. }
  180. }
  181. }
  182. }
  183. }
  184. }
  185. }
  186. }
  187. .no-data {
  188. padding: 60rpx 0;
  189. }