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
@@ -9,7 +9,7 @@
<view class="home-icon"></view>
</button>
<view class="nav-spacer"></view>
<button class="icon-button" aria-label="个人中心" @click="emit('open-profile')">
<button class="icon-button" aria-label="个人中心" @click="openProfile">
<view class="account-icon"></view>
</button>
</view>
@@ -107,6 +107,7 @@
<script setup lang="ts">
import { computed, ref } from 'vue'
import type { ClinicalCase } from '../../api/cases'
import { createProfileOpener } from '../../api/navigation'
const props = defineProps<{
caseItem: ClinicalCase | null
@@ -118,6 +119,8 @@ const emit = defineEmits<{
(event: 'go-home'): void
}>()
const openProfile = createProfileOpener(emit)
type OptionKey = 'A' | 'B' | 'C' | 'D'
type TeachingQuestion = {