feat:add guide & dict test mode

This commit is contained in:
Zyronon
2025-11-28 00:42:31 +08:00
parent fb3cca70c8
commit 0677031ebb
18 changed files with 632 additions and 451 deletions

View File

@@ -33,7 +33,7 @@ const studyProgress = $computed(() => {
</script>
<template>
<div class="book relative overflow-hidden" :id="item?.id">
<div class="book relative overflow-hidden" :id="item?.id ?? 'no-book'">
<template v-if="!isAdd">
<div>
<div class="text-base">{{ item?.name }}</div>

View File

@@ -2,6 +2,7 @@
import {defineAsyncComponent, onMounted, watch} from "vue";
import {useSettingStore} from "@/stores/setting.ts";
import { jump2Feedback } from "@/utils";
const Dialog = defineAsyncComponent(() => import('@/components/dialog/Dialog.vue'))
@@ -22,6 +23,7 @@ watch(() => settingStore.load, (n) => {
<Dialog v-model="show"
title="提示"
footer
:closeOnClickBg="false"
cancel-button-text="不再提醒"
confirm-button-text="关闭"
@cancel="settingStore.conflictNotice = false"
@@ -29,18 +31,24 @@ watch(() => settingStore.load, (n) => {
<div class="card w-120 center flex-col color-main py-0 mb-0">
<div>
<div class="text">
1 如果您安装了 <span class="font-bold text-red">调速 Vim</span> 等会接管键盘点击的插件/脚本将导致本网站无法正常使用
<div>
1 如果您安装了 <span class="font-bold text-red">调速 Vim</span> 等插件/脚本将导致本网站无法正常使用
</div>
<div>
因为它们会强行接管键盘按下事件<span class="font-bold text-red">导致使用本网站时按 'A' 'S' 等等按钮无反应</span>
</div>
</div>
<div class="pl-4">
<div>在对应插件/脚本的设置里面排除本网站</div>
<div>临时禁用对应插件/脚本</div>
<div>请打开浏览器无痕模式尝试</div>
</div>
<div class="text mt-2">
2如果您未安装以上插件/脚本还是无法使用
</div>
<div class="pl-4">
<div>请打开浏览器无痕模式尝试</div>
<div>无痕模式下无法正常使用请给<a href="https://github.com/zyronon/TypeWords/issues">作者提 BUG</a>
<div>无痕模式下无法正常使用请给<span class="color-link mx-1 cp" @click="jump2Feedback">点此</span>给作者反馈
</div>
</div>
</div>