From 182c8ce44cc5cb9666cc5e75ab78c9916125f1b8 Mon Sep 17 00:00:00 2001 From: hajimi Date: Mon, 3 Aug 2026 03:04:42 +0800 Subject: [PATCH] fix: tighten points center card spacing --- .../pages/points_center/points_center.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/uniapp/src/packages/pages/points_center/points_center.vue b/uniapp/src/packages/pages/points_center/points_center.vue index ac27e3e..0adbf91 100644 --- a/uniapp/src/packages/pages/points_center/points_center.vue +++ b/uniapp/src/packages/pages/points_center/points_center.vue @@ -179,8 +179,8 @@ $line: #e8ebef; &__bottom-button { position: fixed; - left: 38rpx; - right: 38rpx; + left: 28rpx; + right: 28rpx; bottom: calc(20rpx + env(safe-area-inset-bottom)); z-index: 20; height: 80rpx; @@ -203,7 +203,7 @@ $line: #e8ebef; .points-card { position: relative; height: 280rpx; - margin: 0 36rpx 20rpx; + margin: 0 28rpx 20rpx; overflow: hidden; border-radius: 28rpx; color: #fff; @@ -290,7 +290,7 @@ $line: #e8ebef; } .quick-grid { - margin: 0 36rpx 32rpx; + margin: 0 28rpx 32rpx; display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; @@ -345,7 +345,7 @@ $line: #e8ebef; } .section-heading { - margin: 0 46rpx 20rpx; + margin: 0 32rpx 20rpx; display: flex; align-items: center; justify-content: space-between; @@ -371,8 +371,9 @@ $line: #e8ebef; .detail-card { height: 420rpx; - margin: 0 36rpx; - padding: 0 30rpx; + width: calc(100% - 56rpx); + margin: 0 28rpx; + padding: 0 20rpx; overflow: hidden; border: 1rpx solid $line; border-radius: 22rpx; @@ -459,7 +460,7 @@ $line: #e8ebef; } .points-tip { - margin: 20rpx 40rpx 0; + margin: 20rpx 28rpx 0; min-height: 60rpx; padding: 0 20rpx; display: flex;