index.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. body {
  8. height: 100%;
  9. -moz-osx-font-smoothing: grayscale;
  10. -webkit-font-smoothing: antialiased;
  11. text-rendering: optimizeLegibility;
  12. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  13. }
  14. label {
  15. font-weight: 700;
  16. }
  17. html {
  18. height: 100%;
  19. box-sizing: border-box;
  20. }
  21. #app {
  22. height: 100%;
  23. }
  24. ul,li {
  25. margin: 0;
  26. padding: 0;
  27. list-style: none;
  28. }
  29. *,
  30. *:before,
  31. *:after {
  32. box-sizing: inherit;
  33. }
  34. .no-padding {
  35. padding: 0px !important;
  36. }
  37. .padding-content {
  38. padding: 4px 0;
  39. }
  40. a:focus,
  41. a:active {
  42. outline: none;
  43. }
  44. a,
  45. a:focus,
  46. a:hover {
  47. cursor: pointer;
  48. color: inherit;
  49. text-decoration: none;
  50. }
  51. div:focus {
  52. outline: none;
  53. }
  54. .fr {
  55. float: right;
  56. }
  57. .fl {
  58. float: left;
  59. }
  60. .pr-5 {
  61. padding-right: 5px;
  62. }
  63. .pl-5 {
  64. padding-left: 5px;
  65. }
  66. .block {
  67. display: block;
  68. }
  69. .pointer {
  70. cursor: pointer;
  71. }
  72. .inlineBlock {
  73. display: block;
  74. }
  75. .clearfix {
  76. &:after {
  77. visibility: hidden;
  78. display: block;
  79. font-size: 0;
  80. content: " ";
  81. clear: both;
  82. height: 0;
  83. }
  84. }
  85. aside {
  86. background: #eef1f6;
  87. padding: 8px 24px;
  88. margin-bottom: 20px;
  89. border-radius: 2px;
  90. display: block;
  91. line-height: 32px;
  92. font-size: 16px;
  93. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  94. color: #2c3e50;
  95. -webkit-font-smoothing: antialiased;
  96. -moz-osx-font-smoothing: grayscale;
  97. a {
  98. color: #337ab7;
  99. cursor: pointer;
  100. &:hover {
  101. color: rgb(32, 160, 255);
  102. }
  103. }
  104. }
  105. //main-container全局样式
  106. .app-container {
  107. padding: 20px;
  108. }
  109. .components-container {
  110. margin: 30px 50px;
  111. position: relative;
  112. }
  113. .pagination-container {
  114. margin-top: 30px;
  115. }
  116. .text-center {
  117. text-align: center
  118. }
  119. .sub-navbar {
  120. height: 50px;
  121. line-height: 50px;
  122. position: relative;
  123. width: 100%;
  124. text-align: right;
  125. padding-right: 20px;
  126. transition: 600ms ease position;
  127. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  128. .subtitle {
  129. font-size: 20px;
  130. color: #fff;
  131. }
  132. &.draft {
  133. background: #d0d0d0;
  134. }
  135. &.deleted {
  136. background: #d0d0d0;
  137. }
  138. }
  139. .link-type,
  140. .link-type:focus {
  141. color: #337ab7;
  142. cursor: pointer;
  143. &:hover {
  144. color: rgb(32, 160, 255);
  145. }
  146. }
  147. .filter-container {
  148. padding-bottom: 10px;
  149. .filter-item {
  150. display: inline-block;
  151. vertical-align: middle;
  152. margin-bottom: 10px;
  153. }
  154. }
  155. //refine vue-multiselect plugin
  156. .multiselect {
  157. line-height: 16px;
  158. }
  159. .multiselect--active {
  160. z-index: 1000 !important;
  161. }
  162. /* =============自定义样式============== */
  163. $--color-primary: $menuActiveText;
  164. $border: #ddd;
  165. /* 工具栏 */
  166. .toolbar {
  167. margin: 0 0 10px;
  168. &>.title {
  169. position: relative;
  170. padding-left: 15px;
  171. margin-right: 15px;
  172. font-size: 16px;
  173. line-height: 28px;
  174. font-weight: bold;
  175. color: #363636;
  176. &:before {
  177. content: "";
  178. display: block;
  179. position: absolute;
  180. left: 0;
  181. top: 50%;
  182. transform: translate(0, -50%);
  183. width: 5px;
  184. height: 16px;
  185. background-color: $--color-primary;
  186. }
  187. }
  188. &:after {
  189. content: "";
  190. clear: both;
  191. display: block;
  192. }
  193. &>.tip {
  194. display: inline-block;
  195. font-size: 14px;
  196. font-weight: normal;
  197. color: #666;
  198. }
  199. }
  200. .tool {
  201. float: right;
  202. .el-button--medium {
  203. padding-top: 0;
  204. padding-bottom: 0;
  205. }
  206. }
  207. .el-select {
  208. display: block;
  209. }
  210. .form {
  211. .el-date-editor.el-input, .el-date-editor.el-input__inner {
  212. width: 100%;
  213. }
  214. }
  215. .danger {
  216. color: $red;
  217. }
  218. .oper {
  219. margin-top: 30px;
  220. text-align: center;
  221. }
  222. .el-table .el-form-item {
  223. margin-bottom: 20px;
  224. }
  225. .el-table .el-input-number--medium {
  226. width: 100%;
  227. }
  228. /* 详情表格 */
  229. .table_view {
  230. width: 100%;
  231. border-collapse: collapse;
  232. table-layout: fixed;
  233. border: 1px solid $border;
  234. font-size: 15px;
  235. margin-bottom: 15px;
  236. th,
  237. td {
  238. position: relative;
  239. line-height: 19px;
  240. padding: 10px 20px;
  241. border: 1px solid $border;
  242. word-wrap: break-word;
  243. word-break: break-all;
  244. }
  245. .tr_title {
  246. background: #f2f6fc;
  247. }
  248. th {
  249. width: 200px;
  250. color: #4C4C4C;
  251. text-align: right;
  252. font-weight: 700;
  253. // background: #F8F8F8;
  254. }
  255. .th_title {
  256. text-align: left;
  257. color: #5282b6;
  258. font-size: 18px;
  259. font-weight: 700;
  260. line-height: 19px;
  261. // padding: 15px 20px;
  262. }
  263. }
  264. .part {
  265. padding-bottom: 10px;
  266. .part-title {
  267. margin: 10px 0;
  268. font-size: 14px;
  269. &:after {
  270. content: "";
  271. clear: both;
  272. display: block;
  273. }
  274. .el-form-item {
  275. display: inline-block;
  276. min-width: 120px;
  277. }
  278. .el-form-item__error {
  279. line-height: 26px;
  280. }
  281. }
  282. .node_help {
  283. display: inline-block;
  284. margin-left: 30px;
  285. }
  286. .tool{
  287. float: right;
  288. }
  289. }
  290. .inputBar {
  291. margin-bottom: 10px;
  292. font-size: 14px;
  293. .el-form-item {
  294. display: inline-block;
  295. }
  296. }
  297. .fullDate {
  298. width: 100%!important;
  299. }
  300. .pull_left {
  301. float: left;
  302. }
  303. .nodebar {
  304. margin-bottom: 10px;
  305. border-bottom: 1px solid $border;
  306. }
  307. .node_row {
  308. margin: 5px 0;
  309. }
  310. .node_info {
  311. display: flex;
  312. .node_value {
  313. flex: 1;
  314. word-break: break-all;
  315. word-wrap: break-word;
  316. }
  317. }
  318. .page {
  319. display: flex;
  320. flex-direction: column;
  321. height: 100%;
  322. .header {
  323. height: 70px;
  324. padding: 10px;
  325. background-color: #080D41;
  326. .logo {
  327. height: 50px;
  328. // background: url(~@/assets/logo/logo.png) no-repeat;
  329. background-size: auto 50px;
  330. }
  331. }
  332. .footer {
  333. height: 80px;
  334. background-color: #f1f1f1;
  335. }
  336. .main {
  337. flex: 1;
  338. }
  339. .center_box {
  340. width: 500px;
  341. margin: 50px auto 0;
  342. }
  343. }
  344. .stat_box {
  345. position: relative;
  346. height: 120px;
  347. padding: 20px 20px 20px 110px;
  348. background: #FAF9FF;
  349. border-radius: 4px;
  350. .icon {
  351. position: absolute;
  352. left: 20px;
  353. top: 50%;
  354. width: 76px;
  355. height: 76px;
  356. border-radius: 50%;
  357. transform: translate(0, -50%);
  358. // &.icon-1 {
  359. // background: url(~@/assets/images/stat_1.png) no-repeat center;
  360. // }
  361. // &.icon-2 {
  362. // background: url(~@/assets/images/stat_2.png) no-repeat center;
  363. // }
  364. // &.icon-3 {
  365. // background: url(~@/assets/images/stat_3.png) no-repeat center;
  366. // }
  367. // &.icon-4 {
  368. // background: url(~@/assets/images/stat_4.png) no-repeat center;
  369. // }
  370. }
  371. &>span {
  372. display: block;
  373. margin: 5px 0;
  374. color: #363636;
  375. text-align: center;
  376. }
  377. .num {
  378. font-family: PingFang-SC-Medium;
  379. font-size: 32px;
  380. }
  381. .label {
  382. font-size: 14px;
  383. }
  384. }
  385. .fast {
  386. height: 265px;
  387. padding-top: 150px;
  388. border: 1px solid #EDEDED;
  389. border-radius: 4px;
  390. position: relative;
  391. text-align: center;
  392. cursor: pointer;
  393. .icon {
  394. position: absolute;
  395. left: 50%;
  396. top: 50px;
  397. width: 80px;
  398. height: 80px;
  399. transform: translate(-50%, 0);
  400. // &.fast-1 {
  401. // background: url(~@/assets/images/fast_1.png) no-repeat center;
  402. // }
  403. // &.fast-2 {
  404. // background: url(~@/assets/images/fast_2.png) no-repeat center;
  405. // }
  406. // &.fast-3 {
  407. // background: url(~@/assets/images/fast_3.png) no-repeat center;
  408. // }
  409. // &.fast-4 {
  410. // background: url(~@/assets/images/fast_4.png) no-repeat center;
  411. // }
  412. }
  413. .txt {
  414. font-size: 14px;
  415. color: #363636;
  416. }
  417. }
  418. .files {
  419. margin: 0;
  420. li {
  421. list-style: none;
  422. }
  423. a {
  424. color: $--color-primary;
  425. }
  426. }
  427. .singlebox {
  428. position: relative;
  429. float: left;
  430. margin-right: 20px;
  431. .el-upload__tip.help {
  432. position: absolute;
  433. left: 0;
  434. bottom: -20px;
  435. line-height: 20px;
  436. white-space: nowrap;
  437. }
  438. }
  439. .singlefile {
  440. float: left;
  441. max-width: 180px;
  442. margin-right: 20px;
  443. line-height: 30px;
  444. white-space: nowrap;
  445. text-overflow: ellipsis;
  446. overflow: hidden;
  447. }
  448. .link {
  449. color: $--color-primary;
  450. &:hover {
  451. color: $--color-primary;
  452. text-decoration: underline;
  453. }
  454. }
  455. /*
  456. .el-submenu .el-menu-item {
  457. line-height: 40px;
  458. height: 40px;
  459. } */
  460. .loginPage {
  461. position: relative;
  462. display: flex;
  463. justify-content: center;
  464. height: 100%;
  465. // background: #080D41 url("~@/assets/images/codeLogin/bg.png") no-repeat;
  466. background-size: 100% auto;
  467. overflow: hidden;
  468. .logo, .login_box {
  469. flex: 1;
  470. }
  471. .logo {
  472. height: 135px;
  473. // background: url("~@/assets/logo/logo.png") no-repeat 32% 85px;
  474. background-size: auto 50px;
  475. }
  476. .login_box{
  477. display: flex;
  478. justify-content: center;
  479. align-items: center;
  480. flex-direction: column;
  481. height: 100%;
  482. text-align: center;
  483. z-index: 2;
  484. .title {
  485. margin-top: 0;
  486. font-family: PingFangSC-Semibold;
  487. font-size: 32px;
  488. color: #FFFFFF;
  489. text-align: center;
  490. }
  491. .code_box {
  492. position: relative;
  493. width: 437px;
  494. height: 415px;
  495. // background: rgba(#141C6C, 20%) url("~@/assets/images/codeLogin/line.png") no-repeat;
  496. font-size: 16px;
  497. color: #FFFFFF;
  498. border: 1px solid rgba(#5D66BE, 20%);
  499. .login-code {
  500. position: absolute;
  501. width: 300px;
  502. height: 320px;
  503. left: 50%;
  504. top: 50%;
  505. margin-left: -150px;
  506. margin-top: -160px;
  507. border-radius: 5px;
  508. background-color: #fff;
  509. }
  510. }
  511. .el-button--medium {
  512. font-size: 16px;
  513. }
  514. }
  515. .login_form_title {
  516. margin: 0px auto 30px auto;
  517. text-align: center;
  518. color: #000;
  519. }
  520. .login-form {
  521. border-radius: 6px;
  522. background: #ffffff;
  523. width: 400px;
  524. padding: 25px 25px 5px 25px;
  525. .el-input {
  526. height: 38px;
  527. input {
  528. height: 38px;
  529. }
  530. }
  531. .input-icon {
  532. height: 39px;
  533. width: 14px;
  534. margin-left: 2px;
  535. }
  536. }
  537. .login-tip {
  538. font-size: 13px;
  539. text-align: center;
  540. color: #bfbfbf;
  541. }
  542. .login-code {
  543. width: 33%;
  544. height: 38px;
  545. float: right;
  546. img {
  547. cursor: pointer;
  548. vertical-align: middle;
  549. }
  550. }
  551. .login-code-img {
  552. height: 38px;
  553. }
  554. }
  555. .summary {
  556. border: 1px solid #dfe6ec;
  557. border-top: none;
  558. padding: 10px 20px;
  559. text-align: right;
  560. &:after {
  561. content: '';
  562. clear: both;
  563. display: block;
  564. }
  565. .summaryTxt {
  566. float: right;
  567. margin-left: 20px;
  568. font-weight: bold;
  569. line-height: 36px;
  570. .summaryInput {
  571. display: inline-block;
  572. width: 200px;
  573. }
  574. }
  575. .red {
  576. color: #f00;
  577. }
  578. }
  579. .ti-help {
  580. display: flex;
  581. .ti-input {
  582. width: 1px;
  583. .el-form-item__error {
  584. width: 120px;
  585. }
  586. }
  587. .ti-label {
  588. flex: 1;
  589. text-align: center;
  590. }
  591. }
  592. .input-with-select .el-input-group__append {
  593. background-color: #fff;
  594. .el-select .el-input {
  595. width: 100px!important;
  596. }
  597. }
  598. //首页
  599. .stat_box {
  600. position: relative;
  601. height: 120px;
  602. padding: 20px 20px 20px 110px;
  603. background: #FAF9FF;
  604. border-radius: 4px;
  605. margin-bottom: 10px;
  606. .icon {
  607. position: absolute;
  608. left: 20px;
  609. top: 50%;
  610. width: 76px;
  611. height: 76px;
  612. border-radius: 50%;
  613. transform: translate(0, -50%);
  614. &.icon_1 {
  615. background: url(~@/assets/images/stat_ent.png) no-repeat center;
  616. }
  617. &.icon_2 {
  618. background: url(~@/assets/images/stat_fin_all.png) no-repeat center;
  619. }
  620. &.icon_3 {
  621. background: url(~@/assets/images/stat_fined.png) no-repeat center;
  622. }
  623. &.icon_4 {
  624. background: url(~@/assets/images/stat_fining.png) no-repeat center;
  625. }
  626. &.icon_5 {
  627. background: url(~@/assets/images/stat_project.png) no-repeat center;
  628. }
  629. &.icon_6 {
  630. background: url(~@/assets/images/stat_projected.png) no-repeat center;
  631. }
  632. &.icon_7 {
  633. background: url(~@/assets/images/stat_projecting.png) no-repeat center;
  634. }
  635. &.icon_8 {
  636. background: url(~@/assets/images/stat_serviced.png) no-repeat center;
  637. }
  638. &.icon_9 {
  639. background: url(~@/assets/images/stat_servicing.png) no-repeat center;
  640. }
  641. }
  642. &>span {
  643. display: block;
  644. margin: 5px 0;
  645. color: #363636;
  646. text-align: center;
  647. }
  648. .num {
  649. font-family: PingFang-SC-Medium;
  650. font-size: 32px;
  651. }
  652. .label {
  653. font-size: 14px;
  654. }
  655. }
  656. .entIcon {
  657. position: absolute;
  658. right: 20px;
  659. width: 200px;
  660. height: 200px;
  661. z-index: 111;
  662. }
  663. .entIcon {
  664. &.pass {
  665. background: url(~@/assets/images/icon_pass.png) no-repeat center;
  666. }
  667. &.refuse {
  668. background: url(~@/assets/images/icon_refuse.png) no-repeat center;
  669. }
  670. &.audit {
  671. background: url(~@/assets/images/icon_audit.png) no-repeat center;
  672. }
  673. }
  674. .tips {
  675. font-size: 14px;
  676. line-height: 25px;
  677. }
  678. /* 详情表格 */
  679. .table_register {
  680. // width: 80%;
  681. border-collapse: collapse;
  682. table-layout: fixed;
  683. border: 1px solid #eee;
  684. font-size: 15px;
  685. margin: 0 auto;
  686. th,
  687. td {
  688. position: relative;
  689. line-height: 19px;
  690. padding: 4px 20px;
  691. border: 1px solid #eee;
  692. word-wrap: break-word;
  693. word-break: break-all;
  694. }
  695. .tr_title {
  696. background: #f2f6fc;
  697. }
  698. th {
  699. // width: 200px;
  700. color: #313031;
  701. text-align: right;
  702. background: #fff;
  703. }
  704. .th_title {
  705. text-align: left;
  706. color: #5282b6;
  707. font-size: 18px;
  708. font-weight: 700;
  709. line-height: 19px;
  710. padding: 12px 20px;
  711. }
  712. }
  713. .table_edit {
  714. border-collapse: collapse;
  715. table-layout: fixed;
  716. border: 1px solid #eee;
  717. font-size: 15px;
  718. margin: 0 auto;
  719. .th_title {
  720. text-align: left;
  721. color: #5282b6;
  722. font-size: 18px;
  723. font-weight: 700;
  724. line-height: 19px;
  725. // padding: 15px 20px;
  726. }
  727. }
  728. .table_register {
  729. .el-input--medium .el-input__inner {
  730. height: 25px !important;
  731. line-height: 25px !important;
  732. }
  733. .el-form-item {
  734. margin-bottom: 0px;
  735. }
  736. .el-form-item__error {
  737. position: relative;
  738. }
  739. .el-input--medium {
  740. font-size: 15px;
  741. }
  742. .el-input--medium .el-input__inner {
  743. height: 25px;
  744. line-height: 25px;
  745. }
  746. .el-input-group__append, .el-input-group__prepend {
  747. padding: 0;
  748. }
  749. }
  750. .table_edit {
  751. .el-table .el-form-item {
  752. margin: 5px 0;
  753. }
  754. }
  755. // .tablebar {
  756. // position: relative;
  757. // padding-left: 15px;
  758. // margin-right: 15px;
  759. // font-size: 16px;
  760. // line-height: 28px;
  761. // font-weight: bold;
  762. // color: #363636;
  763. // margin-left: 2%;
  764. // &:before {
  765. // content: "1、";
  766. // display: block;
  767. // position: absolute;
  768. // left: -2%;
  769. // transform: translate(0, -50%);
  770. // width: 5px;
  771. // height: 16px;
  772. // font-size: 16px;
  773. // }
  774. // }
  775. // .table-con {
  776. // counter-reset: myCounter;
  777. // }
  778. // .table-con table::before {
  779. // counter-increment: myCounter;
  780. // content: counter(myCounter) '.';
  781. // position: absolute;
  782. // left: 2%;
  783. // color: #5282b6;
  784. // font-size: 18px;
  785. // font-weight: 700;
  786. // line-height: 19px;
  787. // }
  788. .th_tips {
  789. color: #4882B5;
  790. }
  791. .el-table {
  792. font-size: 15px;
  793. }
  794. .el-tabs__item {
  795. font-size: 17px;
  796. }
  797. .pd10 {
  798. padding: 10px 0;
  799. }