App.vue 2.4 KB

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