tremble 4 years ago
parent
commit
14e40eaeb7
2 changed files with 14 additions and 0 deletions
  1. 10 0
      css/hardware.css
  2. 4 0
      index.html

+ 10 - 0
css/hardware.css

@@ -60,14 +60,24 @@
   padding-bottom: 10px;
   padding-bottom: 10px;
   text-align: center;
   text-align: center;
   border-radius: 5px;
   border-radius: 5px;
+  min-height: 300px;
 }
 }
 
 
+
+
 .ac-con .ac-body{
 .ac-con .ac-body{
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   padding: 0;
   padding: 0;
 }
 }
 
 
+.ac-con .ac-switch{
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  transform: translate(-50%,-50%);
+}
+
 #air-conditioner{
 #air-conditioner{
   width: 160px;
   width: 160px;
   height: 146px;
   height: 146px;

+ 4 - 0
index.html

@@ -124,6 +124,10 @@
                     </div>
                     </div>
                 </div>
                 </div>
             </div>
             </div>
+            <div class="ac-switch">
+                <div class="ac-title">二楼-大会议室-04-空调</div>
+                <span class="ac-btn">开</span>
+            </div>
         </div>
         </div>
         <div class="m-con">
         <div class="m-con">
             <i class="iconfont iconquxiao"></i>
             <i class="iconfont iconquxiao"></i>