Rorschach 6 年之前
父节点
当前提交
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;