This commit is contained in:
Alex-larget
2026-03-17 18:22:06 +08:00
parent 88915276d1
commit f276595ad6
50 changed files with 2246 additions and 1223 deletions

View File

@@ -6,6 +6,7 @@
const app = getApp()
const { checkAndExecute } = require('../../utils/ruleEngine.js')
const { trackClick } = require('../../utils/trackClick')
// 默认匹配类型配置
// 找伙伴:真正的匹配功能,匹配数据库中的真实用户
@@ -198,6 +199,7 @@ Page({
// 选择匹配类型
selectType(e) {
const typeId = e.currentTarget.dataset.type
trackClick('match', 'tab_click', typeId || '类型')
const type = MATCH_TYPES.find(t => t.id === typeId)
this.setData({
selectedType: typeId,
@@ -207,6 +209,7 @@ Page({
// 点击匹配按钮
async handleMatchClick() {
trackClick('match', 'btn_click', '匹配_' + (this.data.selectedType || ''))
const currentType = MATCH_TYPES.find(t => t.id === this.data.selectedType)
// 导师顾问:先播匹配动画,动画完成后再跳转(不在此处直接跳)

View File

@@ -325,4 +325,5 @@
<!-- 底部留白 -->
<view class="bottom-space"></view>
<env-switch />
</view>