Ver código fonte

合并前提交

Luhan1997 4 anos atrás
pai
commit
bcb7f460b4
1 arquivos alterados com 14 adições e 6 exclusões
  1. 14 6
      src/components/device/device.vue

+ 14 - 6
src/components/device/device.vue

@@ -23,7 +23,10 @@
         </div>
 
         <!-- 已链接 -->
-        <div class="connected_box" v-if="connect_show">
+        <div
+          class="connected_box"
+          v-if="connect_show"
+        >
           <device_connected
             @open_choose_toy="open_choose_toy"
             @change_brain_status="change_device_status"
@@ -70,7 +73,10 @@
       </div>
       <!-- 内容 -->
       <div class="padding toy_list">
-        <van-row gutter="14" class="toy_list_content">
+        <van-row
+          gutter="14"
+          class="toy_list_content"
+        >
           <van-col
             v-for="(toy, index) in toy_list"
             :key="index"
@@ -85,7 +91,11 @@
                   : 'toy_item_normal_bg'
               "
             >
-              <img :src="toy.img" alt="" class="toy_img" />
+              <img
+                :src="toy.img"
+                alt=""
+                class="toy_img"
+              />
               <text class="toy_text padding-top">{{ toy.name }}</text>
             </div>
           </van-col>
@@ -93,8 +103,7 @@
       </div>
       <!-- 结尾 -->
       <div class="toy_actions padding text-center">
-        <view class="text-gray toy_action_text padding"
-          >选择你最感兴趣的项目,点击“选好了”以后将会自动连接
+        <view class="text-gray toy_action_text padding">选择你最感兴趣的项目,点击“选好了”以后将会自动连接
         </view>
         <button
           class="cu-btn lg cu-btn-primary text-white text-center padding"
@@ -278,7 +287,6 @@ export default {
                 }
               },
             });
-
           }
         },
       });