新增每日签到与补签卡功能
This commit is contained in:
@@ -692,6 +692,20 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div x-show="userInfo.sign_in?.streak_days || userInfo.sign_in?.identity"
|
||||
style="margin-top: 6px;">
|
||||
<span style="display: inline-flex;align-items: center;gap: 6px;padding: 2px 10px;
|
||||
border-radius: 999px;white-space: nowrap;width: fit-content;max-width: 100%;
|
||||
font-size: 11px;font-weight: bold;background: #f0fdfa;border: 1px solid #99f6e4;"
|
||||
:style="'color:' + (userInfo.sign_in?.identity?.color || '#0f766e')">
|
||||
<span x-text="userInfo.sign_in?.identity?.icon || '✅'"></span>
|
||||
<span x-text="'连续签到 ' + (userInfo.sign_in?.streak_days || 0) + ' 天'"></span>
|
||||
<template x-if="userInfo.sign_in?.identity?.label">
|
||||
<span x-text="'· ' + userInfo.sign_in.identity.label"></span>
|
||||
</template>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div style="font-size: 11px; color: #999; margin-top: 4px;">
|
||||
加入: <span x-text="userInfo.created_at"></span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user