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

728 lines
15 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
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. .head-container {
  2. padding: 20px;
  3. .filter-item {
  4. display: inline-block;
  5. vertical-align: middle;
  6. margin-right: 20px;
  7. input {
  8. border: 1px solid $inputBorder;
  9. background-color: $mainContainerBg;
  10. height: 32px;
  11. line-height: 32px;
  12. color: #fff;
  13. }
  14. }
  15. .el-form-item-label {
  16. margin: 0 3px 9px 0;
  17. display: inline-block;
  18. text-align: right;
  19. vertical-align: middle;
  20. font-size: 14px;
  21. color: #606266;
  22. line-height: 32px;
  23. padding: 0 7px;
  24. }
  25. .el-select__caret.el-input__icon.el-icon-arrow-up{
  26. line-height: 32px;
  27. }
  28. .date-item {
  29. display: inline-block;
  30. vertical-align: middle;
  31. border: 1px solid $inputBorder;
  32. background-color: $mainContainerBg;
  33. margin-right: 20px;
  34. height: 32px !important;
  35. width: 230px !important;
  36. }
  37. }
  38. .el-avatar {
  39. display: inline-block;
  40. text-align: center;
  41. background: #ccc;
  42. color: #fff;
  43. white-space: nowrap;
  44. position: relative;
  45. overflow: hidden;
  46. vertical-align: middle;
  47. width: 32px;
  48. height: 32px;
  49. line-height: 32px;
  50. border-radius: 16px;
  51. }
  52. .logo-con{
  53. height: 60px;
  54. padding: 13px 0 0;
  55. img{
  56. height: 32px;
  57. width: 135px;
  58. display: block;
  59. //margin: 0 auto;
  60. }
  61. }
  62. #el-login-footer {
  63. height: 40px;
  64. line-height: 40px;
  65. position: fixed;
  66. bottom: 0;
  67. width: 100%;
  68. text-align: center;
  69. color: #fff;
  70. font-family: Arial, serif;
  71. font-size: 12px;
  72. letter-spacing: 1px;
  73. }
  74. #el-main-footer {
  75. background: none repeat scroll 0 0 white;
  76. border-top: 1px solid #e7eaec;
  77. overflow: hidden;
  78. padding: 10px 6px 0 6px;
  79. height: 33px;
  80. font-size: 0.7rem !important;
  81. color: #7a8b9a;
  82. letter-spacing: 0.8px;
  83. font-family: Arial, sans-serif !important;
  84. position: fixed;
  85. bottom: 0;
  86. z-index: 99;
  87. width: 100%;
  88. }
  89. .yxk-upload {
  90. border: 1px dashed #c0ccda;
  91. border-radius: 5px;
  92. height: 45px;
  93. line-height: 45px;
  94. width: 368px;
  95. }
  96. .my-blockquote{
  97. margin: 0 0 10px;
  98. padding: 15px;
  99. line-height: 22px;
  100. border-left: 5px solid #00437B;
  101. border-radius: 0 2px 2px 0;
  102. background-color: #f2f2f2;
  103. }
  104. .my-code{
  105. position: relative;
  106. padding: 15px;
  107. line-height: 20px;
  108. border-left: 5px solid #ddd;
  109. color: #333;
  110. font-family: Courier New, serif;
  111. font-size: 12px
  112. }
  113. .el-tabs{
  114. margin-bottom: 25px;
  115. }
  116. // xu
  117. // 四角边线
  118. // 有左右分区时
  119. .container-main{
  120. display: flex;
  121. justify-content: space-between;
  122. margin-left: 0 !important;
  123. margin-right: 0 !important;
  124. }
  125. .container-left{
  126. margin-right: 20px;
  127. }
  128. .container-left,
  129. .container-right,
  130. .container-wrap,
  131. .el-card,
  132. .header-container-wrap{
  133. position: relative;
  134. min-height: 100%;
  135. padding: 0 !important;
  136. background-color: $mainContainerBg;
  137. border: $mainContainerBorder;
  138. min-height: calc(100vh - 190px);
  139. &::before,
  140. &::after{
  141. content: "";
  142. position: absolute;
  143. width: 17px;
  144. height: 17px;
  145. z-index: 99;
  146. }
  147. &::before{
  148. top: -1px;
  149. left: -1px;
  150. border-top: 1px solid #339CFF;
  151. border-left: 1px solid #339CFF;
  152. }
  153. &::after{
  154. right: -1px;
  155. bottom: -1px;
  156. border-right: 1px solid #339CFF;
  157. border-bottom: 1px solid #339CFF;
  158. }
  159. }
  160. .el-card,
  161. .container-left{
  162. background-color: transparent;
  163. min-height: auto;
  164. border-radius: 0;
  165. overflow: visible;
  166. .el-card__header{
  167. background-color: #02255F;
  168. border-bottom: none;
  169. .role-span{
  170. color: #fff;
  171. }
  172. }
  173. .el-card__body{
  174. padding: 0;
  175. .head-container{
  176. padding: 0;
  177. }
  178. }
  179. .crud-opts{
  180. justify-content: center;
  181. padding: 20px 0 !important;
  182. border-bottom: 1px solid #113D72;
  183. }
  184. .el-tree{
  185. margin: 20px 0;
  186. }
  187. }
  188. // xu el-button
  189. .head-search{
  190. margin-bottom: 20px;
  191. .el-button{
  192. margin-left: 0;
  193. background-color: #3A99FD;
  194. }
  195. }
  196. .el-button,
  197. .el-button--info.is-plain{
  198. font-size: 14px;
  199. color: #fff;
  200. border-color: #339CFF;
  201. background-color: transparent;
  202. }
  203. .el-button.is-disabled,
  204. .el-button.is-disabled:hover,
  205. .el-button.is-disabled:focus{
  206. color: #13439E;
  207. background-color: transparent;
  208. border-color: #13439E;
  209. }
  210. .el-button:hover,
  211. .el-button:focus,
  212. .el-button--info.is-plain:hover,
  213. .el-button--info.is-plain:focus{
  214. color: #fff;
  215. background-color: #02255F;
  216. border-color: #339CFF;
  217. }
  218. .el-button--mini{
  219. padding: 7px 10px;
  220. }
  221. .crud-opts-right{
  222. .el-button{
  223. padding: 7px 15px;
  224. }
  225. }
  226. .el-message-box{
  227. .el-button{
  228. border-color: #dcdfe6;
  229. color: #606266;
  230. }
  231. .el-button:focus,
  232. .el-button:hover {
  233. color: #1890ff;
  234. border-color: #badeff;
  235. background-color: #e8f4ff;
  236. }
  237. .el-button--primary,
  238. .el-button--primary:focus,
  239. .el-button--primary:hover {
  240. background: #46a6ff;
  241. border-color: #46a6ff;
  242. color: #fff;
  243. }
  244. }
  245. .header-container-wrap{
  246. min-height: auto;
  247. }
  248. .right-top-line,
  249. .left-bottom-line{
  250. display: block;
  251. position: absolute;
  252. width: 17px;
  253. height: 17px;
  254. z-index: 99;
  255. }
  256. .left-bottom-line{
  257. bottom: -1px;
  258. left: -1px;
  259. border-bottom: 1px solid #339CFF;
  260. border-left: 1px solid #339CFF;
  261. }
  262. .right-top-line{
  263. right: -1px;
  264. top: -1px;
  265. border-right: 1px solid #339CFF;
  266. border-top: 1px solid #339CFF;
  267. }
  268. .el-tree{
  269. background: transparent !important;
  270. .el-tree-node:focus>.el-tree-node__content {
  271. background-color: transparent !important;
  272. }
  273. .is-current>.el-tree-node__content {
  274. background-image: $subMenuActiveBg !important;
  275. color: #fff;
  276. }
  277. .el-tree-node__content{
  278. padding: 0 30px !important;
  279. height: 40px;
  280. color: $subMenuActiveText;
  281. background-color: transparent;
  282. .el-tree-node__label{
  283. font-size: 16px;
  284. font-weight: 600;
  285. }
  286. &:hover{
  287. background-color: transparent !important;
  288. background-image: $subMenuActiveBg;
  289. }
  290. }
  291. .el-tree-node__expand-icon{
  292. font-size: 16px;
  293. color: $subMenuActiveText;
  294. }
  295. .el-tree-node__children{
  296. padding: 0 18px;
  297. .el-tree-node__content{
  298. height: 30px;
  299. }
  300. .el-tree-node__label{
  301. font-size: 14px;
  302. font-weight: normal;
  303. }
  304. }
  305. }
  306. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  307. background-color: transparent;
  308. background-image: $subMenuActiveBg;
  309. }
  310. .el-date-editor .el-range-input{
  311. background: transparent;
  312. color: #fff;
  313. }
  314. // table
  315. .el-table{
  316. background: transparent;
  317. tr{
  318. background: transparent;
  319. .el-table__cell{
  320. height: 60px;
  321. background-color: transparent;
  322. }
  323. }
  324. .el-table__header-wrapper,
  325. .el-table__header{
  326. th.el-table__cell{
  327. background-color: #02255F;
  328. border-top: 1px solid #113D72;
  329. border-bottom: none;
  330. &>.cell{
  331. font-size: 16px;
  332. color: #339CFF;
  333. }
  334. }
  335. }
  336. .el-table__body-wrapper,
  337. .el-table__fixed-right{
  338. td.el-table__cell{
  339. color: #339CFF;
  340. font-size: 14px;
  341. border-bottom: 1px dashed #113D72;
  342. }
  343. }
  344. &::before,
  345. .el-table--group::after,
  346. .el-table--border::after,
  347. .el-table__fixed::before,
  348. .el-table__fixed-right::before{
  349. background-color: transparent;
  350. }
  351. .el-checkbox__input.is-checked .el-checkbox__inner,
  352. .el-checkbox__input.is-disabled .el-checkbox__inner{
  353. border-color: #339CFF;
  354. background: transparent;
  355. &::after{
  356. border-color: #339CFF;
  357. }
  358. }
  359. .el-table__body tr.hover-row > td,
  360. .el-table__body tr.hover-row.current-row > td,
  361. .el-table__body tr.hover-row.el-table__row--striped > td,
  362. .el-table__body tr.hover-row.el-table__row--striped.current-row > td {
  363. color: #fff;
  364. background-color: #13439E;
  365. .el-checkbox__input.is-checked .el-checkbox__inner{
  366. background: #fff;
  367. border-color: #fff;
  368. }
  369. }
  370. .el-button{
  371. padding: 7px 15px;
  372. }
  373. .el-button--primary {
  374. background-color: #1890ff;
  375. border-color: #1890ff;
  376. }
  377. .el-button--danger {
  378. background-color: #ff4949;
  379. border-color: #ff4949;
  380. }
  381. .el-button.is-disabled,
  382. .el-button.is-disabled:hover,
  383. .el-button.is-disabled:focus{
  384. color: #fff;
  385. background-color: #ffa4a4;
  386. border-color: #ffa4a4;
  387. }
  388. }
  389. .el-table__body tr.el-table__row:hover>td.el-table__cell,
  390. .el-table__body tr.el-table__row:focus>td.el-table__cell,
  391. .el-table__body tr.current-row:hover>td.el-table__cell,
  392. .el-table__body tr.current-row:focus>td.el-table__cell{
  393. color: #fff;
  394. background-color: #13439E;
  395. .el-checkbox__input.is-checked .el-checkbox__inner{
  396. background: #fff;
  397. border-color: #fff;
  398. }
  399. }
  400. .el-table__body tr.current-row>td.el-table__cell{
  401. background-color: transparent;
  402. }
  403. .el-checkbox__inner{
  404. background: transparent;
  405. border-color: #339CFF;
  406. }
  407. .el-icon-arrow-right:before{
  408. color: #fff;
  409. }
  410. // 分页
  411. .el-pagination{
  412. padding: 2px 10px;
  413. margin: 10px 0 !important;
  414. .el-pagination__total{
  415. color: #fff;
  416. }
  417. button{
  418. background-color: transparent;
  419. &:disabled{
  420. background-color: transparent;
  421. }
  422. }
  423. .el-pager li.active{
  424. color: #fff;
  425. background-color: transparent;
  426. }
  427. .el-select .el-input .el-input__inner{
  428. background-color: transparent;
  429. color: #fff;
  430. }
  431. .btn-prev,
  432. .btn-next{
  433. background-color: transparent;
  434. }
  435. }
  436. // 弹框
  437. .el-dialog{
  438. position: relative;
  439. width: 620px;
  440. padding: 2px;
  441. background: linear-gradient(135deg, transparent 10px, #339CFF 0) top left,
  442. linear-gradient(-135deg, transparent 10px, #339CFF 0) top right,
  443. linear-gradient(-45deg, transparent 10px, #339CFF 0) bottom right,
  444. linear-gradient(45deg, transparent 10px, #339CFF 0) bottom left;
  445. background-size: 50% 50%;
  446. background-repeat: no-repeat;
  447. &::before,
  448. &::after,
  449. .dialog-right-top,
  450. .dialog-left-bottom{
  451. position: absolute;
  452. content: "";
  453. width: 134px;
  454. height: 63px;
  455. z-index: 99;
  456. }
  457. &::before{
  458. left: -6px;
  459. top: -6px;
  460. background: url(~@/assets/images/dialog_left_top.png) no-repeat;
  461. background-size: contain;
  462. }
  463. &::after{
  464. right: -18px;
  465. bottom: -7px;
  466. background: url(~@/assets/images/dialog_right_bottom.png) no-repeat;
  467. background-size: contain;
  468. }
  469. .dialog-right-top{
  470. right: -23px;
  471. top: -6px;
  472. background: url(~@/assets/images/dialog_right_top.png) no-repeat;
  473. background-size: contain;
  474. }
  475. .dialog-left-bottom{
  476. left: -6px;
  477. bottom: -7px;
  478. background: url(~@/assets/images/dialog_left_bottom.png) no-repeat;
  479. background-size: contain;
  480. }
  481. .el-dialog__header{
  482. position: absolute;
  483. top: -40px;
  484. left: 50%;
  485. width: 360px;
  486. padding: 0;
  487. transform: translateX(-50%);
  488. &::before{
  489. position: absolute;
  490. left: -23px;
  491. top: 0;
  492. content: "";
  493. width: 23px;
  494. height: 42px;
  495. background: url(~@/assets/images/dialog_left.png) no-repeat;
  496. background-size: cover;
  497. }
  498. &::after{
  499. position: absolute;
  500. right: -23px;
  501. top: 0;
  502. content: "";
  503. width: 23px;
  504. height: 42px;
  505. background: url(~@/assets/images/dialog_right.png) no-repeat;
  506. background-size: cover;
  507. }
  508. .el-dialog__title{
  509. display: block;
  510. font-size: 18px;
  511. font-weight: bold;
  512. line-height: 38px;
  513. color: #fff;
  514. text-align: center;
  515. background-color: #031435;
  516. border-top: 2px solid #339CFF;
  517. border-bottom: 2px solid #339CFF;
  518. }
  519. .el-dialog__headerbtn{
  520. top: 4px;
  521. right: -160px;
  522. }
  523. .el-dialog__close{
  524. font-family: "iconfont" !important;
  525. font-style: normal;
  526. -webkit-font-smoothing: antialiased;
  527. -moz-osx-font-smoothing: grayscale;
  528. font-size: 24px;
  529. color: #339CFF;
  530. &::before{
  531. content: "\e60c";
  532. }
  533. }
  534. }
  535. .el-dialog__body{
  536. width: 100%;
  537. background-color: #031435;
  538. // border: 2px solid #339CFF;
  539. // min-height: 400px;
  540. // background: linear-gradient(135deg, transparent 12px, #031435 0) top left,
  541. // linear-gradient(-135deg, transparent 12px, #031435 0) top right,
  542. // linear-gradient(-45deg, transparent 12px, #031435 0) bottom right,
  543. // linear-gradient(45deg, transparent 12px, #031435 0) bottom left;
  544. // background-size: 50% 50%;
  545. // background-repeat: no-repeat;
  546. // box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
  547. }
  548. .el-form{
  549. .el-form-item__label{
  550. line-height: 36px;
  551. color: $subMenuActiveText;
  552. }
  553. .el-input__inner{
  554. height: 36px;
  555. line-height: 36px;
  556. color: #fff;
  557. border: 1px solid $subMenuActiveText;
  558. background-color: transparent !important;
  559. }
  560. .vue-treeselect__control,
  561. .vue-treeselect__placeholder,
  562. .vue-treeselect__single-value{
  563. height: 36px;
  564. line-height: 36px;
  565. color: #fff;
  566. }
  567. .vue-treeselect__control{
  568. border: 1px solid $subMenuActiveText;
  569. background-color: transparent;
  570. }
  571. .el-radio{
  572. color: #fff;
  573. }
  574. .el-textarea__inner{
  575. color: #fff;
  576. border: 1px solid $subMenuActiveText;
  577. background-color: transparent;
  578. }
  579. .el-input-number.is-controls-right[class*=small] [class*=increase],
  580. .el-input-number.is-controls-right[class*=small] [class*=decrease]{
  581. background-color: transparent;
  582. }
  583. .el-input-number__decrease,
  584. .el-input-number__increase{
  585. border-left-color: $subMenuActiveText;
  586. &>i{
  587. color: #fff;
  588. }
  589. }
  590. .el-input-number__increase{
  591. border-bottom-color: $subMenuActiveText;
  592. }
  593. .el-select .el-input .el-select__caret{
  594. color: #fff;
  595. }
  596. }
  597. .dialog-footer{
  598. margin: 30px auto 0 auto;
  599. text-align: center;
  600. .el-button{
  601. font-size: 16px;
  602. padding: 8px 28px;
  603. }
  604. .el-button--primary{
  605. background-color: #3A99FD;
  606. }
  607. }
  608. }
  609. // el-tree 最终节点不显示箭头
  610. .is-leaf::before {
  611. color: transparent;
  612. }
  613. .el-input__prefix{
  614. left: 8px;
  615. }
  616. // tab样式布局
  617. .tab-content{
  618. margin-top: 40px;
  619. border-top: none;
  620. &::before{
  621. display: none;
  622. }
  623. .tab-nav{
  624. display: flex;
  625. justify-content: flex-start;
  626. height: 41px;
  627. line-height: 41px;
  628. margin: -41px 0 30px -1px;
  629. font-size: 16px;
  630. font-weight: bold;
  631. color: #359AFC;
  632. border-bottom: 1px solid #113D72;
  633. li{
  634. position: relative;
  635. padding: 0 24px;
  636. margin: -1px 30px 0 0;
  637. letter-spacing: 2px;
  638. border-top: 1px solid #113D72;
  639. cursor: pointer;
  640. &::before,
  641. &::after{
  642. content: "";
  643. position: absolute;
  644. top: 0;
  645. width: 33px;
  646. height: 41px;
  647. }
  648. &::before{
  649. left: -15px;
  650. background: url(~@/assets/images/tab_left.png) no-repeat;
  651. background-size: contain;
  652. }
  653. &::after{
  654. right: -32px;
  655. background: url(~@/assets/images/tab_right.png) no-repeat;
  656. background-size: contain;
  657. }
  658. &:first-child{
  659. border-left: 1px solid #113d72;;
  660. &::before{
  661. width: 17px;
  662. height: 17px;
  663. left: -1px;
  664. top: -1px;
  665. border-left: 1px solid #339cff;
  666. border-top: 1px solid #339cff;
  667. }
  668. }
  669. &.active-tab-nav{
  670. color: #fff;
  671. &::before{
  672. background: url(~@/assets/images/tab_left_active.png) no-repeat;
  673. background-size: contain;
  674. }
  675. &::after{
  676. background: url(~@/assets/images/tab_right_active.png) no-repeat;
  677. background-size: contain;
  678. }
  679. i{
  680. display: block;
  681. position: absolute;
  682. bottom: -1px;
  683. left: 0;
  684. width: 100%;
  685. height: 1px;
  686. border-bottom: 1px solid #021941;
  687. }
  688. }
  689. }
  690. .tab-right-img{
  691. display: block;
  692. width: 93px;
  693. margin: 4px 0 0 -14px;
  694. background: url(~@/assets/images/tab_img.png) no-repeat;
  695. background-size: contain;
  696. }
  697. }
  698. }