feat(签到组件): 重构签到功能并优化样式
- 添加签到组件到详情页 - 修改签到初始化逻辑,使用SignInComponent代替原有方法 - 优化签到弹窗样式和交互 - 移除调试用的console.log - 更新资源路径为绝对路径
This commit is contained in:
@@ -16,7 +16,7 @@ const appSectionIndex = createApp({
|
||||
onMounted(() => {
|
||||
getUserInfoWin();
|
||||
setTimeout(() => {
|
||||
signInBox._init();
|
||||
SignInComponent.initComponent();
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
|
||||
@@ -399,8 +399,6 @@ const removeQueryQ = (isReplace = false) => {
|
||||
|
||||
// 跳转登录
|
||||
const go_ajax_Login = () => {
|
||||
console.log("go_ajax_Login");
|
||||
|
||||
if (typeof ajax_login === "function") ajax_login();
|
||||
else window.open("https://passport.gter.net/?referer=" + escape(location.href), "_self");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user