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-03 10:19:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bdfea03e066cba65b4b1128cd43423c8aa1d13bf
bdfea03e
1 parent
925b1d71
style(profile): 调整打卡统计卡片布局和样式
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/views/profile/ProfilePage.vue
src/views/profile/ProfilePage.vue
View file @
bdfea03
...
...
@@ -36,21 +36,21 @@
<!-- <span class="text-xs text-blue-500">查看更多</span> -->
</div>
<div class="flex justify-
between
">
<div class="flex flex-col items-center">
<div class="
text-2xl font-bold text-gray-800
">
<div class="flex justify-
around
">
<div class="flex flex-col items-center
min-w-[4rem]
">
<div class="
font-bold text-gray-800 px-2 leading-normal text-center w-full" style="font-size: 1.5rem;
">
{{ checkIns?.total_days || 0 }}
</div>
<div class="text-xs text-gray-500 mt-1">累计打卡</div>
</div>
<div class="flex flex-col items-center">
<div class="
text-2xl font-bold text-green-600
">
<div class="flex flex-col items-center
min-w-[4rem]
">
<div class="
font-bold text-green-600 px-2 leading-normal text-center w-full" style="font-size: 1.5rem;
">
{{ checkIns?.consecutive_days || 0 }}
</div>
<div class="text-xs text-gray-500 mt-1">连续打卡</div>
</div>
<div class="flex flex-col items-center">
<div class="
text-2xl font-bold text-blue-600
">
<div class="flex flex-col items-center
min-w-[4rem]
">
<div class="
font-bold text-blue-600 px-2 leading-normal text-center w-full" style="font-size: 1.5rem;
">
{{ checkIns?.longest_consecutive_days || 0 }}
</div>
<div class="text-xs text-gray-500 mt-1">最长连续</div>
...
...
Please
register
or
login
to post a comment