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

605 lines
13 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
  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. .el-message-box{
  222. .el-button{
  223. border-color: #dcdfe6;
  224. color: #606266;
  225. }
  226. .el-button--primary:focus, .el-button--primary:hover {
  227. background: #46a6ff;
  228. border-color: #46a6ff;
  229. }
  230. }
  231. .header-container-wrap{
  232. min-height: auto;
  233. }
  234. .right-top-line,
  235. .left-bottom-line{
  236. display: block;
  237. position: absolute;
  238. width: 17px;
  239. height: 17px;
  240. z-index: 99;
  241. }
  242. .left-bottom-line{
  243. bottom: -1px;
  244. left: -1px;
  245. border-bottom: 1px solid #339CFF;
  246. border-left: 1px solid #339CFF;
  247. }
  248. .right-top-line{
  249. right: -1px;
  250. top: -1px;
  251. border-right: 1px solid #339CFF;
  252. border-top: 1px solid #339CFF;
  253. }
  254. .el-tree{
  255. background: transparent !important;
  256. .el-tree-node:focus>.el-tree-node__content {
  257. background-color: transparent !important;
  258. }
  259. .is-current>.el-tree-node__content {
  260. background-image: $subMenuActiveBg !important;
  261. color: #fff;
  262. }
  263. .el-tree-node__content{
  264. padding: 0 30px !important;
  265. height: 40px;
  266. color: $subMenuActiveText;
  267. background-color: transparent;
  268. .el-tree-node__label{
  269. font-size: 16px;
  270. font-weight: 600;
  271. }
  272. &:hover{
  273. background-color: transparent !important;
  274. background-image: $subMenuActiveBg;
  275. }
  276. }
  277. .el-tree-node__expand-icon{
  278. font-size: 16px;
  279. color: $subMenuActiveText;
  280. }
  281. .el-tree-node__children{
  282. padding: 0 18px;
  283. .el-tree-node__content{
  284. height: 30px;
  285. }
  286. .el-tree-node__label{
  287. font-size: 14px;
  288. font-weight: normal;
  289. }
  290. }
  291. }
  292. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  293. background-color: transparent;
  294. background-image: $subMenuActiveBg;
  295. }
  296. .el-date-editor .el-range-input{
  297. background: transparent;
  298. color: #fff;
  299. }
  300. // table
  301. .el-table{
  302. background: transparent;
  303. tr{
  304. background: transparent;
  305. .el-table__cell{
  306. height: 60px;
  307. background-color: transparent;
  308. }
  309. }
  310. .el-table__header-wrapper,
  311. .el-table__header{
  312. th.el-table__cell{
  313. background-color: #02255F;
  314. border-top: 1px solid #113D72;
  315. border-bottom: none;
  316. &>.cell{
  317. font-size: 16px;
  318. color: #339CFF;
  319. }
  320. }
  321. }
  322. .el-table__body-wrapper,
  323. .el-table__fixed-right{
  324. td.el-table__cell{
  325. color: #339CFF;
  326. font-size: 14px;
  327. border-bottom: 1px dashed #113D72;
  328. }
  329. }
  330. &::before,
  331. .el-table--group::after,
  332. .el-table--border::after,
  333. .el-table__fixed::before,
  334. .el-table__fixed-right::before{
  335. background-color: transparent;
  336. }
  337. .el-checkbox__input.is-checked .el-checkbox__inner,
  338. .el-checkbox__input.is-disabled .el-checkbox__inner{
  339. border-color: #339CFF;
  340. background: transparent;
  341. &::after{
  342. border-color: #339CFF;
  343. }
  344. }
  345. .el-table__body tr.hover-row > td,
  346. .el-table__body tr.hover-row.current-row > td,
  347. .el-table__body tr.hover-row.el-table__row--striped > td,
  348. .el-table__body tr.hover-row.el-table__row--striped.current-row > td {
  349. color: #fff;
  350. background-color: #13439E;
  351. .el-checkbox__input.is-checked .el-checkbox__inner{
  352. background: #fff;
  353. border-color: #fff;
  354. }
  355. }
  356. .el-button{
  357. padding: 7px 15px;
  358. }
  359. .el-button--primary {
  360. background-color: #1890ff;
  361. border-color: #1890ff;
  362. }
  363. .el-button--danger {
  364. background-color: #ff4949;
  365. border-color: #ff4949;
  366. }
  367. }
  368. .el-table__body tr.el-table__row:hover>td.el-table__cell,
  369. .el-table__body tr.el-table__row:focus>td.el-table__cell,
  370. .el-table__body tr.current-row:hover>td.el-table__cell,
  371. .el-table__body tr.current-row:focus>td.el-table__cell{
  372. color: #fff;
  373. background-color: #13439E;
  374. .el-checkbox__input.is-checked .el-checkbox__inner{
  375. background: #fff;
  376. border-color: #fff;
  377. }
  378. }
  379. .el-table__body tr.current-row>td.el-table__cell{
  380. background-color: transparent;
  381. }
  382. .el-checkbox__inner{
  383. background: transparent;
  384. border-color: #339CFF;
  385. }
  386. .el-icon-arrow-right:before{
  387. color: #fff;
  388. }
  389. // 分页
  390. .el-pagination{
  391. padding: 2px 10px;
  392. margin: 10px 0 !important;
  393. .el-pagination__total{
  394. color: #fff;
  395. }
  396. button{
  397. background-color: transparent;
  398. &:disabled{
  399. background-color: transparent;
  400. }
  401. }
  402. .el-pager li.active{
  403. color: #fff;
  404. background-color: transparent;
  405. }
  406. .el-select .el-input .el-input__inner{
  407. background-color: transparent;
  408. color: #fff;
  409. }
  410. }
  411. // 弹框
  412. .el-dialog{
  413. position: relative;
  414. width: 620px;
  415. padding: 2px;
  416. background: linear-gradient(135deg, transparent 10px, #339CFF 0) top left,
  417. linear-gradient(-135deg, transparent 10px, #339CFF 0) top right,
  418. linear-gradient(-45deg, transparent 10px, #339CFF 0) bottom right,
  419. linear-gradient(45deg, transparent 10px, #339CFF 0) bottom left;
  420. background-size: 50% 50%;
  421. background-repeat: no-repeat;
  422. box-shadow: none;
  423. &::before,
  424. &::after,
  425. .dialog-right-top,
  426. .dialog-left-bottom{
  427. position: absolute;
  428. content: "";
  429. width: 134px;
  430. height: 63px;
  431. z-index: -1;
  432. }
  433. &::before{
  434. left: -10px;
  435. top: -28px;
  436. background: url(~@/assets/images/left_top.png) no-repeat;
  437. }
  438. &::after{
  439. right: -20px;
  440. bottom: -10px;
  441. background: url(~@/assets/images/right_bottom.png) no-repeat;
  442. }
  443. .dialog-right-top{
  444. right: -20px;
  445. top: -28px;
  446. background: url(~@/assets/images/right_top.png) no-repeat;
  447. }
  448. .dialog-left-bottom{
  449. left: -10px;
  450. bottom: -10px;
  451. background: url(~@/assets/images/left_bottom.png) no-repeat;
  452. }
  453. .el-dialog__header{
  454. position: relative;
  455. margin: -60px auto 0 auto;
  456. width: 360px;
  457. padding: 0;
  458. &::before{
  459. position: absolute;
  460. left: -23px;
  461. top: 0;
  462. content: "";
  463. width: 23px;
  464. height: 42px;
  465. background: url(~@/assets/images/dialog_left.png) no-repeat;
  466. background-size: cover;
  467. }
  468. &::after{
  469. position: absolute;
  470. right: -23px;
  471. top: 0;
  472. content: "";
  473. width: 23px;
  474. height: 42px;
  475. background: url(~@/assets/images/dialog_right.png) no-repeat;
  476. background-size: cover;
  477. }
  478. .el-dialog__title{
  479. display: block;
  480. font-size: 18px;
  481. font-weight: bold;
  482. line-height: 38px;
  483. color: #fff;
  484. text-align: center;
  485. background-color: #031435;
  486. border-top: 2px solid #339CFF;
  487. border-bottom: 2px solid #339CFF;
  488. }
  489. .el-dialog__headerbtn{
  490. top: 4px;
  491. right: -160px;
  492. }
  493. .el-dialog__close{
  494. font-family: "iconfont" !important;
  495. font-style: normal;
  496. -webkit-font-smoothing: antialiased;
  497. -moz-osx-font-smoothing: grayscale;
  498. font-size: 24px;
  499. color: #339CFF;
  500. &::before{
  501. content: "\e60c";
  502. }
  503. }
  504. }
  505. .el-dialog__body{
  506. width: 100%;
  507. // min-height: 400px;
  508. background: linear-gradient(135deg, transparent 12px, #031435 0) top left,
  509. linear-gradient(-135deg, transparent 12px, #031435 0) top right,
  510. linear-gradient(-45deg, transparent 12px, #031435 0) bottom right,
  511. linear-gradient(45deg, transparent 12px, #031435 0) bottom left;
  512. background-size: 50% 50%;
  513. background-repeat: no-repeat;
  514. box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
  515. }
  516. .el-form{
  517. .el-form-item__label{
  518. line-height: 36px;
  519. color: $subMenuActiveText;
  520. }
  521. .el-input__inner{
  522. height: 36px;
  523. line-height: 36px;
  524. color: #fff;
  525. border: 1px solid $subMenuActiveText;
  526. background-color: transparent !important;
  527. }
  528. .vue-treeselect__control,
  529. .vue-treeselect__placeholder,
  530. .vue-treeselect__single-value{
  531. height: 36px;
  532. line-height: 36px;
  533. color: #fff;
  534. }
  535. .vue-treeselect__control{
  536. border: 1px solid $subMenuActiveText;
  537. background-color: transparent;
  538. }
  539. .el-radio{
  540. color: #fff;
  541. }
  542. .el-textarea__inner{
  543. color: #fff;
  544. border: 1px solid $subMenuActiveText;
  545. background-color: transparent;
  546. }
  547. .el-input-number.is-controls-right[class*=small] [class*=increase],
  548. .el-input-number.is-controls-right[class*=small] [class*=decrease]{
  549. background-color: transparent;
  550. }
  551. .el-input-number__decrease,
  552. .el-input-number__increase{
  553. border-left-color: $subMenuActiveText;
  554. &>i{
  555. color: #fff;
  556. }
  557. }
  558. .el-input-number__increase{
  559. border-bottom-color: $subMenuActiveText;
  560. }
  561. .el-select .el-input .el-select__caret{
  562. color: #fff;
  563. }
  564. }
  565. .dialog-footer{
  566. margin: 30px auto 0 auto;
  567. text-align: center;
  568. .el-button{
  569. font-size: 16px;
  570. padding: 8px 28px;
  571. }
  572. .el-button--primary{
  573. background-color: #3A99FD;
  574. }
  575. }
  576. }