Browse Source

整体样式调整

threethousanddream 2 months ago
parent
commit
1cc22da562
1 changed files with 7 additions and 4 deletions
  1. 7 4
      pages/home/home.less

+ 7 - 4
pages/home/home.less

@@ -5,7 +5,6 @@
   .pageIndex {
     width: 100%;
     height: calc(100vh - 380rpx);
-    padding: 0 20rpx;
     box-sizing: border-box;
     background-color: #fff;
     .tabs {
@@ -49,6 +48,7 @@
     }
     .search {
       margin: 20rpx 0;
+      padding: 0 20rpx;
       display: flex;
       justify-content: space-between;
       align-items: center;
@@ -68,15 +68,16 @@
         grid-template-columns: 1fr 1fr;
         align-items: start;
         gap: 20rpx;
-        padding-bottom: 10rpx;
+        padding: 0 20rpx 10rpx;
       }
       .infoList {
         border-radius: 20rpx;
         background-color: #fff;
         box-sizing: border-box;
         overflow: hidden;
-        border: 2rpx solid #f0f0f0;
+        box-shadow: 0 0 8rpx 0 #e6e6e6;
         position: relative;
+        font-size: 0;
         .infoImg {
           width: 100%;
           height: 190rpx;
@@ -86,8 +87,10 @@
           font-size: 24rpx;
           color: #999999;
           padding: 0 20rpx 10rpx;
+          position: relative;
+          border-top: 1rpx solid #f3f3f3;
           .name {
-            line-height: 48rpx;
+            line-height: 56rpx;
             font-size: 28rpx;
             font-weight: 600;
             color: #161616;