Browse Source

前端问题优化

dengliying 9 months ago
parent
commit
83db17c6a2
2 changed files with 9 additions and 2 deletions
  1. 2 0
      ruoyi-ui/src/views/home1.vue
  2. 7 2
      ruoyi-ui/src/views/home2.vue

+ 2 - 0
ruoyi-ui/src/views/home1.vue

@@ -291,6 +291,7 @@
     padding: 50px 20px 50px 60px;
     display: flex;
     align-items: center;
+    cursor: pointer;
   }
   .topItem .icon{
     width: 40px;
@@ -360,6 +361,7 @@
   align-items: center;
   justify-content: center;
   position: absolute;
+  cursor: pointer;
  }
 
  .bottom .card.card2{

+ 7 - 2
ruoyi-ui/src/views/home2.vue

@@ -258,7 +258,7 @@ export default {
 
   .card{
     display: flex;
-    justify-content: space-between;
+    justify-content: center;
   }
   .card_left ,.card_right{
     background: url(../assets/images/index/cardBg.png) no-repeat ;
@@ -266,6 +266,7 @@ export default {
     width: 672px;
     height: 334px;
     padding: 40px 30px 30px 50px;
+    margin: 0 20px;
   }
 
   .card_title{
@@ -308,6 +309,10 @@ export default {
 
   .echartsBox{
     display: flex;
-    justify-content: space-between;
+    justify-content: center;
+  }
+
+  .echartsBox_Barchart,.echartsBox_Piechart{
+    margin: 0 20px;
   }
 </style>