report.module.less 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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: 0 15px;
  139. margin: 0 13px 10px;
  140. display: flex;
  141. align-items: center;
  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: 16px 100px 100px 18px;
  146. border: 3px solid #99ffdd;
  147. overflow: hidden;
  148. &::after {
  149. position: absolute;
  150. right: -40px;
  151. top: -30px;
  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: 38px;
  160. height: 42px;
  161. margin-right: 5px;
  162. }
  163. span {
  164. padding: 0 4px;
  165. color: #41ffe2;
  166. font-family: DINA;
  167. }
  168. .subjectTips {
  169. line-height: 20px;
  170. }
  171. .subjectNames {
  172. padding-top: 2px;
  173. font-weight: 600;
  174. color: #ff7c88;
  175. line-height: 20px;
  176. font-size: 14px;
  177. }
  178. }
  179. .teacherTrainClass {
  180. background: rgba(92, 72, 239, 0.71);
  181. box-shadow: inset 4px 4px 0px 0px #7765ef;
  182. border: 3px solid #99ffdd;
  183. }
  184. .codeContainer {
  185. .codeImg {
  186. position: relative;
  187. width: 315px;
  188. height: 440px;
  189. z-index: 9;
  190. // background: url('./images/week/popup-week-banner.png') no-repeat top center;
  191. // background-size: contain;
  192. margin: 0 auto;
  193. background-color: #ffffff;
  194. border-radius: 8px;
  195. overflow: hidden;
  196. .popupWeekBanner {
  197. width: 100%;
  198. position: absolute;
  199. top: 0;
  200. left: 0;
  201. z-index: -1;
  202. }
  203. &.teacherCodeImg {
  204. // background: url('./images/month/popup-week-banner.png') no-repeat top center;
  205. // background-size: contain;
  206. background-color: #ffffff;
  207. }
  208. .headerContantPopup {
  209. padding-top: 23px;
  210. padding-left: 18px;
  211. .trainTimer {
  212. &::before,
  213. &::after {
  214. display: none;
  215. }
  216. .point {
  217. margin-left: 4px;
  218. margin-right: 4px;
  219. width: 6px;
  220. height: 6px;
  221. }
  222. }
  223. }
  224. .codeTitle {
  225. text-align: center;
  226. padding-top: 13px;
  227. font-size: 24px;
  228. font-weight: bold;
  229. color: #ffffff;
  230. text-shadow: 1px 1px 7px #f4672a;
  231. max-width: 90%;
  232. padding-left: 5%;
  233. }
  234. .codeName {
  235. padding: 36px 8px 0;
  236. font-size: 18px;
  237. font-weight: 600;
  238. color: #ffffff;
  239. }
  240. .codeQr {
  241. position: relative;
  242. margin: 108px auto 0;
  243. width: 126px;
  244. height: 126px;
  245. padding: 12px;
  246. // background: url('./images/popup-qrcode-bg.png') no-repeat center;
  247. // background-size: contain;
  248. border-radius: 11px;
  249. overflow: hidden;
  250. box-sizing: border-box;
  251. img {
  252. width: 100%;
  253. height: 100%;
  254. }
  255. .popupQrcodeBg {
  256. position: absolute;
  257. top: 0;
  258. left: 0;
  259. width: 126px;
  260. height: 126px;
  261. }
  262. }
  263. .codeBtnText {
  264. margin: 20px auto 0;
  265. display: inline-block;
  266. background: linear-gradient(132deg,
  267. rgba(199, 239, 243, 0.25) 0%,
  268. rgba(229, 206, 251, 0.25) 40%,
  269. rgba(147, 194, 254, 0.25) 100%);
  270. box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
  271. border-radius: 18px;
  272. padding: 6px 16px;
  273. font-size: 14px;
  274. color: #000977;
  275. }
  276. .codeTips {
  277. padding-top: 10px;
  278. font-size: 13px;
  279. font-weight: 600;
  280. color: #f16437;
  281. line-height: 18px;
  282. text-align: center;
  283. }
  284. }
  285. .close {
  286. position: absolute;
  287. top: 12px;
  288. right: 15px;
  289. }
  290. .codeBottom {
  291. position: relative;
  292. margin-top: 32px;
  293. background: #ffffff;
  294. border-radius: 20px 20px 0px 0px;
  295. padding-bottom: 10px;
  296. }
  297. .title {
  298. font-size: 16px;
  299. font-weight: 600;
  300. color: #333333;
  301. line-height: 22px;
  302. padding: 15px 15px 0;
  303. i {
  304. display: inline-block;
  305. margin-right: 6px;
  306. width: 4px;
  307. height: 12px;
  308. background: #ff8057;
  309. border-radius: 2px;
  310. }
  311. }
  312. .shareImg {
  313. width: 47px;
  314. height: 47px;
  315. }
  316. .shareText {
  317. padding-top: 6px;
  318. font-size: 14px;
  319. color: #333333;
  320. line-height: 20px;
  321. }
  322. }