courseDetailed.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. /* 技能培训---课程详细 */
  2. page {
  3. background-color: #f2f2f2;
  4. font-family: 'PingFangSC-Regular, PingFang SC';
  5. .details {
  6. &-video {
  7. &-con {
  8. width: 100%;
  9. height: 400rpx;
  10. }
  11. }
  12. &-content {
  13. background-color: #fff;
  14. padding: 20rpx 30rpx;
  15. margin-top: -6rpx;
  16. border-radius: 0 0 18rpx 18rpx;
  17. &-title {
  18. color: #424242;
  19. font-size: 42rpx;
  20. font-weight: 600;
  21. }
  22. &-progress {
  23. padding: 26rpx 0;
  24. color: #EF651F;
  25. font-size: 28rpx;
  26. }
  27. &-teacher {
  28. font-size: 36rpx;
  29. color: #424242;
  30. margin-bottom: 22rpx;
  31. }
  32. &-info {
  33. color: #545454;
  34. font-size: 28rpx;
  35. line-height: 44rpx;
  36. }
  37. }
  38. &-classes {
  39. background-color: #fff;
  40. border-radius: 18rpx 18rpx 0 0;
  41. padding: 42rpx 30rpx;
  42. margin-top: 26rpx;
  43. &-header {
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. color: #424242;
  48. font-size: 38rpx;
  49. view {
  50. &:last-child {
  51. color: #A3A3A3;
  52. font-size: 28rpx;
  53. }
  54. }
  55. }
  56. &-list {
  57. display: flex;
  58. flex-wrap: wrap;
  59. margin-top: 30rpx;
  60. &-item {
  61. margin-right: 20rpx;
  62. view {
  63. &:first-child {
  64. padding: 20rpx 34rpx;
  65. background-color: #C4C4C4;
  66. color: #fff;
  67. font-size: 40rpx;
  68. border-radius: 16rpx;
  69. }
  70. &:last-child {
  71. text-align: center;
  72. margin-top: 10rpx;
  73. color: #525252;
  74. font-size: 26rpx;
  75. }
  76. }
  77. }
  78. .active {
  79. view {
  80. &:first-child {
  81. background: linear-gradient(168deg, #A5C8AC 0%, #709078 100%);
  82. }
  83. &:last-child {
  84. color: #525252;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. &-line {
  91. height: 1px;
  92. width: 100%;
  93. background-color: #fff;
  94. padding: 0 30rpx;
  95. view {
  96. height: 1px;
  97. width: 100%;
  98. background-color: #CDCDCD;
  99. }
  100. }
  101. &-comment {
  102. background-color: #fff;
  103. border-radius: 0 0 18rpx 18rpx;
  104. padding: 30rpx;
  105. &-header {
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. margin-bottom: 30rpx;
  110. view {
  111. &:first-child {
  112. font-size: 38rpx;
  113. color: #424242;
  114. }
  115. &:last-child {
  116. color: #8D8D8D;
  117. font-size: 28rpx;
  118. }
  119. }
  120. }
  121. &-list {
  122. &-item {
  123. margin-bottom: 60rpx;
  124. display: flex;
  125. align-items: center;
  126. // &:last-child {
  127. // padding-bottom: 60rpx;
  128. // margin-bottom: 20rpx;
  129. // border-bottom: solid 1px #DBDBDB;
  130. // }
  131. .left {
  132. margin-right: 24rpx;
  133. }
  134. .right {
  135. view {
  136. line-height: 40rpx;
  137. &:first-child {
  138. color: #3D3D3D;
  139. font-size: 32rpx;
  140. }
  141. &:nth-child(2) {
  142. font-size: 28rpx;
  143. color: #A5A5A5;
  144. text {
  145. margin-left: 10rpx;
  146. }
  147. }
  148. &:last-child {
  149. font-size: 28rpx;
  150. color: #6C6C6C;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. &-page {
  157. border-bottom: solid 1px #DBDBDB;
  158. padding-bottom: 10rpx;
  159. }
  160. &-mine {
  161. margin-top: 46rpx;
  162. font-size: 36rpx;
  163. color: #000000;
  164. margin-bottom: 20rpx;
  165. }
  166. &-conent {
  167. &-star {
  168. margin-bottom: 22rpx;
  169. }
  170. &-textarea {
  171. background-color: #F5F5F5;
  172. }
  173. &-button {
  174. height: 80rpx;
  175. line-height: 80rpx;
  176. background-color: #709078;
  177. text-align: center;
  178. color: #fff;
  179. font-size: 30rpx;
  180. margin-top: 52rpx;
  181. }
  182. }
  183. }
  184. }
  185. }
  186. .video-control {
  187. background-color: rgba(0, 0, 0, 0.1);
  188. height: 90rpx;
  189. position: absolute;
  190. top: 0;
  191. left: 0;
  192. width: 100%;
  193. z-index: 997;
  194. }
  195. .video-wrap {
  196. position: relative;
  197. }
  198. .multi-list.full-screen.vertical {
  199. height: 100vh !important;
  200. padding: 8vh 0;
  201. }
  202. .multi-list.full-screen.horizontal {
  203. height: 100vw !important;
  204. padding: 8vw 0;
  205. }
  206. .multi {
  207. position: absolute;
  208. right: 30rpx;
  209. top: 50%;
  210. transform: translateY(-50%);
  211. z-index: 998;
  212. width: 100rpx;
  213. color: #fff;
  214. padding: 10rpx 0;
  215. text-align: center;
  216. transition: color ease 0.3s;
  217. }
  218. .multi.rate {
  219. right: 30rpx;
  220. }
  221. .multi-list {
  222. position: absolute;
  223. height: 100%;
  224. width: 0;
  225. background-color: rgba(0, 0, 0, 0.65);
  226. top: 0;
  227. right: 0;
  228. transition: width 0.3s ease;
  229. z-index: 999;
  230. box-sizing: border-box;
  231. padding: 20rpx 0;
  232. }
  233. .multi-list.rate {
  234. padding: 25rpx 0;
  235. }
  236. .multi-list.active {
  237. width: 200rpx;
  238. }
  239. .multi-item {
  240. text-align: center;
  241. color: #fff;
  242. line-height: 80rpx;
  243. transition: color ease 0.3s;
  244. }
  245. .multi-item.rate {
  246. line-height: 70rpx;
  247. }
  248. .multi-item:hover,
  249. .multi:hover {
  250. color: #00d8ff;
  251. }
  252. .multi-item.active {
  253. color: #00d8ff;
  254. }
  255. .mask-loading {
  256. width: 100%;
  257. height: 100vh;
  258. display: flex;
  259. justify-content: center;
  260. align-items: center;
  261. }