Browse Source

样式调整

Chencb1991 8 months ago
parent
commit
5839ffb780

+ 18 - 12
src/main/resources/static/police/css/index.css

@@ -437,12 +437,12 @@ div.data_dongtai{
 }
 .tabbox ul.tabNav li.active:before{
     content: '';
-    width: 80%;
+    width: 70%;
     height:4px;
     background: #106DFF;
     position: absolute;
-    left: 10%;
-    bottom:-4px;
+    left: 15%;
+    bottom:0px;
 }
 .tabbox .content{
     padding:10px 10px 10px 18px;
@@ -1239,7 +1239,7 @@ body{
     line-height: 50px;
 }
 .sysem_unction .body .tabbar span,.dhList .body .tabbar span{
-    font-size: calc(100vw / 1440 * 15);
+    font-size: calc(100vw / 1440 * 18);
     color: #fff;
     font-family: SourceHanSansSCRegular;
     cursor: pointer;
@@ -1265,7 +1265,7 @@ body{
     height: 4px;
     background: #fff;
     position: absolute;
-    bottom: -8px;
+    bottom: -2px;
     left: 10%;
 }
 .dhList .body .tabbar span.active{
@@ -1279,7 +1279,7 @@ body{
     height: 4px;
     background: #106DFF;
     position: absolute;
-    bottom: -8px;
+    bottom: 0px;
     left: 10%;
 }
 .sysem_unction .tabbbox{
@@ -1291,7 +1291,7 @@ body{
     /*box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.08);*/
     width: 1300px;
     margin:calc(100vw / 1440 * 30)  auto;
-    padding: calc(100vw / 1440 * 15);
+    padding: calc(100vw / 1440 * 15) 0 calc(100vw / 1440 * 15) calc(100vw / 1440 * 15);
     box-sizing: border-box;
     background: rgb(219,235,255);
 }
@@ -1299,18 +1299,23 @@ body{
     text-decoration: none;
     font-family: SourceHanSansSCRegular;
     font-weight: 400;
-    font-size:calc(100vw / 1440 * 15);
+    font-size:18px;
     color:#666666;
-    line-height: 30px;
+    height: 44px;
+    line-height: 44px;
     text-align: left;
     font-style: normal;
 
 }
 .dhList .tabbbox>div{
     display: none;
-    min-height: 250px;
+    height: 190px;
+    overflow-y: scroll;
     box-sizing: border-box;
 }
+.dhList .tabbbox>div .con{
+    height: 192px;
+}
 .sysem_unction .tabbbox .item{
     width:calc((100vw - 100vw / 1440 * 120 * 2) / 6);
     text-align: center;
@@ -1361,7 +1366,8 @@ body{
     left: 20px;
 }
 .swiper-container .swiper-slide img{
-    width:calc(100vw / 1440 * 100);
+    /*width:calc(100vw / 1440 * 100);*/
+    width: 80px;
 }
 .swiper-container .swiper-slide p{
     display: inline-block;
@@ -1371,7 +1377,7 @@ body{
     color: #FFFFFF;
     line-height: 30px;
     font-family: SourceHanSansSCNormal;
-    font-size: calc(100vw / 1440 * 16);
+    font-size: calc(100vw / 1440 * 14);
 }
 .swiper-container{
     padding: 0 calc(100vw / 1440 * 40) !important;

+ 1 - 1
src/main/resources/templates/theme/audit/index.html

@@ -854,7 +854,7 @@
         var swiper = new Swiper('.swiper-container', {
             loop: true,
             speed: 2500,
-            slidesPerView: 6,
+            slidesPerView: 7,
             spaceBetween: 30,
             centeredSlides : false,
             watchSlidesProgress : true,