diff --git a/pages/activity/newPeople.vue b/pages/activity/newPeople.vue index 0e82e46..295717d 100644 --- a/pages/activity/newPeople.vue +++ b/pages/activity/newPeople.vue @@ -28,9 +28,9 @@ :is-scroll="true" font-size="30" v-model="current" @change="onChosed"> - - - --> + @@ -479,6 +478,9 @@ .goodsRecommend { overflow: hidden; margin: 10rpx 22rpx 20rpx 22rpx; + display: flex; + flex-wrap: wrap; + justify-content: space-between; .goodsItem { width: 348rpx; @@ -487,7 +489,7 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + margin: 0rpx 0 20rpx 0; .pic { width: 100%; diff --git a/pages/index/index.vue b/pages/index/index.vue index 2796523..15b88a7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -238,9 +238,9 @@ - - - - + --> + @@ -1890,6 +1889,9 @@ .goodsRecommend { overflow: hidden; margin-top: 20rpx; + display: flex; + flex-wrap: wrap; + justify-content: space-between; .goodsItem { width: 345rpx; @@ -1898,7 +1900,7 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + margin: 0rpx 0 20rpx 0; .pic { width: 100%; diff --git a/pages/user/index.vue b/pages/user/index.vue index 36dfe78..ca47f53 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -517,9 +517,9 @@ :src="$picUrl+'/static/user/right.png'"> - - - - + --> + @@ -1289,7 +1289,8 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + // margin: 0rpx 14rpx 20rpx 0; + margin: 0 0 20rpx 0; .pic { width: 100%;