App.vue 2.4 KB

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