report.module.less 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. .trainWeek {
  2. position: relative;
  3. min-height: 100vh;
  4. background: linear-gradient(180deg, #225fff 0%, #0e2cdf 94%, #0d29dc 100%);
  5. overflow: hidden;
  6. .trainContainer {
  7. position: absolute;
  8. top: 0;
  9. left: 0;
  10. width: 100%;
  11. background: url('./images/week/banner-week.png') no-repeat top center;
  12. background-size: contain;
  13. height: 342px;
  14. }
  15. .iconShare {
  16. width: 20px;
  17. height: 20px;
  18. display: inline-block;
  19. background: url('./images/icon-share.png') no-repeat center;
  20. background-size: contain;
  21. }
  22. &.trainMonth {
  23. background: linear-gradient(180deg, #c7c7ff 0%, #9c9bff 100%);
  24. .trainContainer {
  25. background: url('./images/month/banner-month.png') no-repeat top center;
  26. background-size: contain;
  27. height: 342px;
  28. }
  29. }
  30. &.trasinMonthShare {
  31. .trainContainer {
  32. background: url('./images/month/share-month-banner.png') no-repeat top center;
  33. background-size: contain;
  34. height: 342px;
  35. }
  36. }
  37. &.trasinWeekShare {
  38. .trainContainer {
  39. background: url('./images/week/share-week-banner.png') no-repeat top center;
  40. background-size: contain;
  41. height: 342px;
  42. }
  43. }
  44. }
  45. .headerContant {
  46. padding-top: 16px;
  47. padding-left: 17px;
  48. margin-bottom: 50px;
  49. &.teacherHeaderContant {
  50. .orchestra {
  51. color: #3e0ed7;
  52. }
  53. .trainTimer {
  54. color: #3a17fd;
  55. &::before,
  56. &::after {
  57. background: url('./images/month/teacher-icon-point.png') no-repeat center;
  58. background-size: contain;
  59. }
  60. }
  61. }
  62. .orchestra {
  63. padding: 3px 7px;
  64. display: inline-flex;
  65. background: rgba(255, 255, 255, 0.32);
  66. border-radius: 12px;
  67. font-size: 12px;
  68. color: #ffffff;
  69. span {
  70. max-width: 200px;
  71. white-space: nowrap;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. }
  75. }
  76. .iconOrchestra {
  77. width: 14px;
  78. height: 14px;
  79. margin-right: 4px;
  80. }
  81. .iconTrainWeek {
  82. height: 38px;
  83. width: 156px;
  84. padding: 18px 0 8px;
  85. }
  86. .trainTimer {
  87. display: flex;
  88. align-items: center;
  89. font-size: 13px;
  90. color: #ffffff;
  91. line-height: 18px;
  92. position: relative;
  93. &::before,
  94. &::after {
  95. display: inline-block;
  96. margin-left: 4px;
  97. margin-right: 4px;
  98. content: ' ';
  99. width: 6px;
  100. height: 6px;
  101. background: url('./images/week/icon-point.png') no-repeat center;
  102. background-size: contain;
  103. }
  104. }
  105. }
  106. .trainPhoto {
  107. height: 58px;
  108. font-size: 14px;
  109. font-weight: 600;
  110. color: #ffffff;
  111. background: url('./images/week/train-bg.png') no-repeat center;
  112. background-size: contain;
  113. padding: 0 15px;
  114. margin: 0 13px 10px;
  115. display: flex;
  116. align-items: center;
  117. &.teacherTrainPhoto {
  118. background: url('./images/month/teacher-train-bg.png') no-repeat center;
  119. background-size: contain;
  120. height: 60px;
  121. }
  122. .iconPhoto {
  123. width: 38px;
  124. height: 42px;
  125. margin-right: 5px;
  126. }
  127. span {
  128. padding: 0 4px;
  129. color: #41ffe2;
  130. font-family: DINA;
  131. }
  132. }
  133. .trainClass {
  134. position: relative;
  135. font-size: 14px;
  136. font-weight: 600;
  137. color: #ffffff;
  138. padding: 12px 15px;
  139. margin: 0 13px 10px;
  140. display: flex;
  141. align-items: flex-start;
  142. min-height: 76px;
  143. background: rgba(66, 109, 255, 0.97) linear-gradient(276deg, #0a53d4 0%, #1133c0 100%);
  144. box-shadow: inset 6px 6px 0px 0px rgba(15, 57, 204, 0.41);
  145. border-radius: 18px;
  146. border: 3px solid #99ffdd;
  147. overflow: hidden;
  148. &::after {
  149. position: absolute;
  150. right: -50px;
  151. top: -50px;
  152. content: ' ';
  153. background: url('./images/small-icon.png') no-repeat center;
  154. background-size: cover;
  155. height: 100%;
  156. width: 63px;
  157. }
  158. .iconPhoto {
  159. width: 48px;
  160. height: 41px;
  161. margin-right: 5px;
  162. flex-shrink: 0;
  163. }
  164. span {
  165. padding: 0 4px;
  166. color: #41ffe2;
  167. font-family: DINA;
  168. }
  169. .subjectTips {
  170. line-height: 20px;
  171. }
  172. .subjectNames {
  173. padding-top: 2px;
  174. font-weight: 600;
  175. color: #ff7c88;
  176. line-height: 20px;
  177. font-size: 14px;
  178. }
  179. }
  180. .teacherTrainClass {
  181. background: rgba(92, 72, 239, 0.71);
  182. box-shadow: inset 4px 4px 0px 0px #7765ef;
  183. border: 3px solid #99ffdd;
  184. }
  185. .codeContainer {
  186. .codeImg {
  187. position: relative;
  188. width: 315px;
  189. height: 440px;
  190. z-index: 9;
  191. // background: url('./images/week/popup-week-banner.png') no-repeat top center;
  192. // background-size: contain;
  193. margin: 0 auto;
  194. background-color: #ffffff;
  195. border-radius: 8px;
  196. overflow: hidden;
  197. .popupWeekBanner {
  198. width: 100%;
  199. position: absolute;
  200. top: 0;
  201. left: 0;
  202. z-index: -1;
  203. }
  204. &.teacherCodeImg {
  205. // background: url('./images/month/popup-week-banner.png') no-repeat top center;
  206. // background-size: contain;
  207. background-color: #ffffff;
  208. }
  209. .headerContantPopup {
  210. padding-top: 23px;
  211. padding-left: 18px;
  212. .trainTimer {
  213. &::before,
  214. &::after {
  215. display: none;
  216. }
  217. .point {
  218. margin-left: 4px;
  219. margin-right: 4px;
  220. width: 6px;
  221. height: 6px;
  222. }
  223. }
  224. }
  225. .codeTitle {
  226. text-align: center;
  227. padding-top: 13px;
  228. font-size: 24px;
  229. font-weight: bold;
  230. color: #ffffff;
  231. text-shadow: 1px 1px 7px #f4672a;
  232. max-width: 90%;
  233. padding-left: 5%;
  234. }
  235. .codeName {
  236. padding: 36px 8px 0;
  237. font-size: 18px;
  238. font-weight: 600;
  239. color: #ffffff;
  240. }
  241. .codeQr {
  242. position: relative;
  243. margin: 108px auto 0;
  244. width: 126px;
  245. height: 126px;
  246. padding: 12px;
  247. // background: url('./images/popup-qrcode-bg.png') no-repeat center;
  248. // background-size: contain;
  249. border-radius: 11px;
  250. overflow: hidden;
  251. box-sizing: border-box;
  252. img {
  253. width: 100%;
  254. height: 100%;
  255. }
  256. .popupQrcodeBg {
  257. position: absolute;
  258. top: 0;
  259. left: 0;
  260. width: 126px;
  261. height: 126px;
  262. }
  263. }
  264. .codeBtnText {
  265. margin: 20px auto 0;
  266. display: inline-block;
  267. background: linear-gradient(132deg,
  268. rgba(199, 239, 243, 0.25) 0%,
  269. rgba(229, 206, 251, 0.25) 40%,
  270. rgba(147, 194, 254, 0.25) 100%);
  271. box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
  272. border-radius: 18px;
  273. padding: 6px 16px;
  274. font-size: 14px;
  275. color: #000977;
  276. }
  277. .codeTips {
  278. padding-top: 10px;
  279. font-size: 13px;
  280. font-weight: 600;
  281. color: #f16437;
  282. line-height: 18px;
  283. text-align: center;
  284. }
  285. }
  286. .close {
  287. position: absolute;
  288. top: 12px;
  289. right: 15px;
  290. }
  291. .codeBottom {
  292. position: relative;
  293. margin-top: 32px;
  294. background: #ffffff;
  295. border-radius: 20px 20px 0px 0px;
  296. padding-bottom: 10px;
  297. }
  298. .title {
  299. font-size: 16px;
  300. font-weight: 600;
  301. color: #333333;
  302. line-height: 22px;
  303. padding: 15px 15px 0;
  304. i {
  305. display: inline-block;
  306. margin-right: 6px;
  307. width: 4px;
  308. height: 12px;
  309. background: #ff8057;
  310. border-radius: 2px;
  311. }
  312. }
  313. .shareImg {
  314. width: 47px;
  315. height: 47px;
  316. }
  317. .shareText {
  318. padding-top: 6px;
  319. font-size: 14px;
  320. color: #333333;
  321. line-height: 20px;
  322. }
  323. }