Browse Source

首页样式

gzb
guozhongbo 8 months ago
parent
commit
49426fddf0

+ 2
- 2
src/views/platformSection/home/index.vue View File

@@ -854,7 +854,7 @@ export default {
854 854
     display: flex;
855 855
     justify-content: space-between;
856 856
     align-items: center;
857
-    &.last-child {
857
+    &:last-of-type {
858 858
       margin-bottom: 0;
859 859
     }
860 860
     .cell_item {
@@ -896,7 +896,7 @@ export default {
896 896
       }
897 897
       .content_main {
898 898
         width: 100%;
899
-        height: calc(100% - 48px);
899
+        height: calc(100% - 64px);
900 900
         #controlVersionEcharts,
901 901
         #appVersionEcharts {
902 902
           display: inline-block;

+ 2
- 2
src/views/regionSection/home/index.vue View File

@@ -847,7 +847,7 @@ export default {
847 847
     display: flex;
848 848
     justify-content: space-between;
849 849
     align-items: center;
850
-    &.last-child {
850
+    &:last-of-type{
851 851
       margin-bottom: 0;
852 852
     }
853 853
     .cell_item {
@@ -889,7 +889,7 @@ export default {
889 889
       }
890 890
       .content_main {
891 891
         width: 100%;
892
-        height: calc(100% - 48px);
892
+        height: calc(100% - 64px);
893 893
         #controlVersionEcharts,
894 894
         #appVersionEcharts {
895 895
           display: inline-block;

+ 2
- 2
src/views/schoolSection/home/index.vue View File

@@ -967,7 +967,7 @@ export default {
967 967
     display: flex;
968 968
     justify-content: space-between;
969 969
     align-items: center;
970
-    &.last-child {
970
+    &:last-of-type {
971 971
       margin-bottom: 0;
972 972
     }
973 973
     .cell_item {
@@ -1006,7 +1006,7 @@ export default {
1006 1006
       }
1007 1007
       .content_main {
1008 1008
         width: 100%;
1009
-        height: calc(100% - 48px);
1009
+        height: calc(100% - 64px);
1010 1010
         &.online_devices {
1011 1011
           display: flex;
1012 1012
           justify-content: space-between;

Loading…
Cancel
Save