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

557 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
  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: 32px;
  42. line-height: 32px;
  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;
  105. ::v-deep span{
  106. margin-left: 10px;
  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. display: block;
  274. width: 66px;
  275. height: 28px;
  276. line-height: 28px;
  277. padding: 0;
  278. color: #fff;
  279. border-radius: 2px;
  280. margin: 0 auto;
  281. &::before{
  282. margin-right: 5px;
  283. }
  284. }
  285. .file-down{
  286. background-color: #339CFF;
  287. border-color: #339CFF;
  288. }
  289. .packing-handle-btn{
  290. background-color: $arcPurple;
  291. border-color: $arcPurple;
  292. }
  293. .drag-tip {
  294. display: block;
  295. padding-left: 20px;
  296. padding-bottom: 10px;
  297. font-style: normal;
  298. font-weight: bold;
  299. color: #fff;
  300. }
  301. // 档案详情
  302. .base-info{
  303. padding: 20px 20px 0 60px;
  304. color: #fff;
  305. .base-info-item{
  306. display: flex;
  307. flex-direction: row;
  308. margin-bottom: 20px;
  309. span{
  310. display: block;
  311. width: 160px;
  312. margin-right: 5px;
  313. text-align: right;
  314. color: #3A99FD;
  315. }
  316. p{
  317. // flex: 1;
  318. }
  319. }
  320. }
  321. ::v-deep.hljs{
  322. padding: 0 30px;
  323. color: #fff;
  324. background-color: transparent;
  325. }
  326. .selct-data-head{
  327. color: #fff;
  328. line-height: 32px;
  329. }
  330. // 绑定标签
  331. .bindingDialog{
  332. ::v-deep.el-dialog{
  333. width: 720px;
  334. }
  335. ::v-deep.el-dialog__body{
  336. padding: 35px 35px 58px 35px;
  337. }
  338. }
  339. .rebinding {
  340. display: flex;
  341. justify-content: space-between;
  342. padding: 50px 65px 35px 65px;
  343. span{
  344. display: block;
  345. width: 60px;
  346. line-height: 36px;
  347. color: #3A99FD;
  348. }
  349. ::v-deep.el-input {
  350. .el-input__inner{
  351. font-size: 14px;
  352. height: 36px;
  353. line-height: 36px;
  354. color: #fff;
  355. border: 1px solid #3A99FD;
  356. background-color: transparent;
  357. }
  358. }
  359. }
  360. .binding-flow{
  361. .step-item{
  362. position: relative;
  363. display: flex;
  364. justify-content: space-between;
  365. margin-bottom: 10px;
  366. z-index: 1;
  367. &::before{
  368. content: "";
  369. position: absolute;
  370. left: 15px;
  371. top: 10px;
  372. width: 1px;
  373. height: 100%;
  374. background-color: #3A99FD;
  375. z-index: 1;
  376. }
  377. &:last-child::before{
  378. display: none;
  379. }
  380. }
  381. .step-left-num{
  382. position: relative;
  383. display: block;
  384. width: 30px;
  385. height: 30px;
  386. line-height: 30px;
  387. border-radius: 50%;
  388. font-size: 16px;
  389. text-align: center;
  390. color: #fff;
  391. border: 1px solid #339CFF;
  392. background-color:#031435;
  393. z-index: 4;
  394. &.step-active{
  395. background-color: #339CFF;
  396. }
  397. &.step-loading{
  398. &::before,
  399. &::after{
  400. content: "";
  401. position: absolute;
  402. left: 50%;
  403. top: 50%;
  404. width: 40px;
  405. height: 40px;
  406. border-radius: 50%;
  407. border: 1px solid #13439E;
  408. box-shadow: inset 0px 0px 8px 1px #13439E;
  409. margin: -20px 0 0 -20px;
  410. z-index: 1;
  411. }
  412. &::before{
  413. animation: halo 2s linear 0.5s infinite;
  414. }
  415. &::after{
  416. animation: halo 2s linear 1.5s infinite;
  417. }
  418. }
  419. }
  420. // 晕开效果
  421. @keyframes halo {
  422. 0% {
  423. transform: scale(1);
  424. -webkit-transform: scale(1);
  425. opacity: 0.0;
  426. }
  427. 25% {
  428. transform: scale(1);
  429. -webkit-transform: scale(1);
  430. opacity: 0.1;
  431. }
  432. 50% {
  433. transform: scale(1);
  434. -webkit-transform: scale(1);
  435. opacity: 0.3;
  436. }
  437. 75% {
  438. transform: scale(1.2);
  439. -webkit-transform: scale(1.2);
  440. opacity: 0.5;
  441. }
  442. 100% {
  443. transform: scale(1.5);
  444. -webkit-transform: scale(1.5);
  445. opacity: 0.0;
  446. }
  447. }
  448. .step-right-cont{
  449. flex: 1;
  450. margin-left: 12px;
  451. .step-title{
  452. line-height: 30px;
  453. color: #339CFF;
  454. span{
  455. padding-left: 10px;
  456. font-weight: bold;
  457. color: #fff;
  458. }
  459. }
  460. .step-tip{
  461. padding: 0 10px;
  462. height: 40px;
  463. line-height: 40px;
  464. color: #13439E;
  465. background-color: #02255F;
  466. border-radius: 4px;
  467. &.tip-active{
  468. color: #339CFF;
  469. }
  470. &.tip-error{
  471. color: #EF3147;
  472. }
  473. }
  474. }
  475. }
  476. // 分卷装盒
  477. .partPackingDialog{
  478. ::v-deep .el-dialog{
  479. width: 950px !important;
  480. position: absolute;
  481. left: 50%;
  482. top: 50%;
  483. transform: translate(-50%, -50%);
  484. margin-top: 2vh !important;
  485. }
  486. ::v-deep .el-dialog__body{
  487. padding: 0;
  488. }
  489. ::v-deep .dialog-footer{
  490. margin: 20px auto 0 auto;
  491. padding-bottom: 20px;
  492. }
  493. .packing-head{
  494. border-bottom: 1px solid #339CFF;
  495. .head-search{
  496. margin-bottom: 0;
  497. }
  498. }
  499. }
  500. .part-packing-cont{
  501. display: flex;
  502. flex-direction: row;
  503. flex-wrap: wrap;
  504. justify-content: space-between;
  505. }
  506. .part-packing-item{
  507. width: calc(100vh/2);
  508. .part-packing-title{
  509. padding: 0 30px;
  510. height: 40px;
  511. line-height: 40px;
  512. font-size: 16px;
  513. font-weight: normal;
  514. color: #fff;
  515. }
  516. ::v-deep.el-table{
  517. overflow-x: hidden;
  518. overflow-y: auto;
  519. // background: #02255F;
  520. border: 2px solid #02255f;
  521. border-top: none;
  522. // border-right: none;
  523. .el-table__body-wrapper{
  524. background-color: #031435;
  525. }
  526. }
  527. }
  528. .item-content{
  529. max-height: calc(100vh - 410px);
  530. overflow: hidden;
  531. overflow-y: scroll;
  532. }
  533. .upload-btn{
  534. position: relative;
  535. margin-right: 10px;
  536. overflow: hidden;
  537. #upFile{
  538. position: absolute;
  539. left: 0;
  540. top: 0;
  541. opacity: 0;
  542. height: 34px;
  543. }
  544. }