cncTestLists.scss 7.0 KB

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