index.module.less 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. .practiceDetail {
  2. min-height: 100vh;
  3. background-color: #f6f7f8;
  4. overflow: hidden;
  5. background: linear-gradient(to bottom, #beffe6 0px, #f6f7f8 392px);
  6. }
  7. .groupContainer {
  8. height: calc(100vh - var(--header-height, 0));
  9. overflow-x: hidden;
  10. overflow-y: auto;
  11. }
  12. .section {
  13. background: #ffffff;
  14. box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  15. border-radius: 10px;
  16. overflow: hidden;
  17. padding: 12px;
  18. margin: 12px 14px 0;
  19. position: relative;
  20. &:last-child {
  21. margin-bottom: 30px;
  22. }
  23. .filter {
  24. position: absolute;
  25. top: 0;
  26. right: 0;
  27. background: url('../images/filter-bg.png') no-repeat center;
  28. background-size: contain;
  29. width: 114.5px;
  30. height: 37px;
  31. display: flex;
  32. align-items: center;
  33. font-size: 14px;
  34. color: #131415;
  35. line-height: 20px;
  36. &.active {
  37. color: #2dc7aa;
  38. }
  39. span {
  40. padding-left: 49px;
  41. }
  42. img {
  43. width: 9px;
  44. height: 5px;
  45. margin-left: 4px;
  46. }
  47. }
  48. .title {
  49. display: flex;
  50. justify-content: space-between;
  51. span {
  52. display: flex;
  53. align-items: center;
  54. font-weight: 600;
  55. font-size: 15px;
  56. color: #333333;
  57. line-height: 18px;
  58. &::before {
  59. content: '';
  60. display: inline-block;
  61. width: 3px;
  62. height: 12px;
  63. background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
  64. border-radius: 2px;
  65. margin-right: 4px;
  66. }
  67. }
  68. .download {
  69. display: flex;
  70. align-items: center;
  71. background: rgba(45, 199, 170, 0.1);
  72. border-radius: 9px;
  73. padding: 0 6px;
  74. font-size: 12px;
  75. color: #2dc7aa;
  76. line-height: 17px;
  77. img {
  78. width: 10px;
  79. height: 10px;
  80. margin-left: 4px;
  81. }
  82. }
  83. }
  84. .leaveTime {
  85. padding-top: 20px;
  86. padding-bottom: 20px;
  87. .num {
  88. font-family: DIN;
  89. font-weight: bold;
  90. font-size: 30px;
  91. color: #333333;
  92. line-height: 35px;
  93. }
  94. .text {
  95. font-weight: 400;
  96. font-size: 14px;
  97. color: #777777;
  98. line-height: 26px;
  99. padding: 0 2px;
  100. }
  101. }
  102. .sList {
  103. display: flex;
  104. }
  105. .sItem {
  106. background: #f8f8f8;
  107. box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  108. border-radius: 4px;
  109. padding: 10px;
  110. flex: 1;
  111. &:last-child {
  112. margin-left: 10px;
  113. }
  114. .sTop {
  115. display: flex;
  116. align-items: center;
  117. font-weight: 600;
  118. font-size: 14px;
  119. color: #2dc7aa;
  120. line-height: 18px;
  121. padding-bottom: 5px;
  122. img {
  123. margin-right: 6px;
  124. width: 16px;
  125. height: 16px;
  126. }
  127. }
  128. .sBottom {
  129. .num {
  130. font-family: DIN;
  131. font-weight: bold;
  132. font-size: 22px;
  133. color: #333333;
  134. line-height: 26px;
  135. }
  136. .text {
  137. font-size: 12px;
  138. color: #777777;
  139. line-height: 26px;
  140. }
  141. }
  142. }
  143. }
  144. .scroll {
  145. overflow-y: hidden;
  146. overflow-x: auto;
  147. position: relative;
  148. z-index: auto;
  149. height: 100%;
  150. width: 100%;
  151. padding-top: 12px;
  152. &::-webkit-scrollbar {
  153. display: none;
  154. }
  155. }
  156. .dataTable {
  157. word-break: break-word;
  158. // transition: background-color .3s var(--n-bezier);
  159. border-collapse: separate;
  160. border-spacing: 0;
  161. .tdFixedLeft {
  162. position: sticky;
  163. z-index: 1;
  164. left: 0;
  165. }
  166. th {
  167. font-weight: 600;
  168. line-height: 26px;
  169. margin-right: 2px;
  170. font-weight: 600;
  171. font-size: 12px;
  172. &:last-child {
  173. margin-right: 0;
  174. }
  175. &:first-child {
  176. padding-left: 6px;
  177. padding-right: 6px;
  178. text-align: left;
  179. background: #f8f8f8;
  180. }
  181. &:nth-child(5n),
  182. &:nth-child(3n) {
  183. background: #f8f1e9;
  184. color: #df8010;
  185. }
  186. &:nth-child(2n),
  187. &:nth-child(4n) {
  188. background: #e8f4f4;
  189. color: #17bda6;
  190. }
  191. }
  192. td {
  193. line-height: 34px;
  194. height: 34px;
  195. text-align: center;
  196. background: #fff;
  197. margin-right: 2px;
  198. font-weight: bold;
  199. font-family: DIN;
  200. &:last-child {
  201. margin-right: 0;
  202. }
  203. &:first-child {
  204. padding-left: 6px;
  205. padding-right: 6px;
  206. text-align: left;
  207. display: flex;
  208. align-items: center;
  209. font-weight: 400;
  210. span {
  211. font-size: 13px;
  212. color: #333333;
  213. line-height: 20px;
  214. max-width: 60px;
  215. overflow: hidden;
  216. text-overflow: ellipsis;
  217. white-space: nowrap;
  218. }
  219. }
  220. &:nth-child(4n) {
  221. color: #17bda6;
  222. }
  223. &:nth-child(3n),
  224. &:nth-child(5n) {
  225. color: #df8010;
  226. }
  227. .userImg {
  228. width: 16px;
  229. height: 16px;
  230. border-radius: 50%;
  231. margin-right: 4px;
  232. flex-shrink: 0;
  233. }
  234. }
  235. .filterSection {
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. }
  240. .filters {
  241. display: flex;
  242. align-items: center;
  243. flex-direction: column;
  244. margin-left: 4px;
  245. :global {
  246. .iconfont {
  247. line-height: 1;
  248. }
  249. }
  250. .upArrow {
  251. transform: rotate(180deg) translateY(-1px);
  252. }
  253. .downArrow {
  254. transform: translateY(-3px);
  255. }
  256. }
  257. }
  258. .popupContainer {
  259. // max-height: 504px;
  260. // overflow-x: hidden;
  261. // overflow-y: auto;
  262. .popupTitle {
  263. position: sticky;
  264. z-index: 1;
  265. top: 0;
  266. text-align: center;
  267. font-weight: 600;
  268. font-size: 18px;
  269. color: #333333;
  270. line-height: 24px;
  271. padding: 18px 0 12px;
  272. }
  273. .popupSearchList {
  274. min-height: 30vh;
  275. max-height: 50vh;
  276. overflow: hidden auto;
  277. }
  278. .popupSection {
  279. padding: 0 16px 18px;
  280. .title {
  281. display: flex;
  282. justify-content: space-between;
  283. padding-bottom: 10px;
  284. span {
  285. display: flex;
  286. align-items: center;
  287. font-weight: 600;
  288. font-size: 15px;
  289. color: #333333;
  290. line-height: 18px;
  291. &::before {
  292. content: '';
  293. display: inline-block;
  294. width: 3px;
  295. height: 12px;
  296. background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
  297. border-radius: 2px;
  298. margin-right: 4px;
  299. }
  300. }
  301. }
  302. .timeCount {
  303. display: flex;
  304. align-items: center;
  305. p {
  306. margin-left: 10px;
  307. flex: 1;
  308. background: #f8f8f8;
  309. border: 1px solid #f8f8f8;
  310. border-radius: 4px;
  311. font-size: 13px;
  312. color: #999999;
  313. line-height: 18px;
  314. text-align: center;
  315. padding: 6px 0;
  316. &:first-child {
  317. margin-left: 0;
  318. }
  319. &.active {
  320. background: #e9fff8;
  321. border-radius: 4px;
  322. border: 1px solid #2dc7aa;
  323. color: #2dc7aa;
  324. }
  325. }
  326. }
  327. .timeSubject {
  328. flex-wrap: wrap;
  329. margin-left: -5px;
  330. margin-right: -5px;
  331. p {
  332. width: calc(33.333% - 10px);
  333. padding: 6px 3px;
  334. margin: 0 5px;
  335. flex: none;
  336. overflow: hidden;
  337. white-space: nowrap;
  338. text-overflow: ellipsis;
  339. margin-bottom: 9px;
  340. box-sizing: border-box;
  341. &:first-child {
  342. margin-left: 5px;
  343. }
  344. }
  345. }
  346. .timeRang {
  347. margin-top: 10px;
  348. display: flex;
  349. align-items: center;
  350. justify-content: space-between;
  351. .timeInput {
  352. width: 159px;
  353. line-height: 32px;
  354. text-align: center;
  355. background: #f8f8f8;
  356. border-radius: 4px;
  357. font-size: 13px;
  358. color: #999999;
  359. cursor: pointer;
  360. }
  361. .hasValue {
  362. color: #333;
  363. }
  364. .timeUnit {
  365. width: 12px;
  366. height: 1px;
  367. background: #d0d0d0;
  368. }
  369. }
  370. }
  371. .popupBottom {
  372. position: sticky;
  373. z-index: 1;
  374. bottom: 0;
  375. border-top: 1px solid #f2f2f2;
  376. padding: 20px 13px 30px;
  377. display: flex;
  378. align-items: center;
  379. :global {
  380. .van-button {
  381. font-size: 16px;
  382. }
  383. .van-button + .van-button {
  384. margin-left: 15px;
  385. }
  386. }
  387. }
  388. }