Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
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-12-30 15:43:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3323d293d86e613fae2e5f6a2f714f46296acf6b
3323d293
1 parent
eddce503
fix(profile): 在积分变更显示前添加正号
当积分变更为正数时显示+号,负数保持不变
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/profile/pointsPage.vue
src/views/profile/pointsPage.vue
View file @
3323d29
...
...
@@ -87,7 +87,7 @@
</div>
<div class="text-lg font-bold"
:class="String(item.change).includes('-') ? 'text-[#FF4D4F]' : 'text-[#2E85FF]'">
{{ item.change }}
{{
String(item.change).includes('-') ? '' : '+' }} {{
item.change }}
</div>
</div>
<!-- 分割线 -->
...
...
Please
register
or
login
to post a comment