Ming 4 rokov pred
rodič
commit
65df9d569c
2 zmenil súbory, kde vykonal 6 pridanie a 5 odobranie
  1. 5 4
      src/assets/styles/index.css
  2. 1 1
      src/pages/index/index.vue

+ 5 - 4
src/assets/styles/index.css

@@ -97,7 +97,8 @@ header .showTime {
     flex: 1;
     text-align: center;
     color: #fff;
-    padding: 5%;
+    padding: 50px 5% 10px;
+    display: inline-block
     /* background: pink; */
 }
 
@@ -114,12 +115,12 @@ header .showTime {
     background: rgba(255, 255, 255, 0.00);
     box-shadow: inset 0px -56px 99px 2px #03369F;
     position: relative;
-    height: 100%;
-    /* height: 3.9rem; */
+    /* height: 52%; */
+    height: 3.9rem;
     /* 
     margin-bottom: .975rem; */
     /*  */
-    margin-bottom: .8rem;
+    /* margin-bottom: .8rem; */
     cursor: pointer;
 }
 

+ 1 - 1
src/pages/index/index.vue

@@ -5,7 +5,7 @@
 
     <!-- 首页主体start -->
     <div class="mainbox">
-      <div style="display: flex; margin: 0rem auto; width: 15rem">
+      <div style=" margin: 0rem auto; width: 15rem">
 
         <div class="column">
           <div class="panel alarm" @click="goEleFireCard">