diff --git a/pages/home/article-list.vue b/pages/home/article-list.vue index 79e85d7..8ee522a 100644 --- a/pages/home/article-list.vue +++ b/pages/home/article-list.vue @@ -68,6 +68,8 @@ watch(articleIds, n => { margin: 0 30rpx; margin-top: 24rpx; padding-bottom: 40rpx; + width: calc(100% - 60rpx); + box-sizing: border-box; } .arrow-icon { @@ -91,6 +93,8 @@ watch(articleIds, n => { min-height: 188rpx; padding: 20rpx; align-items: flex-start; + width: 100%; + box-sizing: border-box; } .article-card:active { diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue index 6323910..ce1696b 100644 --- a/pages/home/customer-archive.vue +++ b/pages/home/customer-archive.vue @@ -24,20 +24,10 @@ {{ i.relationship }} - {{ i.name }} - - - - {{ i.age > 0 ? i.age + '岁' : '' }} - - @@ -203,7 +193,7 @@ watch(() => props.corpId, n => { .customer-card { width: 160rpx; - height: 160rpx; + height: 110rpx; display: flex; align-items: center; justify-content: center; @@ -219,9 +209,6 @@ watch(() => props.corpId, n => { border: 2rpx solid #065BD6; } -.customer-name { - margin-top: 12rpx; -} .relationship-tag { position: absolute; @@ -307,10 +294,6 @@ watch(() => props.corpId, n => { margin-bottom: 12rpx; } -.sex-icon { - width: 32rpx; - height: 32rpx; -} .info-card-new { position: relative;