Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -87,10 +87,10 @@ const isCollecting = ref(false) // 是否正在收集,防止重复触发 | ... | @@ -87,10 +87,10 @@ const isCollecting = ref(false) // 是否正在收集,防止重复触发 |
| 87 | */ | 87 | */ |
| 88 | const responsiveHeight = computed(() => { | 88 | const responsiveHeight = computed(() => { |
| 89 | const { windowWidth, windowHeight } = Taro.getWindowInfo(); | 89 | const { windowWidth, windowHeight } = Taro.getWindowInfo(); |
| 90 | - | 90 | + |
| 91 | // iPad和平板设备检测 | 91 | // iPad和平板设备检测 |
| 92 | const isTablet = windowWidth >= 768 || (windowWidth > windowHeight && windowWidth >= 1024); | 92 | const isTablet = windowWidth >= 768 || (windowWidth > windowHeight && windowWidth >= 1024); |
| 93 | - | 93 | + |
| 94 | if (isTablet) { | 94 | if (isTablet) { |
| 95 | // 平板设备使用更保守的高度,确保圆圈不被切掉 | 95 | // 平板设备使用更保守的高度,确保圆圈不被切掉 |
| 96 | return Math.min(windowHeight * 0.6, 600) + 'px'; | 96 | return Math.min(windowHeight * 0.6, 600) + 'px'; |
| ... | @@ -521,7 +521,7 @@ const handleGoToRewards = () => { | ... | @@ -521,7 +521,7 @@ const handleGoToRewards = () => { |
| 521 | 521 | ||
| 522 | .points-label { | 522 | .points-label { |
| 523 | display: block; | 523 | display: block; |
| 524 | - font-size: 24rpx; | 524 | + font-size: 26rpx; |
| 525 | margin-top: 10rpx; | 525 | margin-top: 10rpx; |
| 526 | opacity: 0.9; | 526 | opacity: 0.9; |
| 527 | } | 527 | } |
| ... | @@ -630,7 +630,7 @@ const handleGoToRewards = () => { | ... | @@ -630,7 +630,7 @@ const handleGoToRewards = () => { |
| 630 | } | 630 | } |
| 631 | 631 | ||
| 632 | .points-label { | 632 | .points-label { |
| 633 | - font-size: 20rpx; | 633 | + font-size: 24rpx; |
| 634 | } | 634 | } |
| 635 | } | 635 | } |
| 636 | 636 | ... | ... |
-
Please register or login to post a comment