index.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <el-col :span="24" class="equipmentStatus modular">
  3. <div class="title title2" style="margin-left:0">设备状态</div>
  4. <!-- <div class="selectOpition">
  5. <el-select v-model="select" placeholder="请选择设备类型" class="select1">
  6. <el-option
  7. v-for="item in selectList"
  8. :key="item.value"
  9. :label="item.label"
  10. :value="item.value"
  11. >
  12. </el-option>
  13. </el-select>
  14. </div> -->
  15. <seTable @videoClick="clickData" />
  16. <!-- :select="select" -->
  17. </el-col>
  18. </template>
  19. <script>
  20. import seTable from "@/components2/equipmentStatus/seTable.vue";
  21. export default {
  22. name:"equipmentStatus",
  23. data() {
  24. return {
  25. selectList:[
  26. {label:"摄像头",value:1},
  27. {label:"消防设备",value:2},
  28. ],
  29. select:1,
  30. }
  31. },
  32. components: {
  33. seTable,
  34. },
  35. methods: {
  36. //点击行
  37. clickData(row){
  38. this.$emit("postMsg2", row);
  39. },
  40. },
  41. };
  42. </script>
  43. <style lang="scss" scoped>
  44. @import '@/assets/styles/common.scss';
  45. .title{
  46. width:80px;
  47. display: inline-block;
  48. }
  49. .selectOpition{
  50. width:auto;
  51. float:right
  52. }
  53. ::v-deep .el-input__inner {
  54. background-color: transparent !important;
  55. color: $white;
  56. height: 36px;
  57. }
  58. /**修改边框和字体颜色 */
  59. ::v-deep .el-select {
  60. position: relative;
  61. width: 200px;
  62. display: inline-block;
  63. margin-left:20px;
  64. .el-input {
  65. input {
  66. height: 40px;
  67. border-color: $white;
  68. color: $white;
  69. font-size: 14px;
  70. }
  71. }
  72. }
  73. /**修改下拉图标颜色 */
  74. ::v-deep .el-input__suffix {
  75. .el-input__suffix-inner {
  76. .el-icon-arrow-up:before {
  77. color: $white;
  78. padding-left: 0.11rem;
  79. }
  80. }
  81. }
  82. .el-select-dropdown__item{
  83. padding:0 12px !important;
  84. font-size: 12px !important;
  85. height:20px !important;
  86. line-height: 20px !important;
  87. color:$white;
  88. }
  89. .el-select-dropdown__item.hover{
  90. background-color: $modularHoverBackGround;
  91. }
  92. </style>
  93. <style >
  94. .el-scrollbar{
  95. background-color: rgba(35,40,49,1);
  96. }
  97. .el-scrollbar{
  98. border:1px solid rgba(35,40,49,1) !important;
  99. }
  100. </style>