This commit is contained in:
Zyronon
2025-11-07 10:52:40 +00:00
parent 6e80dc0a68
commit 4692f2fa65
3 changed files with 18 additions and 10 deletions

View File

@@ -87,7 +87,7 @@
3. 在项目根目录下,打开命令行,运行`npm install`来下载依赖。
4. 执行`npm run dev`来启动项目,项目默认地址为[`http://localhost:3000`](http://localhost:3000)
5. 在浏览器中打开[`http://localhost:3000`](http://localhost:3000) 来访问项目。
6. 执行`npm run build-nocdn`打包项目文件
6. 执行`npm run build`打包项目文件
## 功能与建议

View File

@@ -15,7 +15,8 @@
--color-font-2: rgb(46, 46, 46);
--color-font-3: rgb(75, 85, 99);
--color-font-active-1: white;
--color-scrollbar: rgb(147, 173, 227);
--color-scrollbar: #c1c1c1;
--color-sub-gray: #c0bfbf;
--article-width: 50vw;

View File

@@ -293,14 +293,18 @@ function del() {
function showWord() {
if (settingStore.allowWordTip) {
showFullWord = true
}
//系统设定的默认模式情况下,如果看了单词统计到错词里面去
switch (statStore.step) {
case 1:
case 3:
case 4:
emit('wrong')
break
//系统设定的默认模式情况下,如果看了单词统计到错词里面去
switch (statStore.step) {
case 1:
case 2:
case 4:
case 5:
case 7:
case 8:
case 10:
emit('wrong')
break
}
}
}
@@ -309,6 +313,9 @@ function hideWord() {
}
function play() {
if (settingStore.wordPracticeType === WordPracticeType.Dictation) {
emit('wrong')
}
volumeIconRef?.play()
}