【前端】智能库房综合管理系统前端项目
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.

559 lines
10 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  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. ::v-deep td.el-table__cell .row-state{
  158. display: block;
  159. height: 26px;
  160. line-height: 24px;
  161. padding: 0 14px;
  162. margin: 0 6px;
  163. border-width: 1px;
  164. border-style: solid;
  165. border-radius: 26px;
  166. }
  167. .row-packing{
  168. color: $arcPurple;
  169. border-color: $arcPurple;
  170. &.state-active{
  171. color: #fff;
  172. background-color: $arcPurple;
  173. }
  174. }
  175. .row-warehousing{
  176. color: $arcYellow;
  177. border-color: $arcYellow;
  178. &.state-active{
  179. color: #fff;
  180. background-color: $arcYellow;
  181. }
  182. }
  183. .row-lending{
  184. color: $arcRed;
  185. border-color: $arcRed;
  186. &.state-active{
  187. color: #fff;
  188. background-color: $arcRed;
  189. }
  190. }
  191. .row-binding{
  192. color: $arcGreen;
  193. border-color: $arcGreen;
  194. &.state-active{
  195. color: #fff;
  196. background-color: $arcGreen;
  197. }
  198. }
  199. ::v-deep .is-scrolling-left,
  200. ::v-deep .is-scrolling-middle,
  201. ::v-deep .is-scrolling-right{
  202. max-height: calc(100vh - 434px) !important;
  203. }
  204. }
  205. ::v-deep .archives-table.el-table .el-table__fixed-right{
  206. background-color: #031435 !important;
  207. box-shadow: -5px 5px 10px 1px rgba(15,164,222,0.16);
  208. }
  209. // archives - tab
  210. .archives-tab{
  211. position: relative;
  212. display: flex;
  213. flex-direction: row;
  214. padding: 0 35px;
  215. font-size: 16px;
  216. border-bottom: 1px solid #339CFF;
  217. z-index: 1001;
  218. li{
  219. padding: 22px 14px 14px 14px;
  220. color: #339CFF;
  221. cursor: pointer;
  222. &.active{
  223. position: relative;
  224. color: #fff;
  225. &::after{
  226. content: "";
  227. position: absolute;
  228. left: 0;
  229. bottom: -1px;
  230. width: 100%;
  231. height: 3px;
  232. border-radius: 3px;
  233. background-color: #fff;
  234. }
  235. }
  236. }
  237. }
  238. // 上传附件
  239. .upload-dialog{
  240. ::v-deep.el-dialog{
  241. width: 940px;
  242. .el-dialog__body{
  243. padding: 20px 0 30px 0;
  244. }
  245. }
  246. }
  247. .upload-file{
  248. position: relative;
  249. z-index: 1001;
  250. .upload-curd{
  251. display: flex;
  252. flex-direction: row;
  253. margin: 0 32px 20px 32px;
  254. }
  255. .upload-demo{
  256. position: relative;
  257. margin-right: 10px;
  258. ::v-deep .el-upload-list{
  259. display: none;
  260. position: absolute;
  261. left: 0;
  262. bottom: 0;
  263. }
  264. }
  265. }
  266. .screenshot{
  267. display: block;
  268. margin: 0 auto;
  269. object-fit: cover;
  270. }
  271. .file-down,
  272. .packing-handle-btn,
  273. .packing-recall-btn{
  274. display: block;
  275. width: 66px;
  276. height: 28px;
  277. line-height: 28px;
  278. padding: 0;
  279. color: #fff;
  280. border-radius: 2px;
  281. margin: 0 auto;
  282. &::before{
  283. margin-right: 5px;
  284. }
  285. }
  286. .file-down{
  287. background-color: #339CFF;
  288. border-color: #339CFF;
  289. }
  290. .packing-handle-btn{
  291. background-color: $arcPurple;
  292. border-color: $arcPurple;
  293. }
  294. .packing-recall-btn{
  295. background-color: $arcRed;
  296. border-color: $arcRed;
  297. }
  298. .drag-tip {
  299. display: block;
  300. padding-left: 20px;
  301. padding-bottom: 10px;
  302. font-style: normal;
  303. font-weight: bold;
  304. color: #fff;
  305. }
  306. // 档案详情
  307. .base-info{
  308. padding: 20px 20px 0 60px;
  309. color: #fff;
  310. .base-info-item{
  311. display: flex;
  312. flex-direction: row;
  313. margin-bottom: 20px;
  314. span{
  315. display: block;
  316. width: 160px;
  317. margin-right: 5px;
  318. text-align: right;
  319. color: #3A99FD;
  320. }
  321. }
  322. }
  323. ::v-deep.hljs{
  324. padding: 0 30px;
  325. color: #fff;
  326. background-color: transparent;
  327. }
  328. .selct-data-head{
  329. color: #fff;
  330. line-height: 30px;
  331. }
  332. // 绑定标签
  333. .bindingDialog{
  334. ::v-deep.el-dialog{
  335. width: 720px;
  336. }
  337. ::v-deep.el-dialog__body{
  338. padding: 35px 35px 58px 35px;
  339. }
  340. }
  341. .rebinding {
  342. display: flex;
  343. justify-content: space-between;
  344. padding: 50px 65px 35px 65px;
  345. span{
  346. display: block;
  347. width: 60px;
  348. line-height: 36px;
  349. color: #3A99FD;
  350. }
  351. ::v-deep.el-input {
  352. .el-input__inner{
  353. font-size: 14px;
  354. height: 36px;
  355. line-height: 36px;
  356. color: #fff;
  357. border: 1px solid #3A99FD;
  358. background-color: transparent;
  359. }
  360. }
  361. }
  362. .binding-flow{
  363. .step-item{
  364. position: relative;
  365. display: flex;
  366. justify-content: space-between;
  367. margin-bottom: 10px;
  368. z-index: 1;
  369. &::before{
  370. content: "";
  371. position: absolute;
  372. left: 15px;
  373. top: 10px;
  374. width: 1px;
  375. height: 100%;
  376. background-color: #3A99FD;
  377. z-index: 1;
  378. }
  379. &:last-child::before{
  380. display: none;
  381. }
  382. }
  383. .step-left-num{
  384. position: relative;
  385. display: block;
  386. width: 30px;
  387. height: 30px;
  388. line-height: 30px;
  389. border-radius: 50%;
  390. font-size: 16px;
  391. text-align: center;
  392. color: #fff;
  393. border: 1px solid #339CFF;
  394. background-color:#031435;
  395. z-index: 4;
  396. &.step-active{
  397. background-color: #339CFF;
  398. }
  399. &.step-loading{
  400. &::before,
  401. &::after{
  402. content: "";
  403. position: absolute;
  404. left: 50%;
  405. top: 50%;
  406. width: 40px;
  407. height: 40px;
  408. border-radius: 50%;
  409. border: 1px solid #13439E;
  410. box-shadow: inset 0px 0px 8px 1px #13439E;
  411. margin: -20px 0 0 -20px;
  412. z-index: 1;
  413. }
  414. &::before{
  415. animation: halo 2s linear 0.5s infinite;
  416. }
  417. &::after{
  418. animation: halo 2s linear 1.5s infinite;
  419. }
  420. }
  421. }
  422. // 晕开效果
  423. @keyframes halo {
  424. 0% {
  425. transform: scale(1);
  426. -webkit-transform: scale(1);
  427. opacity: 0.0;
  428. }
  429. 25% {
  430. transform: scale(1);
  431. -webkit-transform: scale(1);
  432. opacity: 0.1;
  433. }
  434. 50% {
  435. transform: scale(1);
  436. -webkit-transform: scale(1);
  437. opacity: 0.3;
  438. }
  439. 75% {
  440. transform: scale(1.2);
  441. -webkit-transform: scale(1.2);
  442. opacity: 0.5;
  443. }
  444. 100% {
  445. transform: scale(1.5);
  446. -webkit-transform: scale(1.5);
  447. opacity: 0.0;
  448. }
  449. }
  450. .step-right-cont{
  451. flex: 1;
  452. margin-left: 12px;
  453. .step-title{
  454. line-height: 30px;
  455. color: #339CFF;
  456. span{
  457. padding-left: 10px;
  458. font-weight: bold;
  459. color: #fff;
  460. }
  461. }
  462. .step-tip{
  463. padding: 0 10px;
  464. height: 40px;
  465. line-height: 40px;
  466. color: #13439E;
  467. background-color: #02255F;
  468. border-radius: 4px;
  469. &.tip-active{
  470. color: #339CFF;
  471. }
  472. &.tip-error{
  473. color: #EF3147;
  474. }
  475. }
  476. }
  477. }
  478. // 分卷装盒
  479. .partPackingDialog{
  480. ::v-deep .el-dialog{
  481. width: 950px !important;
  482. position: absolute;
  483. left: 50%;
  484. top: 50%;
  485. transform: translate(-50%, -50%);
  486. margin-top: 2vh !important;
  487. }
  488. ::v-deep .el-dialog__body{
  489. padding: 0;
  490. }
  491. ::v-deep .dialog-footer{
  492. margin: 20px auto 0 auto;
  493. padding-bottom: 20px;
  494. }
  495. .packing-head{
  496. border-bottom: 1px solid #339CFF;
  497. .head-search{
  498. margin-bottom: 0;
  499. }
  500. }
  501. }
  502. .part-packing-cont{
  503. display: flex;
  504. flex-direction: row;
  505. flex-wrap: wrap;
  506. justify-content: space-between;
  507. }
  508. .part-packing-item{
  509. width: calc(100vh/2);
  510. .part-packing-title{
  511. padding: 0 30px;
  512. height: 40px;
  513. line-height: 40px;
  514. font-size: 16px;
  515. font-weight: normal;
  516. color: #fff;
  517. }
  518. ::v-deep.el-table{
  519. overflow-x: hidden;
  520. overflow-y: auto;
  521. // background: #02255F;
  522. border: 2px solid #02255f;
  523. border-top: none;
  524. // border-right: none;
  525. .el-table__body-wrapper{
  526. background-color: #031435;
  527. }
  528. }
  529. }
  530. .item-content{
  531. max-height: calc(100vh - 410px);
  532. overflow: hidden;
  533. overflow-y: scroll;
  534. }
  535. .upload-btn{
  536. position: relative;
  537. margin-right: 10px;
  538. overflow: hidden;
  539. #upFile{
  540. position: absolute;
  541. left: 0;
  542. top: 0;
  543. opacity: 0;
  544. height: 34px;
  545. }
  546. }