hookehuyr

style(PointsCollector): 调整点数标签字体大小以提高可读性

......@@ -87,10 +87,10 @@ const isCollecting = ref(false) // 是否正在收集,防止重复触发
*/
const responsiveHeight = computed(() => {
const { windowWidth, windowHeight } = Taro.getWindowInfo();
// iPad和平板设备检测
const isTablet = windowWidth >= 768 || (windowWidth > windowHeight && windowWidth >= 1024);
if (isTablet) {
// 平板设备使用更保守的高度,确保圆圈不被切掉
return Math.min(windowHeight * 0.6, 600) + 'px';
......@@ -521,7 +521,7 @@ const handleGoToRewards = () => {
.points-label {
display: block;
font-size: 24rpx;
font-size: 26rpx;
margin-top: 10rpx;
opacity: 0.9;
}
......@@ -630,7 +630,7 @@ const handleGoToRewards = () => {
}
.points-label {
font-size: 20rpx;
font-size: 24rpx;
}
}
......