Quellcode durchsuchen

修改了连接状态的脑环电量字体样式超出问题

Luhan1997 vor 4 Jahren
Ursprung
Commit
6e8e173998
1 geänderte Dateien mit 7 neuen und 8 gelöschten Zeilen
  1. 7 8
      src/components/device/device.vue

+ 7 - 8
src/components/device/device.vue

@@ -113,8 +113,8 @@
         </button>
       </div>
     </van-popup>
-    <van-toast id="van-toast"/>
-    <van-dialog id="van-dialog"/>
+    <van-toast id="van-toast" />
+    <van-dialog id="van-dialog" />
 
     <!--    <van-popup-->
     <!--      :show="start_show"-->
@@ -205,16 +205,16 @@ export default {
     scan_to_bluetooth() {
       wx.getSystemInfoAsync({
         success(res) {
-          console.log(res)
+          console.log(res);
           if (res.bluetoothEnabled == false || res.locationEnabled == false) {
-            Toast.fail('请打开蓝牙和位置信息')
+            Toast.fail("请打开蓝牙和位置信息");
           } else {
             wx.scanCode({
               onlyFromCamera: true,
               success: (res) => {
                 wx.vibrateShort({
-                  type: "heavy"
-                })
+                  type: "heavy",
+                });
 
                 let $data = res;
                 if ($data.result) {
@@ -248,7 +248,6 @@ export default {
                 }
               },
             });
-
           }
         },
       });
@@ -538,7 +537,7 @@ export default {
 
 .device_text {
   padding: 3px;
-  font-size: 10px;
+  font-size: 9px;
 }
 
 .moving_dot {