Merge remote-tracking branch 'origin/master'

This commit is contained in:
En 2026-03-17 10:27:33 +08:00
commit 113994238b
3 changed files with 14 additions and 16 deletions

View File

@ -26,6 +26,7 @@ declare module 'vue' {
AForm: typeof import('ant-design-vue/es')['Form']
AFormItem: typeof import('ant-design-vue/es')['FormItem']
AImage: typeof import('ant-design-vue/es')['Image']
AImagePreviewGroup: typeof import('ant-design-vue/es')['ImagePreviewGroup']
AInput: typeof import('ant-design-vue/es')['Input']
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
AInputPassword: typeof import('ant-design-vue/es')['InputPassword']
@ -34,6 +35,9 @@ declare module 'vue' {
ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent']
ALayoutHeader: typeof import('ant-design-vue/es')['LayoutHeader']
ALayoutSider: typeof import('ant-design-vue/es')['LayoutSider']
AList: typeof import('ant-design-vue/es')['List']
AListItem: typeof import('ant-design-vue/es')['ListItem']
AListItemMeta: typeof import('ant-design-vue/es')['ListItemMeta']
AMenu: typeof import('ant-design-vue/es')['Menu']
AMenuDivider: typeof import('ant-design-vue/es')['MenuDivider']
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']

View File

@ -1,7 +1,9 @@
<template>
<div class="profile-view">
<div class="page-header">
<h1><UserOutlined /> 个人信息</h1>
<h1>
<UserOutlined /> 个人信息
</h1>
<p>查看和修改您的账户信息</p>
</div>
@ -32,9 +34,9 @@
<a-descriptions-item label="邮箱">
{{ profile.email || '-' }}
</a-descriptions-item>
<a-descriptions-item label="所属机构" v-if="profile.tenantId">
<!-- <a-descriptions-item label="所属机构" v-if="profile.tenantId">
{{ profile.tenantName || `租户ID: ${profile.tenantId}` }}
</a-descriptions-item>
</a-descriptions-item> -->
</a-descriptions>
</div>
</div>

View File

@ -1,5 +1,5 @@
<template>
<div class="broadcast-view">
<div class="broadcast-view pos-fixed top-0 left-0 w-full h-full z-999">
<!-- 加载中 -->
<div v-if="loading" class="loading-container">
<a-spin size="large" />
@ -17,17 +17,9 @@
</div>
<!-- 展播内容 -->
<KidsMode
v-else-if="currentLesson && currentSteps.length > 0"
:course="course"
:current-lesson="currentLesson"
:steps="currentSteps"
:activities="activities"
:current-step-index="currentStepIndex"
:timer-seconds="0"
@exit="handleExit"
@step-change="handleStepChange"
/>
<KidsMode v-else-if="currentLesson && currentSteps.length > 0" :course="course" :current-lesson="currentLesson"
:steps="currentSteps" :activities="activities" :current-step-index="currentStepIndex" :timer-seconds="0"
@exit="handleExit" @step-change="handleStepChange" />
<!-- 空状态 -->
<div v-else class="empty-container">
@ -351,7 +343,7 @@ onUnmounted(() => {
document.removeEventListener('keydown', handleKeydown);
// 退
if (document.fullscreenElement) {
document.exitFullscreen().catch(() => {});
document.exitFullscreen().catch(() => { });
}
});
</script>