|
@@ -59,6 +59,43 @@
|
|
|
<div @click="toggleHistory" v-if="!isSingleStudent" title="回看">
|
|
|
<HistoryOutlined class="icon-font icon-font-size-20" />
|
|
|
</div>
|
|
|
+ <a-popover title="小助手" trigger="hover" class="tw-cursor-pointer">
|
|
|
+ <template #content>
|
|
|
+ <table class="assistant-table">
|
|
|
+ <tr v-if="store.setting.subject.paperUrl">
|
|
|
+ <td>试卷</td>
|
|
|
+ <td>
|
|
|
+ <a-switch
|
|
|
+ v-model:checked="store.setting.uiSetting['paper.modal']"
|
|
|
+ />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr v-if="store.setting.subject.answerUrl">
|
|
|
+ <td>答案</td>
|
|
|
+ <td>
|
|
|
+ <a-switch
|
|
|
+ v-model:checked="store.setting.uiSetting['answer.modal']"
|
|
|
+ />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>缩略图</td>
|
|
|
+ <td>
|
|
|
+ <a-switch
|
|
|
+ v-model:checked="store.setting.uiSetting['minimap.modal']"
|
|
|
+ />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </template>
|
|
|
+ <div class="tw-flex">
|
|
|
+ 小助手
|
|
|
+ <DownOutlined
|
|
|
+ style="font-size: 12px; display: inline-block"
|
|
|
+ class="tw-self-center tw-ml-1"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </a-popover>
|
|
|
<div class="tw-flex tw-place-items-center">
|
|
|
<UserOutlined class="icon-font icon-with-text" />{{
|
|
|
store.setting.userName
|
|
@@ -85,6 +122,7 @@ import {
|
|
|
PoweroffOutlined,
|
|
|
AlertOutlined,
|
|
|
QuestionCircleOutlined,
|
|
|
+ DownOutlined,
|
|
|
} from "@ant-design/icons-vue";
|
|
|
import { useRoute } from "vue-router";
|
|
|
import { clearArbitrateTask } from "@/api/arbitratePage";
|
|
@@ -100,6 +138,7 @@ export default defineComponent({
|
|
|
PoweroffOutlined,
|
|
|
AlertOutlined,
|
|
|
QuestionCircleOutlined,
|
|
|
+ DownOutlined,
|
|
|
},
|
|
|
setup() {
|
|
|
const route = useRoute();
|