feat(签到组件): 添加签到功能及相关样式和逻辑

- 新增签到组件HTML模板和CSS样式
- 实现签到功能的核心逻辑和交互
- 添加签到日历和用户列表展示
- 支持签到规则查看和签到操作
- 集成API接口获取签到数据和提交签到
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-24 19:12:53 +08:00
parent 8c62e294cf
commit aa0723d138
7 changed files with 958 additions and 5 deletions

View File

@@ -15,6 +15,9 @@ const appSectionIndex = createApp({
setup() {
onMounted(() => {
getUserInfoWin();
setTimeout(() => {
signInBox._init();
}, 3000);
});
let isLogin = ref(false);
@@ -176,8 +179,8 @@ const appSectionIndex = createApp({
let html = formattedText;
html = html.replaceAll('<b>', "[b]");
html = html.replaceAll('</b>', "[/b]");
html = html.replaceAll("<b>", "[b]");
html = html.replaceAll("</b>", "[/b]");
// 1. 还原换行符为<br>标签
html = html.replace(/\n/g, "<br>");