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-10-10 10:53:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c9e180d68d146f65ebe7ca5f9d9165432050ea0e
c9e180d6
1 parent
e972b504
fix(RankingCard): 修正排名大于99时显示为99+而非实际数字
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/RankingCard.vue
src/components/RankingCard.vue
View file @
c9e180d
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-
09 15:57:25
* @LastEditTime: 2025-10-
10 10:53:43
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -114,7 +114,7 @@
<view class="my-rank-content">
<view class="my-rank-left">
<view class="my-rank-number">
{{ myRank.isNotRanked ? '-' : (myRank.rank > 99 ?
myRank.rank + '
+' : myRank.rank) }}
{{ myRank.isNotRanked ? '-' : (myRank.rank > 99 ?
'99
+' : myRank.rank) }}
</view>
<view class="my-avatar">
<image :src="myRank.avatar_url || defaultAvatar" class="my-avatar-img" mode="aspectFill" />
...
...
Please
register
or
login
to post a comment