diff --git a/src/project/lianhua/AppHome/AppHome.vue b/src/project/lianhua/AppHome/AppHome.vue index 1fc5e46..bcc0ab0 100644 --- a/src/project/lianhua/AppHome/AppHome.vue +++ b/src/project/lianhua/AppHome/AppHome.vue @@ -376,13 +376,14 @@ export default { } .banner-flex { - display: flex; - justify-content: space-between; padding: 0 32px; + box-sizing: border-box; .item-banner { - width: calc(50% - 16px); + display: inline-block; + width: calc(50% - 20px); height: 160px; position: relative; + margin-bottom: 16px; img { width: 100%; height: 100%; @@ -404,6 +405,9 @@ export default { line-height: 32px; } } + .item-banner:nth-of-type(2n-1) { + margin-right: 32px; + } .color-3872BC { color: #3872BC; }