feat(签到组件): 添加签到功能及相关样式和逻辑
- 新增签到组件HTML模板和CSS样式 - 实现签到功能的核心逻辑和交互 - 添加签到日历和用户列表展示 - 支持签到规则查看和签到操作 - 集成API接口获取签到数据和提交签到
This commit is contained in:
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user