Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-19 20:25:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e8301f5e0d6220473b9c4f5606ce801880108ae7
e8301f5e
1 parent
e76c5c2c
style(PointsCollector): 调整点数标签字体大小以提高可读性
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/components/PointsCollector.vue
src/components/PointsCollector.vue
View file @
e8301f5
...
...
@@ -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: 2
4
rpx;
font-size: 2
6
rpx;
margin-top: 10rpx;
opacity: 0.9;
}
...
...
@@ -630,7 +630,7 @@ const handleGoToRewards = () => {
}
.points-label {
font-size: 2
0
rpx;
font-size: 2
4
rpx;
}
}
...
...
Please
register
or
login
to post a comment