feat: 修复登录逻辑

This commit is contained in:
Blizzard
2026-02-12 17:23:55 +08:00
parent 5553e2711a
commit daea00ca60
14 changed files with 732 additions and 59 deletions
+10 -8
View File
@@ -233,14 +233,16 @@ Page({
this.setData({ view: 'about' });
},
goToAgreement() {
// TODO: Navigate to agreement page or show inline
wx.showToast({ title: '功能开发中', icon: 'none' });
},
goToPrivacy() {
// TODO: Navigate to privacy page or show inline
wx.showToast({ title: '功能开发中', icon: 'none' });
openDoc(e) {
if (wx.openPrivacyContract) {
wx.openPrivacyContract({
fail: () => {
wx.showToast({ title: '无法打开协议', icon: 'none' });
}
});
} else {
wx.showToast({ title: '当前微信版本不支持查看', icon: 'none' });
}
},
// ======== Profile Editor Popup ========