Browse Source

修改样式

sunjuan 2 năm trước cách đây
mục cha
commit
f1d02f8d6f

+ 3 - 1
nngkxxdp/src/main/resources/static/natj/dataCenter/css/index.css

@@ -51,12 +51,14 @@
 }
 
 .content .year {
-    width: 100%;
+    width: 180px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     color: #333333;
+    left: 50%;
+    margin-left: -90px;
 }
 
 .content .year select {

+ 3 - 1
nngkxxdp/src/main/resources/static/natj/dataCenter/css/indexMbile.css

@@ -57,12 +57,14 @@
 }
 
 .content .year {
-    width: 100%;
+    width: 180px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     color: #333333;
+    left: 50%;
+    margin-left: -90px;
 }
 
 .content .year select {

+ 1 - 1
nngkxxdp/src/main/resources/static/natj/dataCenter/index.html

@@ -52,7 +52,7 @@
                     <option value="2021">2021年</option>
                     <option value="2022">2022年</option>
                 </select>
-                <img src="images/arrow.png" alt="" style="position: absolute;right: 44%;">
+                <img src="images/arrow.png" alt="" style="position: absolute;right: 10px;">
             </div>
             <div class="items div-shbz">
                 <ul class="itemData">

+ 1 - 1
nngkxxdp/src/main/resources/static/natj/dataCenter/indexMobile.html

@@ -56,7 +56,7 @@
                     <option value="2021">2021年</option>
                     <option value="2022">2022年</option>
                 </select>
-                <img src="images/arrow.png" alt="" style="position: absolute;right: 107px;">
+                <img src="images/arrow.png" alt="" style="position: absolute;right: 10px;">
             </div>
             <div class="items div-shbz" style="display: none;">
                 <ul class="itemData">