Browse Source

前端小修改

chengqian 3 months ago
parent
commit
927a459fbd
1 changed files with 17 additions and 5 deletions
  1. 17 5
      web/src/view/devicesAdmin/screens/screens.vue

+ 17 - 5
web/src/view/devicesAdmin/screens/screens.vue

@@ -109,11 +109,23 @@
                 link
                 @click="openVoiceBroadDialog(scope.row)"
             >远程喊话</el-button>
-            <el-button
-                type="primary"
-                link
-                @click="openSetBrightDialog(scope.row)"
-            >设置</el-button>
+            <el-tooltip
+                class="box-item"
+                effect="dark"
+                placement="top">
+              <template #content>
+                <div>
+                  <span>白天亮度:{{scope.row.dayBright}}%</span><span>&nbsp;&nbsp;晚上亮度:{{scope.row.nightBright}}%</span><br>
+                  <span>声音开:{{scope.row.audioOn}}</span><span>&nbsp;&nbsp;声音关:{{scope.row.audioOff}}</span><br>
+                  <span>屏幕开:{{scope.row.ledOn}}</span><span>&nbsp;&nbsp;屏幕关:{{scope.row.ledOff}}</span><br>
+                </div>
+              </template>
+              <el-button
+                  type="primary"
+                  link
+                  @click="openSetBrightDialog(scope.row)"
+              >设置</el-button>
+            </el-tooltip>
             <el-button
                 type="primary"
                 link