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

835 lines
18 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
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: $desPreviewColor;
  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. .el-message-box{
  222. .el-button{
  223. border-color: #dcdfe6;
  224. color: #606266;
  225. }
  226. .el-button:focus,
  227. .el-button:hover {
  228. color: #1890ff;
  229. border-color: #badeff;
  230. background-color: #e8f4ff;
  231. }
  232. .el-button--primary,
  233. .el-button--primary:focus,
  234. .el-button--primary:hover {
  235. background: #46a6ff;
  236. border-color: #46a6ff;
  237. color: #fff;
  238. }
  239. }
  240. .header-container-wrap{
  241. min-height: auto;
  242. }
  243. .right-top-line,
  244. .left-bottom-line{
  245. display: block;
  246. position: absolute;
  247. width: 17px;
  248. height: 17px;
  249. z-index: 99;
  250. }
  251. .left-bottom-line{
  252. bottom: -1px;
  253. left: -1px;
  254. border-bottom: 1px solid #339CFF;
  255. border-left: 1px solid #339CFF;
  256. }
  257. .right-top-line{
  258. right: -1px;
  259. top: -1px;
  260. border-right: 1px solid #339CFF;
  261. border-top: 1px solid #339CFF;
  262. }
  263. .el-tree{
  264. background: transparent !important;
  265. .el-tree-node:focus>.el-tree-node__content {
  266. background-color: transparent !important;
  267. }
  268. .is-current>.el-tree-node__content {
  269. background-image: $subMenuActiveBg !important;
  270. color: #fff;
  271. }
  272. .el-tree-node__content{
  273. padding: 0 30px !important;
  274. height: 40px;
  275. color: $subMenuActiveText;
  276. background-color: transparent;
  277. .el-tree-node__label{
  278. font-size: 16px;
  279. font-weight: 600;
  280. }
  281. &:hover{
  282. background-color: transparent !important;
  283. background-image: $subMenuActiveBg;
  284. }
  285. }
  286. .el-tree-node__expand-icon{
  287. font-size: 16px;
  288. color: $subMenuActiveText;
  289. }
  290. .el-tree-node__children{
  291. padding: 0 18px;
  292. .el-tree-node__content{
  293. height: 30px;
  294. }
  295. .el-tree-node__label{
  296. font-size: 14px;
  297. font-weight: normal;
  298. }
  299. }
  300. }
  301. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  302. background-color: transparent;
  303. background-image: $subMenuActiveBg;
  304. }
  305. .el-date-editor .el-range-input{
  306. background: transparent;
  307. color: #fff;
  308. }
  309. // table
  310. .el-table{
  311. background: transparent;
  312. tr{
  313. background: transparent;
  314. .el-table__cell{
  315. height: 60px;
  316. background-color: transparent;
  317. }
  318. }
  319. .el-table__header-wrapper,
  320. .el-table__header{
  321. th.el-table__cell{
  322. background-color: #02255F;
  323. border-top: 1px solid #113D72;
  324. border-bottom: none;
  325. &>.cell{
  326. font-size: 16px;
  327. color: #339CFF;
  328. }
  329. }
  330. }
  331. .el-table__body-wrapper,
  332. .el-table__fixed-right{
  333. td.el-table__cell{
  334. color: #339CFF;
  335. font-size: 14px;
  336. border-bottom: 1px dashed #113D72;
  337. }
  338. }
  339. &::before,
  340. .el-table--group::after,
  341. .el-table--border::after,
  342. .el-table__fixed::before,
  343. .el-table__fixed-right::before{
  344. background-color: transparent;
  345. }
  346. .el-checkbox__input.is-checked .el-checkbox__inner,
  347. .el-checkbox__input.is-disabled .el-checkbox__inner{
  348. border-color: #339CFF;
  349. background: transparent;
  350. &::after{
  351. border-color: #339CFF;
  352. }
  353. }
  354. .el-table__body tr.hover-row > td,
  355. .el-table__body tr.hover-row.current-row > td,
  356. .el-table__body tr.hover-row.el-table__row--striped > td,
  357. .el-table__body tr.hover-row.el-table__row--striped.current-row > td {
  358. color: #fff;
  359. background-color: #13439E;
  360. .el-checkbox__input.is-checked .el-checkbox__inner{
  361. background: #fff;
  362. border-color: #fff;
  363. }
  364. }
  365. .el-button{
  366. padding: 7px 15px;
  367. }
  368. .el-button--primary {
  369. background-color: #1890ff;
  370. border-color: #1890ff;
  371. }
  372. .el-button--danger {
  373. background-color: #ff4949;
  374. border-color: #ff4949;
  375. }
  376. .el-button.is-disabled,
  377. .el-button.is-disabled:hover,
  378. .el-button.is-disabled:focus{
  379. color: #fff;
  380. background-color: #ffa4a4;
  381. border-color: #ffa4a4;
  382. }
  383. }
  384. .el-table__body tr.el-table__row:hover>td.el-table__cell,
  385. .el-table__body tr.el-table__row:focus>td.el-table__cell,
  386. .el-table__body tr.current-row:hover>td.el-table__cell,
  387. .el-table__body tr.current-row:focus>td.el-table__cell{
  388. color: #fff;
  389. background-color: #13439E;
  390. .el-checkbox__input.is-checked .el-checkbox__inner{
  391. background: #fff;
  392. border-color: #fff;
  393. }
  394. }
  395. .el-table__body tr.current-row>td.el-table__cell{
  396. background-color: transparent;
  397. }
  398. .el-checkbox__inner{
  399. background: transparent;
  400. border-color: #339CFF;
  401. }
  402. .el-icon-arrow-right:before{
  403. color: #fff;
  404. }
  405. // 分页
  406. .el-pagination{
  407. padding: 2px 10px;
  408. margin: 10px 0 !important;
  409. .el-pagination__total{
  410. color: #fff;
  411. }
  412. button{
  413. background-color: transparent;
  414. &:disabled{
  415. background-color: transparent;
  416. }
  417. }
  418. .el-pager li.active{
  419. color: #fff;
  420. background-color: transparent;
  421. }
  422. .el-select .el-input .el-input__inner{
  423. background-color: transparent;
  424. color: #fff;
  425. }
  426. .btn-prev,
  427. .btn-next{
  428. background-color: transparent;
  429. }
  430. }
  431. // 弹框
  432. .el-dialog{
  433. position: relative;
  434. width: 620px;
  435. padding: 2px;
  436. background: linear-gradient(135deg, transparent 10px, #339CFF 0) top left,
  437. linear-gradient(-135deg, transparent 10px, #339CFF 0) top right,
  438. linear-gradient(-45deg, transparent 10px, #339CFF 0) bottom right,
  439. linear-gradient(45deg, transparent 10px, #339CFF 0) bottom left;
  440. background-size: 50% 50%;
  441. background-repeat: no-repeat;
  442. &::before,
  443. &::after,
  444. .dialog-right-top,
  445. .dialog-left-bottom{
  446. position: absolute;
  447. content: "";
  448. width: 134px;
  449. height: 63px;
  450. z-index: 99;
  451. }
  452. &::before{
  453. left: -6px;
  454. top: -6px;
  455. background: url(~@/assets/images/dialog_left_top.png) no-repeat;
  456. background-size: contain;
  457. }
  458. &::after{
  459. right: -18px;
  460. bottom: -7px;
  461. background: url(~@/assets/images/dialog_right_bottom.png) no-repeat;
  462. background-size: contain;
  463. }
  464. .dialog-right-top{
  465. right: -23px;
  466. top: -6px;
  467. background: url(~@/assets/images/dialog_right_top.png) no-repeat;
  468. background-size: contain;
  469. }
  470. .dialog-left-bottom{
  471. left: -6px;
  472. bottom: -7px;
  473. background: url(~@/assets/images/dialog_left_bottom.png) no-repeat;
  474. background-size: contain;
  475. }
  476. .el-dialog__header{
  477. position: absolute;
  478. top: -40px;
  479. left: 50%;
  480. width: 360px;
  481. padding: 0;
  482. transform: translateX(-50%);
  483. &::before{
  484. position: absolute;
  485. left: -23px;
  486. top: 0;
  487. content: "";
  488. width: 23px;
  489. height: 42px;
  490. background: url(~@/assets/images/dialog_left.png) no-repeat;
  491. background-size: cover;
  492. }
  493. &::after{
  494. position: absolute;
  495. right: -23px;
  496. top: 0;
  497. content: "";
  498. width: 23px;
  499. height: 42px;
  500. background: url(~@/assets/images/dialog_right.png) no-repeat;
  501. background-size: cover;
  502. }
  503. .el-dialog__title{
  504. display: block;
  505. font-size: 18px;
  506. font-weight: bold;
  507. line-height: 38px;
  508. color: #fff;
  509. text-align: center;
  510. background-color: #031435;
  511. border-top: 2px solid #339CFF;
  512. border-bottom: 2px solid #339CFF;
  513. }
  514. .el-dialog__headerbtn{
  515. top: 4px;
  516. right: -160px;
  517. }
  518. .el-dialog__close{
  519. font-family: "iconfont" !important;
  520. font-style: normal;
  521. -webkit-font-smoothing: antialiased;
  522. -moz-osx-font-smoothing: grayscale;
  523. font-size: 24px;
  524. color: #339CFF;
  525. &::before{
  526. content: "\e60c";
  527. }
  528. }
  529. }
  530. .el-dialog__body{
  531. width: 100%;
  532. background-color: #031435;
  533. // border: 2px solid #339CFF;
  534. // min-height: 400px;
  535. // background: linear-gradient(135deg, transparent 12px, #031435 0) top left,
  536. // linear-gradient(-135deg, transparent 12px, #031435 0) top right,
  537. // linear-gradient(-45deg, transparent 12px, #031435 0) bottom right,
  538. // linear-gradient(45deg, transparent 12px, #031435 0) bottom left;
  539. // background-size: 50% 50%;
  540. // background-repeat: no-repeat;
  541. // box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
  542. }
  543. .el-form{
  544. .el-form-item__label{
  545. color: $subMenuActiveText;
  546. }
  547. .el-input__inner{
  548. color: #fff;
  549. border: 1px solid $subMenuActiveText;
  550. background-color: transparent !important;
  551. }
  552. .vue-treeselect__control,
  553. .vue-treeselect__placeholder,
  554. .vue-treeselect__single-value{
  555. height: 36px;
  556. line-height: 36px;
  557. color: #fff;
  558. }
  559. .vue-treeselect__control{
  560. border: 1px solid $subMenuActiveText;
  561. background-color: transparent;
  562. }
  563. .el-radio{
  564. color: #fff;
  565. }
  566. .el-textarea__inner{
  567. color: #fff;
  568. border: 1px solid $subMenuActiveText;
  569. background-color: transparent;
  570. }
  571. .el-input-number.is-controls-right[class*=small] [class*=increase],
  572. .el-input-number.is-controls-right[class*=small] [class*=decrease]{
  573. background-color: transparent;
  574. }
  575. .el-input-number__decrease,
  576. .el-input-number__increase{
  577. border-left-color: $subMenuActiveText;
  578. &>i{
  579. color: #fff;
  580. }
  581. }
  582. .el-input-number__increase{
  583. border-bottom-color: $subMenuActiveText;
  584. }
  585. .el-select .el-input .el-select__caret{
  586. color: #fff;
  587. }
  588. .el-select .el-input.is-disabled .el-input__inner,
  589. .el-select .el-input.is-disabled .el-input__inner:hover,
  590. .el-select .el-input.is-disabled .el-input__inner:focus{
  591. border-color: #339cff;
  592. }
  593. }
  594. .dialog-footer{
  595. margin: 30px auto 0 auto;
  596. text-align: center;
  597. .el-button{
  598. font-size: 16px;
  599. padding: 8px 28px;
  600. }
  601. .el-button--primary{
  602. background-color: $desPreviewColor;
  603. }
  604. }
  605. }
  606. .el-form{
  607. .el-form-item__label{
  608. line-height: 36px;
  609. }
  610. .el-input__inner{
  611. height: 36px;
  612. line-height: 36px;
  613. }
  614. .el-select {
  615. height: 36px;
  616. }
  617. }
  618. // el-tree 最终节点不显示箭头
  619. .is-leaf::before {
  620. color: transparent;
  621. }
  622. .el-input__prefix{
  623. left: 8px;
  624. }
  625. // tab样式布局
  626. .tab-content{
  627. margin-top: 40px;
  628. border-top: none;
  629. &::before{
  630. display: none;
  631. }
  632. .tab-nav{
  633. display: flex;
  634. justify-content: flex-start;
  635. height: 41px;
  636. line-height: 41px;
  637. margin: -41px 0 30px -1px;
  638. font-size: 16px;
  639. font-weight: bold;
  640. color: #359AFC;
  641. border-bottom: 1px solid #113D72;
  642. li{
  643. position: relative;
  644. padding: 0 24px;
  645. margin: -1px 30px 0 0;
  646. letter-spacing: 2px;
  647. border-top: 1px solid #113D72;
  648. cursor: pointer;
  649. &::before,
  650. &::after{
  651. content: "";
  652. position: absolute;
  653. top: 0;
  654. width: 33px;
  655. height: 41px;
  656. }
  657. &::before{
  658. left: -15px;
  659. background: url(~@/assets/images/tab_left.png) no-repeat;
  660. background-size: contain;
  661. }
  662. &::after{
  663. right: -32px;
  664. background: url(~@/assets/images/tab_right.png) no-repeat;
  665. background-size: contain;
  666. }
  667. &:first-child{
  668. border-left: 1px solid #113d72;;
  669. &::before{
  670. width: 17px;
  671. height: 17px;
  672. left: -1px;
  673. top: -1px;
  674. border-left: 1px solid #339cff;
  675. border-top: 1px solid #339cff;
  676. }
  677. }
  678. &.active-tab-nav{
  679. color: #fff;
  680. &::before{
  681. background: url(~@/assets/images/tab_left_active.png) no-repeat;
  682. background-size: contain;
  683. }
  684. &::after{
  685. background: url(~@/assets/images/tab_right_active.png) no-repeat;
  686. background-size: contain;
  687. }
  688. i{
  689. display: block;
  690. position: absolute;
  691. bottom: -1px;
  692. left: 0;
  693. width: 100%;
  694. height: 1px;
  695. border-bottom: 1px solid #021941;
  696. }
  697. }
  698. }
  699. .tab-right-img{
  700. display: block;
  701. width: 93px;
  702. margin: 4px 0 0 -14px;
  703. background: url(~@/assets/images/tab_img.png) no-repeat;
  704. background-size: contain;
  705. }
  706. }
  707. }
  708. // 默认底图 - 暂时只有头像
  709. .user-img-cover{
  710. border-radius: 50%;
  711. background: url(~@/assets/images/avatar.png) no-repeat #fff;
  712. background-size: cover;
  713. overflow: hidden;
  714. }
  715. // 著录界面表单
  716. .des-form{
  717. .el-form-item__label{
  718. font-weight: normal;
  719. color: $desPreviewColor;
  720. }
  721. .el-input__inner{
  722. width: 200px;
  723. color: $desPreviewColor;
  724. background: #021941 !important;
  725. border: none;
  726. &::placeholder{
  727. color: $desPreviewColor !important;
  728. }
  729. &::-webkit-input-placeholder{
  730. color: $desPreviewColor !important;
  731. }
  732. }
  733. .el-input.is-disabled .el-input__inner{
  734. color: $desPreviewColor;
  735. }
  736. .el-input__icon{
  737. color: $desPreviewColor !important;
  738. }
  739. .checkbox-item{
  740. height: 36px;
  741. line-height: 36px;
  742. text-align: right;
  743. .el-form-item__content{
  744. margin-left: 0 !important;
  745. }
  746. .el-checkbox__input.is-disabled .el-checkbox__inner{
  747. background-color: transparent;
  748. border-color: $subMenuActiveText;
  749. &::after{
  750. border-color: $desPreviewColor;
  751. }
  752. }
  753. span{
  754. // margin-right: 10px;
  755. color: $desPreviewColor;
  756. }
  757. }
  758. .input-num{
  759. display: flex;
  760. justify-content: flex-end;
  761. .el-input__inner{
  762. width: 50px;
  763. }
  764. .el-form-item__content{
  765. display: flex;
  766. justify-content: flex-start;
  767. margin-left: 0 !important;
  768. .el-input,
  769. .el-input-number--small{
  770. width: 60px;
  771. }
  772. .el-input-number.is-controls-right {
  773. .el-input-number__decrease,
  774. .el-input-number__increase{
  775. display: none;
  776. }
  777. .el-input__inner{
  778. padding-left: 0;
  779. padding-right: 0;
  780. }
  781. }
  782. }
  783. span{
  784. color: $desPreviewColor;
  785. line-height: 36px;
  786. }
  787. }
  788. // 去除element ui 中el-input type=“number“的上下箭头
  789. input::-webkit-outer-spin-button,
  790. input::-webkit-inner-spin-button {
  791. -webkit-appearance: none !important;
  792. }
  793. input[type='number'] {
  794. -moz-appearance: textfield !important;
  795. }
  796. }