feat: 完善双端演示注册与红娘服务闭环

This commit is contained in:
WorkBuddy
2026-10-21 23:41:47 +08:00
parent afee993626
commit 39a18a50ee
63 changed files with 1298 additions and 217 deletions
+6
View File
@@ -5,6 +5,7 @@
import { authStore, appStore } from '../../stores'
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { ROUTE } from '../../constants'
import { IS_DEV } from '../../env'
interface LoginData {
loggingIn: boolean
@@ -19,6 +20,7 @@ Page({
error: '',
platformName: getApp().globalData.platformName,
slogan: getApp().globalData.slogan,
demoEnabled: IS_DEV,
},
onLoad() {
@@ -77,6 +79,10 @@ Page({
wx.navigateTo({ url: ROUTE.OPERATOR.LOGIN })
},
onDemoRegister() {
wx.navigateTo({ url: ROUTE.AUTH.DEMO_REGISTER })
},
onViewTerms() {
wx.navigateTo({ url: '/pages/help-center/help-center?tab=terms' })
},