|
@@ -6,8 +6,9 @@
|
|
|
<fold v-else />
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
- <div class="flex items-center header-info-view">
|
|
|
- <div class="m-r-base">
|
|
|
+ <div class="flex-1 flex items-center header-info-view">
|
|
|
+ <div>当前考试: {{ mainStore?.myUserInfo?.examName }}</div>
|
|
|
+ <div class="m-l-auto m-r-base">
|
|
|
<message :reply-user-id="props.replyUserId" :message-visible="props.messageVisible"></message>
|
|
|
</div>
|
|
|
<div class="m-r-base">
|
|
@@ -25,6 +26,7 @@ import { ElIcon } from 'element-plus'
|
|
|
import { Fold, Expand, Close } from '@element-plus/icons-vue'
|
|
|
import { logout } from '@/utils/shared'
|
|
|
import useMainLayoutStore from '@/store/layout'
|
|
|
+import useMainStore from '@/store/main'
|
|
|
import Message from '@/components/shared/message/Message.vue'
|
|
|
import UserInfo from '@/components/shared/UserInfo.vue'
|
|
|
|
|
@@ -34,6 +36,8 @@ const props = defineProps<{
|
|
|
}>()
|
|
|
|
|
|
const mainLayoutStore = useMainLayoutStore()
|
|
|
+
|
|
|
+const mainStore = useMainStore()
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
@@ -46,7 +50,8 @@ const mainLayoutStore = useMainLayoutStore()
|
|
|
padding: $ExtraSmallGapSpace;
|
|
|
}
|
|
|
.header-info-view {
|
|
|
- margin-left: auto;
|
|
|
+ color: $RegularFontColor;
|
|
|
+ font-size: $SmallFont;
|
|
|
.close-icon {
|
|
|
width: 32px;
|
|
|
height: 32px;
|