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

1189 lines
25 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
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: 30px;
  11. line-height: 30px;
  12. color: #fff;
  13. }
  14. .iconfont{
  15. line-height: 30px;
  16. }
  17. }
  18. .el-form-item-label {
  19. margin: 0 3px 9px 0;
  20. display: inline-block;
  21. text-align: right;
  22. vertical-align: middle;
  23. font-size: 14px;
  24. color: #606266;
  25. line-height: 30px;
  26. padding: 0 7px;
  27. }
  28. .el-select__caret.el-input__icon.el-icon-arrow-up{
  29. line-height: 30px;
  30. }
  31. .date-item {
  32. display: inline-block;
  33. vertical-align: middle;
  34. border: 1px solid $inputBorder;
  35. background-color: $mainContainerBg;
  36. margin-right: 20px;
  37. height: 30px !important;
  38. width: 230px !important;
  39. }
  40. }
  41. .el-avatar {
  42. display: inline-block;
  43. text-align: center;
  44. background: #ccc;
  45. color: #fff;
  46. white-space: nowrap;
  47. position: relative;
  48. overflow: hidden;
  49. vertical-align: middle;
  50. width: 30px;
  51. height: 30px;
  52. line-height: 30px;
  53. border-radius: 16px;
  54. }
  55. .logo-con{
  56. height: 60px;
  57. padding: 13px 0 0;
  58. img{
  59. height: 30px;
  60. width: 135px;
  61. display: block;
  62. //margin: 0 auto;
  63. }
  64. }
  65. #el-login-footer {
  66. height: 40px;
  67. line-height: 40px;
  68. position: fixed;
  69. bottom: 0;
  70. width: 100%;
  71. text-align: center;
  72. color: #fff;
  73. font-family: Arial, serif;
  74. font-size: 12px;
  75. letter-spacing: 1px;
  76. }
  77. #el-main-footer {
  78. background: none repeat scroll 0 0 white;
  79. border-top: 1px solid #e7eaec;
  80. overflow: hidden;
  81. padding: 10px 6px 0 6px;
  82. height: 33px;
  83. font-size: 0.7rem !important;
  84. color: #7a8b9a;
  85. letter-spacing: 0.8px;
  86. font-family: Arial, sans-serif !important;
  87. position: fixed;
  88. bottom: 0;
  89. z-index: 99;
  90. width: 100%;
  91. }
  92. .yxk-upload {
  93. border: 1px dashed #c0ccda;
  94. border-radius: 5px;
  95. height: 45px;
  96. line-height: 45px;
  97. width: 368px;
  98. }
  99. .my-blockquote{
  100. margin: 0 0 10px;
  101. padding: 15px;
  102. line-height: 22px;
  103. border-left: 5px solid #00437B;
  104. border-radius: 0 2px 2px 0;
  105. background-color: #f2f2f2;
  106. }
  107. .my-code{
  108. position: relative;
  109. padding: 15px;
  110. line-height: 20px;
  111. border-left: 5px solid #ddd;
  112. color: #333;
  113. font-family: Courier New, serif;
  114. font-size: 12px
  115. }
  116. .el-tabs{
  117. margin-bottom: 25px;
  118. }
  119. // xu
  120. // 四角边线
  121. // 有左右分区时
  122. .container-main{
  123. display: flex;
  124. justify-content: space-between;
  125. margin-left: 0 !important;
  126. margin-right: 0 !important;
  127. }
  128. .container-left{
  129. margin-right: 20px;
  130. }
  131. .container-left,
  132. .container-right,
  133. .container-wrap,
  134. .el-card,
  135. .header-container-wrap{
  136. position: relative;
  137. min-height: 100%;
  138. padding: 0 !important;
  139. background-color: $mainContainerBg;
  140. border: $mainContainerBorder;
  141. min-height: calc(100vh - 190px);
  142. &::before,
  143. &::after{
  144. content: "";
  145. position: absolute;
  146. width: 17px;
  147. height: 17px;
  148. z-index: 99;
  149. }
  150. &::before{
  151. top: -1px;
  152. left: -1px;
  153. border-top: 1px solid #339CFF;
  154. border-left: 1px solid #339CFF;
  155. }
  156. &::after{
  157. right: -1px;
  158. bottom: -1px;
  159. border-right: 1px solid #339CFF;
  160. border-bottom: 1px solid #339CFF;
  161. }
  162. }
  163. .el-card,
  164. .container-left{
  165. background-color: transparent;
  166. min-height: auto;
  167. border-radius: 0;
  168. overflow: visible;
  169. .el-card__header{
  170. background-color: #02255F;
  171. border-bottom: none;
  172. .role-span{
  173. color: #fff;
  174. }
  175. }
  176. .el-card__body{
  177. padding: 0;
  178. .head-container{
  179. padding: 0;
  180. }
  181. }
  182. .crud-opts{
  183. justify-content: center;
  184. padding: 20px 0 !important;
  185. border-bottom: 1px solid #113D72;
  186. }
  187. .el-tree{
  188. margin: 20px 0;
  189. }
  190. }
  191. // xu el-button
  192. .head-search{
  193. margin-bottom: 20px;
  194. .el-button{
  195. margin-left: 0;
  196. background-color: $desPreviewColor;
  197. }
  198. }
  199. .el-button,
  200. .el-button--info.is-plain{
  201. font-size: 14px;
  202. color: #fff;
  203. border-color: #339CFF;
  204. background-color: transparent;
  205. }
  206. .el-button.is-disabled,
  207. .el-button.is-disabled:hover,
  208. .el-button.is-disabled:focus{
  209. color: #13439E;
  210. background-color: transparent;
  211. border-color: #13439E;
  212. }
  213. .el-button:hover,
  214. .el-button:focus,
  215. .el-button--info.is-plain:hover,
  216. .el-button--info.is-plain:focus{
  217. color: #fff;
  218. background-color: #02255F;
  219. border-color: #339CFF;
  220. }
  221. .el-button--mini{
  222. padding: 7px 10px;
  223. }
  224. .el-message-box,
  225. .el-popover{
  226. .el-button{
  227. border-color: #dcdfe6;
  228. color: #606266;
  229. }
  230. .el-button:focus,
  231. .el-button:hover {
  232. color: #1890ff;
  233. border-color: #badeff;
  234. background-color: #e8f4ff;
  235. }
  236. .el-button--primary,
  237. .el-button--primary:focus,
  238. .el-button--primary:hover {
  239. background: #46a6ff;
  240. border-color: #46a6ff;
  241. color: #fff;
  242. }
  243. }
  244. .header-container-wrap{
  245. min-height: auto;
  246. }
  247. .right-top-line,
  248. .left-bottom-line{
  249. display: block;
  250. position: absolute;
  251. width: 17px;
  252. height: 17px;
  253. z-index: 99;
  254. }
  255. .left-bottom-line{
  256. bottom: -1px;
  257. left: -1px;
  258. border-bottom: 1px solid #339CFF;
  259. border-left: 1px solid #339CFF;
  260. }
  261. .right-top-line{
  262. right: -1px;
  263. top: -1px;
  264. border-right: 1px solid #339CFF;
  265. border-top: 1px solid #339CFF;
  266. }
  267. .el-tree{
  268. background: transparent !important;
  269. .el-tree-node:focus>.el-tree-node__content {
  270. background-color: transparent !important;
  271. }
  272. .is-current>.el-tree-node__content {
  273. background-image: $subMenuActiveBg !important;
  274. color: #fff;
  275. }
  276. .el-tree-node__content{
  277. padding: 0 30px !important;
  278. height: 40px;
  279. color: $subMenuActiveText;
  280. background-color: transparent;
  281. .el-tree-node__label{
  282. font-size: 16px;
  283. font-weight: 600;
  284. }
  285. &:hover{
  286. background-color: transparent !important;
  287. background-image: $subMenuActiveBg;
  288. }
  289. }
  290. .el-tree-node__expand-icon{
  291. font-size: 16px;
  292. color: $subMenuActiveText;
  293. }
  294. .el-tree-node__children{
  295. padding: 0 18px;
  296. .el-tree-node__content{
  297. height: 30px;
  298. }
  299. .el-tree-node__label{
  300. font-size: 14px;
  301. font-weight: normal;
  302. }
  303. }
  304. }
  305. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  306. background-color: transparent;
  307. background-image: $subMenuActiveBg;
  308. }
  309. .el-date-editor .el-range-input{
  310. background: transparent;
  311. color: #fff;
  312. }
  313. // table
  314. .el-table{
  315. background: transparent;
  316. tr{
  317. background: transparent;
  318. .el-table__cell{
  319. height: 40px;
  320. background-color: transparent;
  321. }
  322. }
  323. .el-table__header-wrapper,
  324. .el-table__header{
  325. th.el-table__cell{
  326. background-color: #02255F;
  327. // border-top: 1px solid #113D72;
  328. border-bottom: none;
  329. &>.cell{
  330. font-size: 16px;
  331. color: #339CFF;
  332. }
  333. }
  334. }
  335. .el-table__body-wrapper,
  336. .el-table__fixed-right{
  337. td.el-table__cell{
  338. color: #339CFF;
  339. font-size: 14px;
  340. border-bottom: 1px dashed #113D72;
  341. padding: 5px 0;
  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: $inputBorder;
  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: $inputBorder;
  416. }
  417. button{
  418. height: 24px;
  419. line-height: 24px;
  420. background-color: transparent;
  421. &:disabled{
  422. background-color: transparent;
  423. }
  424. }
  425. .el-pager li{
  426. min-width: 24px;
  427. height: 24px;
  428. line-height: 24px;
  429. color: $inputBorder;
  430. background-color: transparent;
  431. }
  432. .el-pager li.active{
  433. color: #fff;
  434. background-color: #2072D2;
  435. }
  436. .el-select .el-input .el-input__inner{
  437. background-color: transparent;
  438. color: $inputBorder;
  439. border-color: $inputBorder;
  440. }
  441. .el-icon-arrow-right:before{
  442. color: $inputBorder;
  443. }
  444. .btn-prev,
  445. .btn-next{
  446. color: $inputBorder;
  447. background-color: transparent;
  448. }
  449. .el-select .el-input .el-select__caret{
  450. color: $inputBorder;
  451. }
  452. }
  453. // 弹框
  454. .el-dialog{
  455. position: relative;
  456. position: fixed;
  457. width: 620px;
  458. padding: 2px;
  459. left: 50%;
  460. top: 50%;
  461. transform: translate(-50%, -50%);
  462. margin-top: 2vh !important;
  463. background: linear-gradient(135deg, transparent 10px, #339CFF 0) top left,
  464. linear-gradient(-135deg, transparent 10px, #339CFF 0) top right,
  465. linear-gradient(-45deg, transparent 10px, #339CFF 0) bottom right,
  466. linear-gradient(45deg, transparent 10px, #339CFF 0) bottom left;
  467. background-size: 50% 50%;
  468. background-repeat: no-repeat;
  469. &::before,
  470. &::after,
  471. .dialog-right-top,
  472. .dialog-left-bottom{
  473. position: absolute;
  474. content: "";
  475. width: 134px;
  476. height: 63px;
  477. z-index: 99;
  478. }
  479. &::before{
  480. left: -6px;
  481. top: -6px;
  482. background: url(~@/assets/images/dialog_left_top.png) no-repeat;
  483. background-size: contain;
  484. }
  485. &::after{
  486. right: -18px;
  487. bottom: -7px;
  488. background: url(~@/assets/images/dialog_right_bottom.png) no-repeat;
  489. background-size: contain;
  490. }
  491. .dialog-right-top{
  492. right: -23px;
  493. top: -6px;
  494. background: url(~@/assets/images/dialog_right_top.png) no-repeat;
  495. background-size: contain;
  496. }
  497. .dialog-left-bottom{
  498. left: -6px;
  499. bottom: -7px;
  500. background: url(~@/assets/images/dialog_left_bottom.png) no-repeat;
  501. background-size: contain;
  502. }
  503. .el-dialog__header{
  504. position: absolute;
  505. top: -40px;
  506. left: 50%;
  507. width: 360px;
  508. padding: 0;
  509. transform: translateX(-50%);
  510. &::before{
  511. position: absolute;
  512. left: -23px;
  513. top: 0;
  514. content: "";
  515. width: 23px;
  516. height: 42px;
  517. background: url(~@/assets/images/dialog_left.png) no-repeat;
  518. background-size: cover;
  519. }
  520. &::after{
  521. position: absolute;
  522. right: -23px;
  523. top: 0;
  524. content: "";
  525. width: 23px;
  526. height: 42px;
  527. background: url(~@/assets/images/dialog_right.png) no-repeat;
  528. background-size: cover;
  529. }
  530. .el-dialog__title{
  531. display: block;
  532. font-size: 18px;
  533. font-weight: bold;
  534. line-height: 38px;
  535. color: #fff;
  536. text-align: center;
  537. background-color: #031435;
  538. border-top: 2px solid #339CFF;
  539. border-bottom: 2px solid #339CFF;
  540. }
  541. .el-dialog__headerbtn{
  542. top: 4px;
  543. right: -160px;
  544. }
  545. .el-dialog__close{
  546. font-family: "iconfont" !important;
  547. font-style: normal;
  548. -webkit-font-smoothing: antialiased;
  549. -moz-osx-font-smoothing: grayscale;
  550. font-size: 24px;
  551. color: #339CFF;
  552. &::before{
  553. content: "\e60c";
  554. }
  555. }
  556. }
  557. .el-dialog__body{
  558. width: 100%;
  559. background-color: #031435;
  560. // border: 2px solid #339CFF;
  561. // min-height: 400px;
  562. // background: linear-gradient(135deg, transparent 12px, #031435 0) top left,
  563. // linear-gradient(-135deg, transparent 12px, #031435 0) top right,
  564. // linear-gradient(-45deg, transparent 12px, #031435 0) bottom right,
  565. // linear-gradient(45deg, transparent 12px, #031435 0) bottom left;
  566. // background-size: 50% 50%;
  567. // background-repeat: no-repeat;
  568. // box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
  569. }
  570. .dialog-footer{
  571. margin: 30px auto 0 auto;
  572. text-align: center;
  573. .el-button{
  574. font-size: 16px;
  575. padding: 8px 28px;
  576. }
  577. .el-button--primary{
  578. background-color: $desPreviewColor;
  579. }
  580. }
  581. }
  582. .el-dialog,
  583. .right-preview{
  584. .el-form{
  585. .el-form-item__label{
  586. color: $subMenuActiveText;
  587. }
  588. .el-input__inner{
  589. color: #fff;
  590. border: 1px solid $subMenuActiveText;
  591. background-color: transparent !important;
  592. }
  593. .vue-treeselect__control,
  594. .vue-treeselect__placeholder,
  595. .vue-treeselect__single-value{
  596. height: 28px;
  597. line-height: 28px;
  598. color: #fff;
  599. }
  600. .vue-treeselect__control{
  601. border: 1px solid $subMenuActiveText;
  602. background-color: transparent;
  603. .vue-treeselect__control-arrow{
  604. color: $subMenuActiveText;
  605. }
  606. }
  607. .el-radio{
  608. color: #fff;
  609. }
  610. .el-textarea__inner{
  611. color: #fff;
  612. border: 1px solid $subMenuActiveText;
  613. background-color: transparent;
  614. }
  615. .el-input-number.is-controls-right[class*=small] [class*=increase],
  616. .el-input-number.is-controls-right[class*=small] [class*=decrease]{
  617. background-color: transparent;
  618. }
  619. .el-input-number__decrease,
  620. .el-input-number__increase{
  621. border-left-color: $subMenuActiveText;
  622. &>i{
  623. color: #fff;
  624. }
  625. }
  626. .el-input-number__increase{
  627. border-bottom-color: $subMenuActiveText;
  628. }
  629. .el-select .el-input .el-select__caret{
  630. color: #339cff;
  631. }
  632. .vue-treeselect .vue-treeselect__control:focus,
  633. .vue-treeselect .vue-treeselect__control:hover{
  634. border-color: $subMenuActiveText !important;
  635. }
  636. .vue-treeselect.vue-treeselect--disabled .vue-treeselect__control,
  637. .el-input.is-disabled .el-input__inner,
  638. .el-textarea.is-disabled .el-textarea__inner{
  639. color: $desPreviewColor !important;
  640. border: none !important;
  641. background-color: #02255f!important;
  642. }
  643. }
  644. }
  645. // el-tree 最终节点不显示箭头
  646. .is-leaf::before {
  647. color: transparent;
  648. }
  649. .el-input__prefix{
  650. left: 8px;
  651. }
  652. // tab样式布局
  653. .tab-content{
  654. margin-top: 40px;
  655. border-top: none;
  656. &::before{
  657. display: none;
  658. }
  659. .tab-nav{
  660. display: flex;
  661. justify-content: flex-start;
  662. height: 41px;
  663. line-height: 41px;
  664. margin: -41px 0 30px -1px;
  665. font-size: 16px;
  666. font-weight: bold;
  667. color: #359AFC;
  668. border-bottom: 1px solid #113D72;
  669. li{
  670. position: relative;
  671. padding: 0 24px;
  672. margin: -1px 30px 0 0;
  673. letter-spacing: 2px;
  674. border-top: 1px solid #113D72;
  675. cursor: pointer;
  676. &::before,
  677. &::after{
  678. content: "";
  679. position: absolute;
  680. top: 0;
  681. width: 33px;
  682. height: 41px;
  683. }
  684. &::before{
  685. left: -15px;
  686. background: url(~@/assets/images/tab_left.png) no-repeat;
  687. background-size: contain;
  688. }
  689. &::after{
  690. right: -32px;
  691. background: url(~@/assets/images/tab_right.png) no-repeat;
  692. background-size: contain;
  693. }
  694. &:first-child{
  695. border-left: 1px solid #113d72;;
  696. &::before{
  697. width: 17px;
  698. height: 17px;
  699. left: -1px;
  700. top: -1px;
  701. border-left: 1px solid #339cff;
  702. border-top: 1px solid #339cff;
  703. }
  704. }
  705. &.active-tab-nav{
  706. color: #fff;
  707. &::before{
  708. background: url(~@/assets/images/tab_left_active.png) no-repeat;
  709. background-size: contain;
  710. }
  711. &::after{
  712. background: url(~@/assets/images/tab_right_active.png) no-repeat;
  713. background-size: contain;
  714. }
  715. i{
  716. display: block;
  717. position: absolute;
  718. bottom: -1px;
  719. left: 0;
  720. width: 100%;
  721. height: 1px;
  722. border-bottom: 1px solid #021941;
  723. }
  724. }
  725. }
  726. .tab-right-img{
  727. display: block;
  728. width: 93px;
  729. margin: 4px 0 0 -14px;
  730. background: url(~@/assets/images/tab_img.png) no-repeat;
  731. background-size: contain;
  732. }
  733. }
  734. .el-table__header{
  735. border-top: 1px solid #113D72;
  736. }
  737. }
  738. // 默认底图 - 暂时只有头像
  739. .user-img-cover{
  740. border-radius: 50%;
  741. background: url(~@/assets/images/avatar.png) no-repeat #fff;
  742. background-size: cover;
  743. overflow: hidden;
  744. }
  745. // 著录界面表单
  746. .des-form{
  747. .el-form-item__label{
  748. font-weight: normal;
  749. color: $desPreviewColor;
  750. }
  751. .el-input__inner{
  752. color: $desPreviewColor;
  753. background: #021941 !important;
  754. border: none;
  755. &::placeholder{
  756. color: $desPreviewColor !important;
  757. }
  758. &::-webkit-input-placeholder{
  759. color: $desPreviewColor !important;
  760. }
  761. }
  762. .el-input.is-disabled .el-input__inner{
  763. color: $desPreviewColor !important;
  764. border: none;
  765. background-color: #02255f!important;
  766. }
  767. .el-input__icon{
  768. color: $desPreviewColor !important;
  769. }
  770. .checkbox-item{
  771. height: 36px;
  772. line-height: 36px;
  773. text-align: right;
  774. .el-form-item__content{
  775. margin-left: 0 !important;
  776. }
  777. .el-checkbox__input.is-disabled .el-checkbox__inner{
  778. background-color: transparent;
  779. border-color: $subMenuActiveText;
  780. &::after{
  781. border-color: $desPreviewColor;
  782. }
  783. }
  784. span{
  785. color: $desPreviewColor;
  786. }
  787. }
  788. .input-num{
  789. display: flex;
  790. justify-content: flex-end;
  791. .el-input__inner{
  792. width: 50px;
  793. }
  794. .el-form-item__content{
  795. display: flex;
  796. justify-content: flex-start;
  797. margin-left: 0 !important;
  798. .el-input,
  799. .el-input-number--small{
  800. width: 60px;
  801. }
  802. .el-input-number.is-controls-right {
  803. .el-input-number__decrease,
  804. .el-input-number__increase{
  805. display: none;
  806. }
  807. .el-input__inner{
  808. padding-left: 0;
  809. padding-right: 0;
  810. }
  811. }
  812. }
  813. span{
  814. color: $desPreviewColor;
  815. line-height: 36px;
  816. }
  817. }
  818. }
  819. .setting-dialog{
  820. z-index: 100;
  821. position: relative;
  822. .des-form{
  823. width: 100% !important;
  824. margin-top: 0 !important;
  825. padding: 20px 38px 0 20px !important;
  826. background-color: transparent !important;
  827. .el-select,
  828. .el-input__inner{
  829. width: 100% !important;
  830. }
  831. .input-num{
  832. .el-input{
  833. margin-right: 10px !important;
  834. }
  835. }
  836. }
  837. }
  838. .preview-dialog{
  839. .el-dialog{
  840. width: 680px !important;
  841. .preview-content{
  842. max-height: calc(100vh - 330px) !important;
  843. overflow: hidden !important;
  844. overflow-y: auto !important;
  845. border: none !important;
  846. .el-textarea__inner{
  847. border: 1px solid #339cff !important;
  848. background-color: transparent !important;
  849. }
  850. }
  851. .el-dialog__header{
  852. width: 420px !important;
  853. }
  854. }
  855. }
  856. .preview-dialog{
  857. .el-dialog__body{
  858. padding: 30px 0 !important;
  859. }
  860. }
  861. // 去除element ui 中el-input type=“number“的上下箭头
  862. input::-webkit-outer-spin-button,
  863. input::-webkit-inner-spin-button {
  864. -webkit-appearance: none !important;
  865. }
  866. input[type='number'] {
  867. -moz-appearance: textfield !important;
  868. }
  869. // 弹框-删除等提示
  870. .setting-dialog{
  871. .dialog-delt{
  872. line-height: 26px;
  873. color: #fff;
  874. margin-bottom: 20px;
  875. }
  876. .delt-tip{
  877. margin-top: 10px;
  878. color: #EF3147;
  879. }
  880. }
  881. // alert 样式
  882. .el-message-box{
  883. position: relative;
  884. width: 588px;
  885. border: 2px solid #339CFF;
  886. border-bottom: none;
  887. border-radius: 4px 4px 0 0;
  888. background-color: #031435;
  889. overflow: visible;
  890. &::after{
  891. position: absolute;
  892. left: -2px;
  893. bottom: -30px;
  894. content: "";
  895. width: 589px;
  896. height: 30px;
  897. background: url(~@/assets/images/alert_bottom.png) no-repeat;
  898. background-size: contain;
  899. }
  900. .el-message-box__header{
  901. padding: 18px 60px;
  902. background-color: #339CFF;
  903. .el-message-box__title{
  904. font-weight: bold;
  905. color: #fff;
  906. }
  907. .el-message-box__headerbtn{
  908. top: -36px;
  909. right: -16px;
  910. }
  911. .el-icon-close{
  912. font-family: "iconfont" !important;
  913. font-style: normal;
  914. -webkit-font-smoothing: antialiased;
  915. -moz-osx-font-smoothing: grayscale;
  916. font-size: 24px;
  917. color: #339cff;
  918. &::before{
  919. content: "\E60C";
  920. }
  921. }
  922. }
  923. .el-message-box__content{
  924. height: 110px;
  925. padding: 35px 60px 15px 60px;
  926. color: #fff;
  927. }
  928. }
  929. .el-message-box .el-button,
  930. .el-popover .el-button{
  931. color: #fff;
  932. border-color: #339cff;
  933. background-color: transparent;
  934. }
  935. .el-message-box .el-button:hover,
  936. .el-popover .el-button:focus{
  937. color: #fff;
  938. background-color: #02255F;
  939. border-color: #339CFF;
  940. }
  941. .el-message-box .el-button--primary,
  942. .el-message-box .el-button--primary:focus,
  943. .el-message-box .el-button--primary:hover {
  944. background: #46a6ff;
  945. border-color: #46a6ff;
  946. color: #fff;
  947. }
  948. .el-table__header-wrapper{
  949. background-color: #02255f;
  950. }
  951. .svg-style{
  952. margin-right: 5px;
  953. }
  954. .svg-arc-style{
  955. margin-right: 10px;
  956. }
  957. .el-form-item__error--inline{
  958. margin-left: 0;
  959. vertical-align: top;
  960. }
  961. .inline-error-item .el-form-item__content{
  962. line-height: normal;
  963. margin-bottom: -15px;
  964. }
  965. .el-select-dropdown,
  966. .el-dropdown-menu{
  967. box-shadow: rgb(51 156 255) 0px 0px 10px 1px inset;
  968. background: #02255F;
  969. border: none;
  970. }
  971. .el-select-dropdown__item{
  972. color: #339CFF;
  973. }
  974. .el-select-dropdown__item.hover,
  975. .el-select-dropdown__item:hover{
  976. background-color: #13439E;
  977. }
  978. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected{
  979. background-color: transparent;
  980. color: #fff;
  981. }
  982. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{
  983. background-color: #13439E;
  984. color: #fff;
  985. }
  986. .el-popper[x-placement^=bottom] .popper__arrow{
  987. width: 15px;
  988. height: 7px;
  989. top: -7px;
  990. background: url('~@/assets/images/pop_arrow.png') no-repeat !important;
  991. border: none;
  992. transform: rotate(180deg);
  993. }
  994. .el-popper[x-placement^=bottom] .popper__arrow::after{
  995. content: '';
  996. border: none;
  997. }
  998. .el-dropdown-menu .el-dropdown-menu__item{
  999. color: #fff;
  1000. }
  1001. .el-dropdown-menu .el-dropdown-menu__item:hover{
  1002. background-color: #13439E;
  1003. color: #fff;
  1004. }
  1005. .el-dropdown-menu__item--divided{
  1006. border-top-color: #13439E;
  1007. margin-top: 0 !important;
  1008. }
  1009. .el-dropdown-menu .el-dropdown-menu__item--divided:before{
  1010. background-color: transparent !important;
  1011. }
  1012. //vue-treeselect
  1013. .vue-treeselect__multi-value-item{
  1014. background:#13439E !important;
  1015. border: none !important;
  1016. }
  1017. .vue-treeselect__multi-value-label{
  1018. color: #fff;
  1019. }
  1020. .vue-treeselect__value-remove{
  1021. border-left: none !important;
  1022. }
  1023. .vue-treeselect__value-remove > svg{
  1024. color: #fff;
  1025. }
  1026. // 消息中心 pop
  1027. .message-icon{
  1028. position: relative;
  1029. .icon-xiaoxi{
  1030. font-size: 26px;
  1031. color: #339CFF;
  1032. }
  1033. .message-num{
  1034. position: absolute;
  1035. top: 0;
  1036. right: -8px;
  1037. display: block;
  1038. width: 20px;
  1039. height: 20px;
  1040. font-size: 14px;
  1041. text-align: center;
  1042. line-height: 20px;
  1043. border-radius: 50%;
  1044. background-color: #F91832;
  1045. color: #fff;
  1046. }
  1047. }
  1048. .el-dropdown-menu--small .el-dropdown-menu__item.message-list-item{
  1049. padding: 0;
  1050. }
  1051. .message-list-item a{
  1052. display: flex;
  1053. justify-content: space-between;
  1054. padding: 0 20px;
  1055. height: 40px;
  1056. font-size: 14px;
  1057. border-bottom: 1px solid #113D72;
  1058. p, span, i{
  1059. line-height: 40px;
  1060. }
  1061. p{
  1062. width: 230px;
  1063. overflow: hidden;
  1064. text-overflow: ellipsis;
  1065. display: -webkit-box;
  1066. -webkit-line-clamp: 1;
  1067. -webkit-box-orient: vertical;
  1068. }
  1069. span{
  1070. display: block;
  1071. }
  1072. i.el-icon-arrow-right:before{
  1073. font-size: 16px;
  1074. color: #339CFF;
  1075. }
  1076. }
  1077. .message-dropdown.el-popper[x-placement^=bottom]{
  1078. .popper__arrow{
  1079. width: 89px;
  1080. height: 20px;
  1081. top: -8px;
  1082. background: url('~@/assets/images/pop-message.png') no-repeat !important;
  1083. border: none;
  1084. transform: rotate(0);
  1085. }
  1086. }
  1087. // 库房空气质量监控
  1088. .msg-list{
  1089. position: absolute;
  1090. top: 0;
  1091. left: 0;
  1092. width: calc(100vw - 800px);
  1093. }
  1094. .msg-list,
  1095. .screen-env-list{
  1096. display: flex;
  1097. li{
  1098. flex: 1;
  1099. display: flex;
  1100. flex-wrap: nowrap;
  1101. align-items: center;
  1102. align-content: center;
  1103. justify-content: center;
  1104. // width: calc(100%/6);
  1105. height: 80px;
  1106. margin-right: 20px;
  1107. background: url('~@/assets/images/data_border_default.png') no-repeat;
  1108. background-size: 100% 100%;
  1109. position: relative;
  1110. &.li-warn{
  1111. background: url('~@/assets/images/data_border_warn.png') no-repeat;
  1112. background-size: 100% 100%;
  1113. }
  1114. .msg-list-svg{
  1115. font-size: 36px;
  1116. display: inline-block;
  1117. height: 80px;
  1118. line-height: 80px;
  1119. margin-left: 30px;
  1120. }
  1121. .msg-pm{
  1122. font-size: 46px;
  1123. }
  1124. .msg-txt{
  1125. position: relative;
  1126. flex: 1;
  1127. height: 80px;
  1128. text-align: center;
  1129. }
  1130. .msg-list-unit{
  1131. position: absolute;
  1132. left: 0;
  1133. bottom: 12px;
  1134. width: 100%;
  1135. font-size: 14px;
  1136. color: #339CFF;
  1137. }
  1138. .msg-list-num{
  1139. color: #fff;
  1140. font-size: 26px;
  1141. position: absolute;
  1142. left: 0;
  1143. top: 14px;
  1144. width: 100%;
  1145. }
  1146. }
  1147. }