lsc 3 months ago
parent
commit
ba6b36bc72
1 changed files with 8 additions and 5 deletions
  1. 8 5
      src/components/topPage.vue

+ 8 - 5
src/components/topPage.vue

@@ -667,7 +667,7 @@ import { API_CONFIG } from "@/common/apiConfig";
     color: #1f2937;
     font-size: 16px;
     font-weight: 600;
-    margin: 5px 0;
+    margin: auto 0 5px;
     margin-bottom: 4px;
     -webkit-line-clamp: 2;
     display: -webkit-box;
@@ -746,24 +746,27 @@ import { API_CONFIG } from "@/common/apiConfig";
     gap: 16px; /* 网格间距 */
     flex: 2;
 }
-.footListCon{
+/* .footListCon{
     background-color: #fff;
     border-radius: 10px;
     box-shadow: 0px 0px 22.4px 0px #0000000D;
     padding: 16px;
     box-sizing: border-box;
-    transition: all 0.3s ease; /* 统一过渡效果 */
+    transition: all 0.3s ease; 
     cursor: pointer;
-}
+} */
+.footListCon,
 .footListCon6{
     background-color: #fff;
     border-radius: 10px;
     box-shadow: 0px 0px 22.4px 0px #0000000D;
     padding: 16px;
     box-sizing: border-box;
-    cursor: pointer;
     transition: all 0.3s ease; /* 统一过渡效果 */
+    cursor: pointer;
     position: relative;
+    display: flex;
+    flex-direction: column;
 }
 .footListCon6:hover .cha{
     display: block;