【前端】智能库房综合管理系统前端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

580 lines
11 KiB

  1. @import "~@/assets/styles/variables.scss";
  2. // archives color
  3. $arcPurple:#563BE1;
  4. $arcYellow:#FD8042;
  5. $arcRed:#F65163;
  6. $arcGreen: #1AAE93;
  7. $arcCyan: #0FBED9;
  8. .head-archives{
  9. padding: 0 0 20px 0;
  10. .archives-crud{
  11. float: left;
  12. }
  13. .archives-recycle{
  14. float: left;
  15. }
  16. .head-search{
  17. float: left;
  18. margin-left: 10px;
  19. margin-bottom: 0 !important;
  20. .filter-item{
  21. margin-right: 5px !important;
  22. }
  23. }
  24. .archives-handler-btn{
  25. float: right;
  26. }
  27. }
  28. ::v-deep .input-prepend{
  29. position: relative;
  30. z-index: 99;
  31. .el-input__inner {
  32. padding-left: 80px;
  33. }
  34. .el-input-group__prepend {
  35. position: absolute;
  36. left: 0;
  37. top: 0;
  38. color: #fff;
  39. background-color: transparent;
  40. border: none;
  41. height: 30px;
  42. line-height: 30px;
  43. .el-input__inner {
  44. padding-left: 15px;
  45. color: #339CFF;
  46. }
  47. .el-input__inner:hover,
  48. .el-input__inner:focus{
  49. color: #339CFF;
  50. }
  51. .el-select__caret{
  52. color: #339CFF;
  53. }
  54. }
  55. }
  56. .packing-head{
  57. display: flex;
  58. justify-content: space-between;
  59. ::v-deep .el-input__inner {
  60. padding-left: 90px;
  61. }
  62. }
  63. .container-main{
  64. .left-tree-item{
  65. margin-bottom: 20px;
  66. min-height: calc(100vh/2 - 105px);
  67. &:last-child{
  68. margin-bottom: 0;
  69. }
  70. }
  71. .tree-title{
  72. height: 40px;
  73. line-height: 40px;
  74. text-align: center;
  75. color: $subMenuActiveText;
  76. background-color: #02255F;
  77. }
  78. }
  79. .archives-warp{
  80. margin-bottom: 20px;
  81. }
  82. .archives-top{
  83. display: flex;
  84. justify-content: right;
  85. margin-bottom: 10px;
  86. ::v-deep .el-checkbox .el-checkbox__label{
  87. color: #fff;
  88. }
  89. }
  90. .archives-right-list{
  91. position: relative;
  92. }
  93. .archives-fixed-top{
  94. position: absolute;
  95. right: 0;
  96. top: 6px;
  97. margin-bottom: 0;
  98. }
  99. .crud-opts{
  100. justify-content: space-between;
  101. }
  102. .archives-handler-btn{
  103. .el-button{
  104. padding: 0 13px 0 3px;
  105. ::v-deep span{
  106. margin-left: 5px;
  107. }
  108. &.packing-btn{
  109. border-color: $arcPurple;
  110. background-color: $arcPurple;
  111. &.is-disabled{
  112. border-color:#2B1D70;
  113. background-color: #2B1D70;
  114. }
  115. }
  116. &.part-btn{
  117. border-color: $arcCyan;
  118. background-color: $arcCyan;
  119. &.is-disabled{
  120. border-color:#075E6C;
  121. background-color: #075E6C;
  122. }
  123. }
  124. &.warehousing-btn{
  125. border-color: $arcYellow;
  126. background-color: $arcYellow;
  127. &.is-disabled{
  128. border-color:#7E4021;
  129. background-color: #7E4021;
  130. }
  131. }
  132. &.lending-btn{
  133. border-color: $arcRed;
  134. background-color: $arcRed;
  135. &.is-disabled{
  136. border-color:#7A2831;
  137. background-color: #7A2831;
  138. }
  139. }
  140. &.binding-btn{
  141. border-color: $arcGreen;
  142. background-color: $arcGreen;
  143. &.is-disabled{
  144. border-color:#0D5649;
  145. background-color: #0D5649;
  146. }
  147. }
  148. &.is-disabled{
  149. color: #666;
  150. }
  151. }
  152. .iconfont{
  153. line-height: 30px;
  154. }
  155. }
  156. .archives-table,
  157. .base-info{
  158. ::v-deep td.el-table__cell .row-state{
  159. display: block;
  160. height: 26px;
  161. line-height: 24px;
  162. padding: 0 14px;
  163. margin: 0 6px;
  164. border-width: 1px;
  165. border-style: solid;
  166. border-radius: 26px;
  167. }
  168. .row-packing{
  169. color: $arcPurple;
  170. border-color: $arcPurple;
  171. &.state-active{
  172. color: #fff;
  173. background-color: $arcPurple;
  174. }
  175. }
  176. .row-warehousing{
  177. color: $arcYellow;
  178. border-color: $arcYellow;
  179. &.state-active{
  180. color: #fff;
  181. background-color: $arcYellow;
  182. }
  183. }
  184. .row-lending{
  185. color: $arcRed;
  186. border-color: $arcRed;
  187. &.state-active{
  188. color: #fff;
  189. background-color: $arcRed;
  190. }
  191. }
  192. .row-binding{
  193. color: $arcGreen;
  194. border-color: $arcGreen;
  195. &.state-active{
  196. color: #fff;
  197. background-color: $arcGreen;
  198. }
  199. }
  200. ::v-deep .is-scrolling-left,
  201. ::v-deep .is-scrolling-middle,
  202. ::v-deep .is-scrolling-right{
  203. max-height: calc(100vh - 434px) !important;
  204. }
  205. }
  206. .base-info .row-state{
  207. width: 68px;
  208. height: 26px;
  209. line-height: 24px;
  210. text-align: center;
  211. margin-top: -6px;
  212. border-width: 1px;
  213. border-style: solid;
  214. border-radius: 26px;
  215. }
  216. ::v-deep .archives-table.el-table .el-table__fixed-right{
  217. background-color: #031435 !important;
  218. box-shadow: -5px 5px 10px 1px rgba(15,164,222,0.16);
  219. }
  220. // archives - tab
  221. .archives-tab{
  222. position: relative;
  223. display: flex;
  224. flex-direction: row;
  225. padding: 0 35px;
  226. font-size: 16px;
  227. border-bottom: 1px solid #339CFF;
  228. z-index: 1001;
  229. li{
  230. padding: 22px 14px 14px 14px;
  231. color: #339CFF;
  232. cursor: pointer;
  233. &.active{
  234. position: relative;
  235. color: #fff;
  236. &::after{
  237. content: "";
  238. position: absolute;
  239. left: 0;
  240. bottom: -1px;
  241. width: 100%;
  242. height: 3px;
  243. border-radius: 3px;
  244. background-color: #fff;
  245. }
  246. }
  247. }
  248. }
  249. // 上传附件
  250. .upload-dialog{
  251. ::v-deep .el-dialog{
  252. width: 940px;
  253. .el-dialog__body{
  254. padding: 20px 0 30px 0;
  255. }
  256. }
  257. }
  258. .upload-file{
  259. position: relative;
  260. z-index: 1001;
  261. .upload-curd{
  262. display: flex;
  263. flex-direction: row;
  264. margin: 0 32px 20px 32px;
  265. }
  266. .upload-demo{
  267. position: relative;
  268. margin-right: 10px;
  269. ::v-deep .el-upload-list{
  270. display: none;
  271. position: absolute;
  272. left: 0;
  273. bottom: 0;
  274. }
  275. }
  276. }
  277. .screenshot{
  278. display: block;
  279. margin: 0 auto;
  280. object-fit: cover;
  281. }
  282. .file-down,
  283. .packing-handle-btn,
  284. .packing-recall-btn{
  285. display: block;
  286. width: 66px;
  287. height: 28px;
  288. line-height: 28px;
  289. padding: 0;
  290. color: #fff;
  291. border-radius: 2px;
  292. margin: 0 auto;
  293. &::before{
  294. margin-right: 5px;
  295. }
  296. }
  297. .file-down{
  298. background-color: #339CFF;
  299. border-color: #339CFF;
  300. }
  301. .packing-handle-btn{
  302. background-color: $arcPurple;
  303. border-color: $arcPurple;
  304. }
  305. .packing-recall-btn{
  306. background-color: $arcRed;
  307. border-color: $arcRed;
  308. }
  309. .drag-tip {
  310. display: block;
  311. padding-left: 20px;
  312. padding-bottom: 10px;
  313. font-style: normal;
  314. font-weight: bold;
  315. color: #fff;
  316. }
  317. // 档案详情
  318. .base-info{
  319. padding: 20px 20px 0 60px;
  320. color: #fff;
  321. .base-info-item{
  322. display: flex;
  323. flex-direction: row;
  324. margin-bottom: 20px;
  325. span{
  326. display: block;
  327. width: 160px;
  328. margin-right: 5px;
  329. text-align: right;
  330. color: #3A99FD;
  331. }
  332. }
  333. }
  334. ::v-deep .hljs{
  335. padding: 0 30px;
  336. color: #fff;
  337. background-color: transparent;
  338. }
  339. .selct-data-head{
  340. color: #fff;
  341. line-height: 30px;
  342. }
  343. // 绑定标签
  344. .bindingDialog{
  345. ::v-deep .el-dialog{
  346. width: 720px;
  347. }
  348. ::v-deep .el-dialog__body{
  349. padding: 35px 35px 58px 35px;
  350. }
  351. }
  352. .rebinding {
  353. display: flex;
  354. justify-content: space-between;
  355. padding: 50px 65px 35px 65px;
  356. span{
  357. display: block;
  358. width: 60px;
  359. line-height: 36px;
  360. color: #3A99FD;
  361. }
  362. ::v-deep .el-input {
  363. .el-input__inner{
  364. font-size: 14px;
  365. height: 36px;
  366. line-height: 36px;
  367. color: #fff;
  368. border: 1px solid #3A99FD;
  369. background-color: transparent;
  370. }
  371. }
  372. }
  373. .binding-flow{
  374. .step-item{
  375. position: relative;
  376. display: flex;
  377. justify-content: space-between;
  378. margin-bottom: 10px;
  379. z-index: 1;
  380. &::before{
  381. content: "";
  382. position: absolute;
  383. left: 15px;
  384. top: 10px;
  385. width: 1px;
  386. height: 100%;
  387. background-color: #3A99FD;
  388. z-index: 1;
  389. }
  390. &:last-child::before{
  391. display: none;
  392. }
  393. }
  394. .step-left-num{
  395. position: relative;
  396. display: block;
  397. width: 30px;
  398. height: 30px;
  399. line-height: 30px;
  400. border-radius: 50%;
  401. font-size: 16px;
  402. text-align: center;
  403. color: #fff;
  404. border: 1px solid #339CFF;
  405. background-color:#031435;
  406. z-index: 4;
  407. &.step-active{
  408. background-color: #339CFF;
  409. }
  410. &.step-loading{
  411. &::before,
  412. &::after{
  413. content: "";
  414. position: absolute;
  415. left: 50%;
  416. top: 50%;
  417. width: 40px;
  418. height: 40px;
  419. border-radius: 50%;
  420. border: 1px solid #13439E;
  421. box-shadow: inset 0px 0px 8px 1px #13439E;
  422. margin: -20px 0 0 -20px;
  423. z-index: 1;
  424. }
  425. &::before{
  426. animation: halo 2s linear 0.5s infinite;
  427. }
  428. &::after{
  429. animation: halo 2s linear 1.5s infinite;
  430. }
  431. }
  432. }
  433. // 晕开效果
  434. @keyframes halo {
  435. 0% {
  436. transform: scale(1);
  437. -webkit-transform: scale(1);
  438. opacity: 0.0;
  439. }
  440. 25% {
  441. transform: scale(1);
  442. -webkit-transform: scale(1);
  443. opacity: 0.1;
  444. }
  445. 50% {
  446. transform: scale(1);
  447. -webkit-transform: scale(1);
  448. opacity: 0.3;
  449. }
  450. 75% {
  451. transform: scale(1.2);
  452. -webkit-transform: scale(1.2);
  453. opacity: 0.5;
  454. }
  455. 100% {
  456. transform: scale(1.5);
  457. -webkit-transform: scale(1.5);
  458. opacity: 0.0;
  459. }
  460. }
  461. .step-right-cont{
  462. flex: 1;
  463. margin-left: 12px;
  464. .step-title{
  465. line-height: 30px;
  466. color: #339CFF;
  467. span{
  468. padding-left: 10px;
  469. font-weight: bold;
  470. color: #fff;
  471. }
  472. }
  473. .step-tip{
  474. padding: 0 10px;
  475. height: 40px;
  476. line-height: 40px;
  477. color: #13439E;
  478. background-color: #02255F;
  479. border-radius: 4px;
  480. &.tip-active{
  481. color: #339CFF;
  482. }
  483. &.tip-error{
  484. color: #EF3147;
  485. }
  486. }
  487. }
  488. }
  489. // 分卷装盒
  490. .partPackingDialog{
  491. ::v-deep .el-dialog{
  492. width: 950px !important;
  493. position: absolute;
  494. left: 50%;
  495. top: 50%;
  496. transform: translate(-50%, -50%);
  497. margin-top: 2vh !important;
  498. }
  499. ::v-deep .el-dialog__body{
  500. padding: 0;
  501. }
  502. ::v-deep .dialog-footer{
  503. margin: 20px auto 0 auto;
  504. padding-bottom: 20px;
  505. }
  506. .packing-head{
  507. border-bottom: 1px solid #339CFF;
  508. .head-search{
  509. margin-bottom: 0;
  510. }
  511. }
  512. }
  513. .part-packing-cont{
  514. display: flex;
  515. flex-direction: row;
  516. flex-wrap: wrap;
  517. justify-content: space-between;
  518. }
  519. .part-packing-item{
  520. width: calc(100%/2 - 10px);
  521. .part-packing-title{
  522. padding: 0 30px;
  523. height: 40px;
  524. line-height: 40px;
  525. font-size: 16px;
  526. font-weight: normal;
  527. color: #fff;
  528. }
  529. ::v-deep .el-table{
  530. overflow-x: hidden;
  531. overflow-y: auto;
  532. border: 2px solid #02255f;
  533. border-top: none;
  534. .el-table__body-wrapper{
  535. background-color: #031435;
  536. }
  537. }
  538. }
  539. .item-content{
  540. max-height: calc(100vh - 410px);
  541. overflow: hidden;
  542. overflow-y: scroll;
  543. }
  544. .upload-btn{
  545. position: relative;
  546. margin-right: 10px;
  547. overflow: hidden;
  548. #upFile{
  549. position: absolute;
  550. left: 0;
  551. top: 0;
  552. opacity: 0;
  553. height: 34px;
  554. }
  555. }
  556. // 元数据
  557. ::v-deep .hljs{
  558. font-family: "Sans Mono", "Consolas", "Courier", monospace;
  559. font-size: 12px;
  560. .hljs-attribute{
  561. display: inline-block;
  562. margin: 2px 0 !important;
  563. }
  564. }