Rorschach 5 лет назад
Родитель
Сommit
05452167f2
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      pages/main/books/books.wxss

+ 3 - 1
pages/main/books/books.wxss

@@ -1,7 +1,8 @@
 .allBooks {
-    margin-top: 44rpx;
+    /* margin-top: 44rpx; */
     display: flex;
     flex-direction: row;
+    flex-wrap: wrap;
 }
 .book{
     width: 214rpx;
@@ -9,6 +10,7 @@
     text-align: center;
     flex-direction: column;
     margin-left: 28rpx;
+    margin-top: 44rpx;
 }
 .book image{
     display: block;