cncTestLists.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. .page {
  2. background: #EDEFF7;
  3. width: 100%;
  4. height: 100%;
  5. overflow: hidden;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .main-content {
  10. width: 61.45%;
  11. height: 100%;
  12. margin: 0 auto;
  13. padding-top: 60px;
  14. display: flex;
  15. flex-direction: column;
  16. .title-content {
  17. display: flex;
  18. flex-direction: row;
  19. justify-content: space-between;
  20. margin-top: 36px;
  21. align-items: center;
  22. .create-test-box {
  23. display: flex;
  24. flex-direction: row;
  25. align-items: center;
  26. .create-test {
  27. width: 77px;
  28. height: 28px;
  29. background: rgba(255, 255, 255, 1);
  30. border-radius: 14px;
  31. font-size: 14px;
  32. font-family: MicrosoftYaHei;
  33. color: rgba(111, 111, 111, 1);
  34. line-height: 28px;
  35. text-align: center;
  36. }
  37. .select-test {
  38. width: 77px;
  39. height: 28px;
  40. background: rgba(255, 255, 255, 1);
  41. border-radius: 14px;
  42. font-size: 14px;
  43. font-family: MicrosoftYaHei;
  44. color: rgba(78, 93, 255, 1);
  45. line-height: 28px;
  46. text-align: center;
  47. }
  48. }
  49. }
  50. .content {
  51. width: 100%;
  52. height: 100%;
  53. margin-top: 33px;
  54. background: rgba(255, 255, 255, 1);
  55. border-radius: 6px;
  56. padding-top: 13px;
  57. display: flex;
  58. flex-direction: column;
  59. overflow-y: auto;
  60. .item-test {
  61. height: 50px;
  62. width: 100%;
  63. display: flex;
  64. padding-left: 40px;
  65. padding-right: 40px;
  66. flex-direction: row;
  67. justify-content: space-between;
  68. margin-bottom: 10px;
  69. .item-left {
  70. line-height: 50px;
  71. display: flex;
  72. flex-direction: row;
  73. align-items: center;
  74. span {
  75. font-size: 18px;
  76. font-family: MicrosoftYaHei;
  77. color: rgba(53, 62, 96, 1);
  78. margin-left: 20px;
  79. }
  80. }
  81. .item-right {
  82. line-height: 50px;
  83. display: flex;
  84. flex-direction: row;
  85. align-items: center;
  86. .project-name,
  87. .qr-num {
  88. font-size: 14px;
  89. font-family: STYuanti-SC-Regular;
  90. font-weight: 400;
  91. color: rgba(153, 160, 182, 1);
  92. }
  93. .qr-num {
  94. margin-left: 130px;
  95. margin-right: 80px;
  96. }
  97. .use-test,
  98. .watch-test {
  99. width: 110px;
  100. height: 30px;
  101. background: rgba(230, 237, 255, 1);
  102. border-radius: 15px;
  103. display: flex;
  104. flex-direction: row;
  105. align-items: center;
  106. justify-content: center;
  107. .watch-icon {
  108. width: 15px;
  109. height: 11px;
  110. background-image: url('../../assets/images/watch-icon.png');
  111. background-size: 15px 11px;
  112. margin-right: 3px;
  113. }
  114. span {
  115. display: inline-block;
  116. line-height: 30px;
  117. font-size: 12px;
  118. font-family: STYuanti-SC-Regular;
  119. font-weight: 400;
  120. color: rgba(78, 93, 255, 1);
  121. }
  122. }
  123. .use-test {
  124. margin-left: 20px;
  125. .use-icon {
  126. width: 11px;
  127. height: 13px;
  128. background-image: url('../../assets/images/use-icon.png');
  129. background-size: 11px 13px;
  130. margin-right: 3px;
  131. }
  132. }
  133. }
  134. }
  135. .item-test:hover {
  136. background: rgba(230, 237, 255, 1);
  137. .watch-test,
  138. .use-test {
  139. background: rgba(78, 93, 255, 1);
  140. .use-icon {
  141. background-image: url('../../assets/images/use-icon-white.png');
  142. background-size: 11px 13px;
  143. }
  144. span {
  145. color: rgba(255, 255, 255, 1);
  146. }
  147. }
  148. .watch-test {
  149. .watch-icon {
  150. background-image: url('../../assets/images/watch-icon-white.png');
  151. background-size: 15px 11px;
  152. }
  153. }
  154. }
  155. }
  156. }
  157. .el-button {
  158. padding: 7px 20px;
  159. position: relative
  160. }
  161. .el-button--primary {
  162. width: 220px;
  163. border-radius: 17px;
  164. font-size: 14px;
  165. color: #4E5DFF;
  166. background-color: #FFFFFF;
  167. border-color: #FFFFFF;
  168. }
  169. .icon-right {
  170. position: absolute;
  171. right: 10px;
  172. }
  173. .dialog {
  174. width: 100%;
  175. height: 100%;
  176. background: rgba(0, 0, 0, 0.6);
  177. position: absolute;
  178. z-index: 100000;
  179. top: 0;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. .dialog-content {
  184. width: 560px;
  185. height: 70%;
  186. position: relative;
  187. .close {
  188. width: 28px;
  189. height: 28px;
  190. position: absolute;
  191. top: 0;
  192. right: 0;
  193. }
  194. .content-box {
  195. width: 100%;
  196. height: 100%;
  197. background-color: #FFFFFF;
  198. margin-top: 50px;
  199. border-radius: 6px;
  200. overflow: hidden;
  201. display: flex;
  202. flex-direction: column;
  203. .dialog-title {
  204. width: 100%;
  205. height: 98px;
  206. background: rgba(78, 93, 255, 1);
  207. border-radius: 6px 6px 0px 0px;
  208. font-size: 18px;
  209. font-family: PingFangSC-Regular;
  210. font-weight: 400;
  211. color: rgba(255, 255, 255, 1);
  212. line-height: 98px;
  213. padding-left: 42px;
  214. }
  215. .dialog-qr {
  216. width: 100%;
  217. height: 100%;
  218. overflow-y: auto;
  219. padding-left: 30px;
  220. padding-right: 15px;
  221. padding-top: 20px;
  222. .qr-item {
  223. width: 100%;
  224. margin-bottom: 20px;
  225. .title {
  226. display: inline-block;
  227. font-size: 14px;
  228. font-family: PingFangSC-Regular;
  229. font-weight: 400;
  230. color: rgba(0, 0, 0, 1);
  231. }
  232. .qr-as-text {
  233. display: flex;
  234. flex-direction: column;
  235. padding-left: 55px;
  236. margin-top: 6px;
  237. }
  238. .qr-as-img {
  239. width: 100%;
  240. padding-left: 55px;
  241. margin-top: 6px;
  242. .qr-img {
  243. width: 100px;
  244. display: inline-block;
  245. flex-direction: column;
  246. align-items: center;
  247. margin-bottom: 10px;
  248. margin-right: 7px;
  249. .qr-image {
  250. width: 100px;
  251. height: 72px;
  252. margin-bottom: 4px;
  253. }
  254. .qr-desc {
  255. display: inline-block;
  256. width: 100px;
  257. height: 46px;
  258. font-size: 14px;
  259. color: rgba(0, 0, 0, 1);
  260. line-height: 23px;
  261. white-space: normal !important;
  262. word-break: break-all;
  263. overflow: hidden;
  264. text-overflow: -o-ellipsis-lastline;
  265. overflow: hidden;
  266. text-overflow: ellipsis;
  267. display: -webkit-box;
  268. -webkit-line-clamp: 2;
  269. line-clamp: 2;
  270. -webkit-box-orient: vertical;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. }
  277. }
  278. }