index.module.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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. }
  236. .popupContainer {
  237. // max-height: 504px;
  238. // overflow-x: hidden;
  239. // overflow-y: auto;
  240. .popupTitle {
  241. position: sticky;
  242. z-index: 1;
  243. top: 0;
  244. text-align: center;
  245. font-weight: 600;
  246. font-size: 18px;
  247. color: #333333;
  248. line-height: 24px;
  249. padding: 18px 0 12px;
  250. }
  251. .popupSearchList {
  252. min-height: 30vh;
  253. max-height: 50vh;
  254. overflow: hidden auto;
  255. }
  256. .popupSection {
  257. padding: 0 16px 18px;
  258. .title {
  259. display: flex;
  260. justify-content: space-between;
  261. padding-bottom: 10px;
  262. span {
  263. display: flex;
  264. align-items: center;
  265. font-weight: 600;
  266. font-size: 15px;
  267. color: #333333;
  268. line-height: 18px;
  269. &::before {
  270. content: '';
  271. display: inline-block;
  272. width: 3px;
  273. height: 12px;
  274. background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
  275. border-radius: 2px;
  276. margin-right: 4px;
  277. }
  278. }
  279. }
  280. .timeCount {
  281. display: flex;
  282. align-items: center;
  283. p {
  284. margin-left: 10px;
  285. flex: 1;
  286. background: #f8f8f8;
  287. border: 1px solid #f8f8f8;
  288. border-radius: 4px;
  289. font-size: 13px;
  290. color: #999999;
  291. line-height: 18px;
  292. text-align: center;
  293. padding: 6px 0;
  294. &:first-child {
  295. margin-left: 0;
  296. }
  297. &.active {
  298. background: #e9fff8;
  299. border-radius: 4px;
  300. border: 1px solid #2dc7aa;
  301. color: #2dc7aa;
  302. }
  303. }
  304. }
  305. .timeSubject {
  306. flex-wrap: wrap;
  307. margin-left: -5px;
  308. margin-right: -5px;
  309. p {
  310. width: calc(33.333% - 10px);
  311. padding: 6px 3px;
  312. margin: 0 5px;
  313. flex: none;
  314. overflow: hidden;
  315. white-space: nowrap;
  316. text-overflow: ellipsis;
  317. margin-bottom: 9px;
  318. box-sizing: border-box;
  319. &:first-child {
  320. margin-left: 5px;
  321. }
  322. }
  323. }
  324. .timeRang {
  325. margin-top: 10px;
  326. display: flex;
  327. align-items: center;
  328. justify-content: space-between;
  329. .timeInput {
  330. width: 159px;
  331. line-height: 32px;
  332. text-align: center;
  333. background: #f8f8f8;
  334. border-radius: 4px;
  335. font-size: 13px;
  336. color: #999999;
  337. cursor: pointer;
  338. }
  339. .hasValue {
  340. color: #333;
  341. }
  342. .timeUnit {
  343. width: 12px;
  344. height: 1px;
  345. background: #d0d0d0;
  346. }
  347. }
  348. }
  349. .popupBottom {
  350. position: sticky;
  351. z-index: 1;
  352. bottom: 0;
  353. border-top: 1px solid #f2f2f2;
  354. padding: 20px 13px 30px;
  355. display: flex;
  356. align-items: center;
  357. :global {
  358. .van-button {
  359. font-size: 16px;
  360. }
  361. .van-button + .van-button {
  362. margin-left: 15px;
  363. }
  364. }
  365. }
  366. }