feat: 联调登录+对话

This commit is contained in:
王天骄
2026-06-05 15:27:29 +08:00
parent 69c6a2969c
commit d962ab98f5
55 changed files with 526 additions and 93 deletions
+4 -1
View File
@@ -2,7 +2,7 @@
<CasesPage
v-if="showCasesPage"
@open-settings="emit('open-settings')"
@open-profile="emit('open-profile')"
@open-profile="openProfile"
@go-home="emit('go-home')"
/>
<view v-else class="matching-page">
@@ -70,6 +70,7 @@
<script setup lang="ts">
import { onMounted, onUnmounted, reactive, ref } from 'vue'
import { fetchMatchingProfile, type MatchingProfile } from '../../api/matching'
import { createProfileOpener } from '../../api/navigation'
import CasesPage from '../cases/cases.vue'
const emit = defineEmits<{
@@ -78,6 +79,8 @@ const emit = defineEmits<{
(event: 'go-home'): void
}>()
const openProfile = createProfileOpener(emit)
type Particle = {
id: number
style: Record<string, string>