App.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. <template>
  2. <transition name="el-fade-in-linear">
  3. <router-view />
  4. </transition>
  5. </template>
  6. <style lang='scss'>
  7. .el-drawer__wrapper .el-drawer__body{
  8. overflow-y: auto !important;
  9. }
  10. * {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. html,
  15. body {
  16. height: 100%;
  17. width: 100%;
  18. }
  19. p {
  20. margin: 0;
  21. padding: 0;
  22. }
  23. body {
  24. overflow: hidden;
  25. }
  26. .position {
  27. display: flex;
  28. margin: 10px 0;
  29. color: #999 !important;
  30. .el-breadcrumb__inner {
  31. color: #999 !important;
  32. }
  33. }
  34. .nodata {
  35. padding: 50px 0 0;
  36. text-align: center;
  37. display: block;
  38. width: 100%;
  39. color: #999;
  40. font-size: 14px;
  41. }
  42. .look {
  43. display: flex;
  44. width: 100%;
  45. height: 80px;
  46. margin-bottom: 20px;
  47. .l-look {
  48. background: #ffffff;
  49. box-shadow: 0px 0px 10px 2px rgba(153, 153, 153, 0.2);
  50. width: 440px;
  51. margin-right: 10px;
  52. .meterItem {
  53. height: 80px;
  54. text-align: center;
  55. display: flex;
  56. justify-content: center;
  57. align-items: center;
  58. flex-direction: column;
  59. .num {
  60. color: #2e69eb;
  61. font-size: 24px;
  62. }
  63. .text {
  64. margin-top: 5px;
  65. color: #0c1935;
  66. font-size: 16px;
  67. }
  68. }
  69. }
  70. .r-look {
  71. background: #ffffff;
  72. box-shadow: 0px 0px 10px 2px rgba(153, 153, 153, 0.2);
  73. flex: 1;
  74. .img {
  75. height: 80px;
  76. line-height: 80px;
  77. text-align: center;
  78. }
  79. .meterItem {
  80. margin-left: 5px;
  81. height: 80px;
  82. text-align: center;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. flex-direction: column;
  87. .num {
  88. color: #2e69eb;
  89. font-size: 24px;
  90. }
  91. .text {
  92. margin-top: 5px;
  93. color: #0c1935;
  94. font-size: 16px;
  95. }
  96. }
  97. }
  98. }
  99. .page_info {
  100. height: calc(100% - 0.8rem);
  101. width: 100%;
  102. padding: 0.25rem 0.25rem 0px 0.25rem;
  103. .count_pannel {
  104. display: flex;
  105. width: 100%;
  106. height: 1rem;
  107. margin-bottom: 0.25rem;
  108. .pannel_info {
  109. flex: 1;
  110. display: flex;
  111. align-items: center;
  112. justify-content: space-around;
  113. background: #ffffff;
  114. box-shadow: 0px 0px 10px 2px rgba(153, 153, 153, 0.2);
  115. .pannel_item {
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. .img {
  120. margin-right: 0.075rem;
  121. }
  122. .count_info {
  123. display: flex;
  124. flex-direction: column;
  125. align-items: center;
  126. justify-content: center;
  127. .count_up {
  128. color: #2e69eb;
  129. font-size: 0.3rem;
  130. font-weight: 600;
  131. }
  132. .text {
  133. margin-top: 0.075rem;
  134. color: #0c1935;
  135. font-size: 0.2rem;
  136. }
  137. }
  138. }
  139. }
  140. }
  141. .card_info {
  142. height: calc(100% - 1.25rem);
  143. background: #ffffff;
  144. box-shadow: 0px 0px 10px 2px rgba(153, 153, 153, 0.2);
  145. .function_btn {
  146. padding: 0.25rem;
  147. }
  148. .info_list {
  149. height: calc(100% - 1.75rem);
  150. // margin: 0 0.25rem;
  151. overflow: hidden;
  152. .el-tag--small {
  153. font-size: 0.15rem;
  154. height: 0.3rem;
  155. padding: 0 0.1rem;
  156. line-height: 0.3rem;
  157. }
  158. }
  159. }
  160. }
  161. .search_pannel {
  162. height: 1rem;
  163. background: #ffffff;
  164. box-shadow: 0px 0px 10px 2px rgba(153, 153, 153, 0.2);
  165. margin-bottom: 0.25rem;
  166. padding: 0.25rem;
  167. display: flex;
  168. align-items: center;
  169. .el-form {
  170. width: 100%;
  171. display: flex;
  172. .el-form-item {
  173. display: flex;
  174. align-items: center;
  175. margin-bottom: 0;
  176. margin-right: 0.15rem;
  177. .el-form-item__label {
  178. color: #0c1935;
  179. line-height: 0.5rem;
  180. padding: 0 0.15rem 0 0;
  181. font-size: 0.175rem;
  182. }
  183. .el-form-item__content {
  184. line-height: 0.5rem;
  185. }
  186. .el-input__inner {
  187. height: 0.5rem;
  188. line-height: 0.5rem;
  189. }
  190. .el-input__icon {
  191. line-height: 0.5rem;
  192. }
  193. .el-range-editor {
  194. width: 3rem;
  195. padding: 0.0375rem 0.0625rem;
  196. .el-range__icon,
  197. .el-range__close-icon {
  198. display: none;
  199. }
  200. .el-range-input {
  201. flex: 1;
  202. font-size: 0.175rem;
  203. }
  204. .el-range-separator {
  205. width: 0.325rem;
  206. line-height: 0.4rem;
  207. padding: 0 0.0625rem;
  208. font-size: 0.175rem;
  209. color: #999;
  210. }
  211. }
  212. .el-input {
  213. width: 2.5rem;
  214. font-size: 0.175rem;
  215. .el-input__clear {
  216. font-size: 0.175rem;
  217. }
  218. }
  219. .el-select {
  220. width: 2.5rem;
  221. font-size: 0.175rem;
  222. .el-select__caret {
  223. font-size: 0.175rem;
  224. }
  225. }
  226. }
  227. }
  228. .search_btn {
  229. flex: 1;
  230. display: flex;
  231. }
  232. }
  233. .el-button {
  234. font-size: 0.175rem !important;
  235. //padding: 0.1rem 0.25rem !important;
  236. }
  237. .iconfont {
  238. font-size: 0.2rem !important;
  239. }
  240. .btn_color {
  241. color: #2e69eb !important;
  242. border: 1px solid #2e69eb !important;
  243. }
  244. .btn_color.is-plain:active {
  245. background: #fff !important;
  246. outline: 0 !important;
  247. }
  248. .btn_color.is-active,
  249. .btn_color.is-plain:active {
  250. color: #3a8ee6 !important;
  251. border-color: #3a8ee6 !important;
  252. }
  253. .btn_color.is-plain:focus,
  254. .btn_color.is-plain:hover {
  255. background: #fff !important;
  256. border-color: #409eff !important;
  257. color: #409eff !important;
  258. }
  259. a:focus,
  260. a:hover {
  261. text-decoration: none !important;
  262. }
  263. .el-link {
  264. font-size: 0.175rem !important;
  265. }
  266. .el-table {
  267. font-size: 0.175rem !important;
  268. th {
  269. padding: 0.125rem 0 !important;
  270. }
  271. td {
  272. padding: 0.25rem 0 !important;
  273. }
  274. .cell {
  275. line-height: 0.3rem !important;
  276. }
  277. &::before {
  278. height: 0 !important;
  279. }
  280. .caret-wrapper {
  281. height: 0.3rem !important;
  282. .sort-caret.ascending {
  283. top: 0px;
  284. }
  285. .sort-caret.descending {
  286. bottom: 2px;
  287. }
  288. }
  289. }
  290. .el-pagination {
  291. margin-top: 0.25rem !important;
  292. text-align: center !important;
  293. padding: 0 !important;
  294. button,
  295. span:not([class*="suffix"]) {
  296. font-size: 0.1625rem !important;
  297. height: 0.35rem !important;
  298. line-height: 0.35rem !important;
  299. }
  300. .el-pagination__sizes {
  301. .el-input {
  302. width: 1.25rem !important;
  303. }
  304. .el-input__inner {
  305. font-size: 0.175rem !important;
  306. height: 0.35rem !important;
  307. line-height: 0.35rem !important;
  308. padding-left: 0.1rem !important;
  309. padding-right: 0.3125rem !important;
  310. }
  311. .el-select__caret {
  312. font-size: 0.175rem !important;
  313. line-height: 0.35rem !important;
  314. }
  315. }
  316. .el-pager li {
  317. font-size: 0.1625rem !important;
  318. height: 0.35rem !important;
  319. line-height: 0.35rem !important;
  320. }
  321. .el-pagination__jump {
  322. .el-pagination__editor {
  323. font-size: 0.175rem !important;
  324. height: 0.35rem !important;
  325. line-height: 0.35rem !important;
  326. .el-input__inner {
  327. height: 0.35rem !important;
  328. line-height: 0.35rem !important;
  329. }
  330. }
  331. }
  332. }
  333. .el-drawer__wrapper {
  334. position: fixed;
  335. top: 0;
  336. right: 0;
  337. bottom: 0;
  338. left: 0;
  339. overflow: hidden;
  340. margin: 0;
  341. .el-drawer__body {
  342. overflow: hidden;
  343. .drawer_info {
  344. width: 100%;
  345. height: 100%;
  346. overflow: hidden;
  347. .sub_title {
  348. margin: 0 0.25rem 0.375rem 0;
  349. font-size: 14px;
  350. font-weight: 400;
  351. color: #0c1935;
  352. padding-left: 0.125rem;
  353. position: relative;
  354. line-height: 14px;
  355. &:before {
  356. position: absolute;
  357. top: 0;
  358. left: 0;
  359. height: 100%;
  360. display: block;
  361. content: "";
  362. border-left: 0.05rem solid #2681f3;
  363. }
  364. }
  365. .drawer_list {
  366. max-height: calc(100% - 2.075rem);
  367. position: relative;
  368. overflow-y: auto;
  369. overflow-x: hidden;
  370. padding: 0 0.25rem;
  371. .el-form-item {
  372. margin-bottom: 0.25rem;
  373. margin-right: 0.125rem;
  374. display: flex;
  375. .el-form-item__label {
  376. line-height: 0.5rem;
  377. width: 1.25rem;
  378. font-size: 0.175rem;
  379. padding: 0 0.15rem 0 0;
  380. }
  381. .el-form-item__content {
  382. flex: 1;
  383. font-size: 0.175rem;
  384. line-height: 0.5rem;
  385. }
  386. }
  387. .special_form_item {
  388. .el-form-item__label {
  389. line-height: 0.25rem;
  390. }
  391. }
  392. .mb15 {
  393. margin-bottom: 0.25rem;
  394. color: #0c1935;
  395. font-size: 0.175rem;
  396. span {
  397. color: #697081;
  398. }
  399. }
  400. .img_col {
  401. display: flex;
  402. img {
  403. margin-right: 0.125rem;
  404. width: 1.25rem;
  405. height: 1.25rem;
  406. vertical-align: top;
  407. cursor: pointer;
  408. }
  409. }
  410. }
  411. .company.drawer_list {
  412. .el-form-item {
  413. .el-form-item__label {
  414. width: 2.5rem;
  415. }
  416. }
  417. }
  418. .mainArea.drawer_list {
  419. .el-form-item {
  420. .el-form-item__label {
  421. width: 1.9rem;
  422. }
  423. }
  424. }
  425. .el-input__inner {
  426. height: 0.5rem;
  427. line-height: 0.5rem;
  428. }
  429. .el-input__icon {
  430. line-height: 0.5rem;
  431. }
  432. .el-range-editor {
  433. width: 100%;
  434. padding: 0.0375rem 0.0625rem;
  435. .el-range__icon,
  436. .el-range__close-icon {
  437. display: none;
  438. }
  439. .el-range-input {
  440. flex: 1;
  441. font-size: 0.175rem;
  442. }
  443. .el-range-separator {
  444. width: 0.325rem;
  445. line-height: 0.4rem;
  446. padding: 0 0.0625rem;
  447. font-size: 0.175rem;
  448. color: #999;
  449. }
  450. }
  451. .el-input {
  452. width: 100%;
  453. font-size: 0.175rem;
  454. .el-input__clear {
  455. font-size: 0.175rem;
  456. }
  457. }
  458. .el-cascader {
  459. font-size: 0.175rem;
  460. line-height: 0.5rem;
  461. }
  462. .el-select {
  463. width: 100%;
  464. font-size: 0.175rem;
  465. .el-select__caret {
  466. font-size: 0.175rem;
  467. }
  468. .el-input__inner {
  469. padding: 0 0.375rem 0 0.1875rem;
  470. }
  471. }
  472. .el-textarea {
  473. font-size: 0.175rem;
  474. }
  475. .el-radio__label {
  476. font-size: 0.175rem;
  477. padding-left: 0.125rem;
  478. }
  479. .el-radio__inner {
  480. width: 0.175rem;
  481. height: 0.175rem;
  482. }
  483. .save_btn {
  484. text-align: center;
  485. margin: 0.25rem 0;
  486. .el-button {
  487. font-size: 0.175rem;
  488. padding: 0.1rem 0.25rem;
  489. }
  490. }
  491. .img_preview {
  492. position: fixed;
  493. top: 0;
  494. left: 0;
  495. width: 100%;
  496. height: 100%;
  497. background: #000;
  498. opacity: 0.5;
  499. display: flex;
  500. justify-content: center;
  501. align-items: center;
  502. img {
  503. width: 40%;
  504. }
  505. }
  506. }
  507. }
  508. }
  509. .el-progress-bar {
  510. padding-right: 100px !important;
  511. margin-right: -100px !important;
  512. }
  513. .el-upload-dragger {
  514. width: 220px;
  515. height: 130px;
  516. }
  517. .el-dropdown-menu__item:focus,
  518. .el-dropdown-menu__item:not(.is-disabled):hover {
  519. color: #2e69eb !important;
  520. }
  521. input::-webkit-outer-spin-button,
  522. input::-webkit-inner-spin-button {
  523. -webkit-appearance: none;
  524. }
  525. input[type="number"] {
  526. -moz-appearance: textfield;
  527. }
  528. .input_suffix {
  529. position: absolute;
  530. right: 0.125rem;
  531. color: #c0c4cc;
  532. }
  533. .drawer_title {
  534. display: flex;
  535. justify-content: space-between;
  536. align-items: center;
  537. height: 0.8rem;
  538. font-size: 0.2rem;
  539. font-weight: 600;
  540. border-bottom: 1px solid #d8d8d8;
  541. padding-left: 0.25rem;
  542. margin: 0 0 0.375rem 0;
  543. color: #0c1935;
  544. }
  545. .icon-export {
  546. margin-right: 4px;
  547. }
  548. .icon-feeInfo,
  549. .icon-open,
  550. .icon-forbidden,
  551. .icon-hasten {
  552. font-style: normal !important;
  553. margin-right: 0.075rem;
  554. }
  555. //碳资产 填报数据tab 字体设置
  556. .cfilldata .el-tabs__item{
  557. font-size: 12px!important;
  558. }
  559. .el-tabs__content{height:100%}
  560. .cfilldata .el-tabs__content{
  561. height: 400px;
  562. flex:1
  563. }
  564. .seasonal .el-tabs__content{height:100%}
  565. .el-card.is-always-shadow,.current_position,.aui-sidebar{
  566. box-shadow: none !important;
  567. }
  568. .cell .el-tag{
  569. background-color: #F2F8FF !important;
  570. border: none;
  571. }
  572. </style>
  573. <style>
  574. .app-container{
  575. padding: 0 !important;
  576. margin: 20px;
  577. min-height: calc(100% - 88px);
  578. background: #FFFFFF;
  579. }
  580. .el-card{
  581. border: none !important;
  582. }
  583. .agent_page{
  584. width: calc(100% - 26px);
  585. height: calc(100vh - 26px);
  586. background: #FFFFFF;
  587. border-radius: 6px;
  588. border: 1px solid #F3F4F6;
  589. margin: 12px;
  590. overflow-y: auto;
  591. }
  592. .adf{
  593. display: flex;
  594. }
  595. .adfac{
  596. display: flex;
  597. align-items: center;
  598. }
  599. .adfacjc{
  600. display: flex;
  601. align-items: center;
  602. justify-content: center;
  603. }
  604. .adfacjb{
  605. display: flex;
  606. align-items: center;
  607. justify-content: space-between;
  608. }
  609. .adffcacjc{
  610. display: flex;
  611. flex-direction: column;
  612. align-items: center;
  613. justify-content: center;
  614. }
  615. .adffcacjb{
  616. display: flex;
  617. flex-direction: column;
  618. align-items: center;
  619. justify-content: space-between;
  620. }
  621. </style>