App.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <div id="app">
  3. <router-view></router-view>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: "app",
  9. components: {},
  10. methods: {}
  11. };
  12. </script>
  13. <style lang='less'>
  14. * {
  15. font-family: "微软雅黑";
  16. }
  17. .fl {
  18. float: left;
  19. }
  20. .fr {
  21. float: right;
  22. }
  23. .overflowEllipsis2 {
  24. overflow: hidden;
  25. text-overflow: ellipsis;
  26. display: -webkit-box;
  27. -webkit-line-clamp: 2;
  28. -webkit-box-orient: vertical !important;
  29. text-overflow: -o-ellipsis-lastline;
  30. }
  31. .btn {
  32. display: inline-block;
  33. height: 0.36rem;
  34. line-height: 0.36rem;
  35. font-size: 0.24rem;
  36. text-align: center;
  37. border-radius: 0.3rem;
  38. border-width: 0.01rem;
  39. border-style: solid;
  40. padding: 0 0.16rem;
  41. &.daipingjia {
  42. border-color: #e0872c;
  43. color: #e0872c;
  44. background: #fbf3e9;
  45. }
  46. &.daiqiangdan {
  47. border-color: #991f00;
  48. color: #991f00;
  49. background: #f4e8e5;
  50. }
  51. &.yiguanbi {
  52. border-color: #333;
  53. color: #333;
  54. background: #eee;
  55. }
  56. &.daishenhe {
  57. border-color: #825b00;
  58. color: #825b00;
  59. background: #f2eee5;
  60. }
  61. &.chulizhong {
  62. border-color: #003057;
  63. color: #003057;
  64. background: #e5eaee;
  65. }
  66. &.yijiejue {
  67. border-color: #40a19c;
  68. color: #40a19c;
  69. background: #ebf5f5;
  70. }
  71. &.chongxinzhipai {
  72. border-color: #48a843;
  73. color: #48a843;
  74. background: #ecf6ec;
  75. }
  76. &.daijiedan {
  77. border-color: #c2654e;
  78. color: #c2654e;
  79. background: #faf4f2;
  80. }
  81. &.zhixingzhong {
  82. border-color: #005395;
  83. color: #005395;
  84. background: #e5edf4;
  85. }
  86. &.yiwancheng {
  87. border-color: #056b00;
  88. color: #056b00;
  89. background: #e6f0e5;
  90. }
  91. }
  92. // 巡检详情按钮
  93. .inspedtionDetail {
  94. .cube-switch-ui::before {
  95. border-color: #ccc !important;
  96. background-color: green !important;
  97. }
  98. .abnormal {
  99. .cube-switch-ui{
  100. border-color: #ccc !important;
  101. background-color: red !important;
  102. }
  103. }
  104. }
  105. // 新建事件按钮
  106. .newIncident {
  107. .cube-btn.cube-btn_active,
  108. .cube-btn:active {
  109. background-color: #fff !important;
  110. }
  111. }
  112. // font-color 字体颜色
  113. i.iconfont {
  114. &.icon-yiyuqi {
  115. color: #991f00;
  116. }
  117. &.icon-jijiang {
  118. color: #a37200;
  119. }
  120. &.icon-zhengchang {
  121. color: #056a00;
  122. }
  123. }
  124. </style>