From 3fa985b91f0bb20cfdb05acf6248afb92a64103c Mon Sep 17 00:00:00 2001 From: Zyronon Date: Wed, 19 Nov 2025 14:00:59 +0800 Subject: [PATCH 1/3] fix: qq dialog can not be closed --- public/static-home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static-home.html b/public/static-home.html index 096c5a1b..b776a00a 100644 --- a/public/static-home.html +++ b/public/static-home.html @@ -544,7 +544,7 @@
QQ群
From d4e508faf16fe7f2724590dd9f8406d27dd10e07 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Wed, 19 Nov 2025 14:09:54 +0800 Subject: [PATCH 2/3] fix:cursor-pointer does not work --- public/static-home.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/static-home.html b/public/static-home.html index b776a00a..c763637e 100644 --- a/public/static-home.html +++ b/public/static-home.html @@ -266,6 +266,10 @@ border-radius: 1rem; margin-top: 1.2rem; } + + .cursor-pointer{ + cursor: pointer; + }
-
- {this.title} +
+ {this.titleItems.map((item, index) => ( +
+ {item.text} +
+ ))}
this.show = false}>取消 @@ -95,6 +147,15 @@ export default { transform: translate(-50%, calc(-100% - .6rem)); z-index: 999; + .title-content { + .title-item { + margin-bottom: 0.25rem; + + &:last-child { + margin-bottom: 0; + } + } + } .options { margin-top: .9rem; diff --git a/src/config/env.ts b/src/config/env.ts index 0a3b1f47..a1b3b61b 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -24,6 +24,7 @@ export let AppEnv = { AppEnv.IS_LOGIN = !!AppEnv.TOKEN AppEnv.CAN_REQUEST = AppEnv.IS_LOGIN && AppEnv.IS_OFFICIAL +// console.log('AppEnv.CAN_REQUEST',AppEnv.CAN_REQUEST) export const RESOURCE_PATH = ENV.API + 'static' diff --git a/src/pages/article/components/TypingArticle.vue b/src/pages/article/components/TypingArticle.vue index 8f9d7137..3d239c46 100644 --- a/src/pages/article/components/TypingArticle.vue +++ b/src/pages/article/components/TypingArticle.vue @@ -437,15 +437,15 @@ function onContextMenu(e: MouseEvent, sentence: Sentence, i, j, w) { onClick: () => { let word = props.article.sections[i][j].words[w] let text = word.word - // let doc = nlp(text) - // // 优先判断是不是动词 - // if (doc.verbs().found) { - // text = doc.verbs().toInfinitive().text() - // } - // // 如果是名词(复数 → 单数) - // if (doc.nouns().found) { - // text = doc.nouns().toSingular().text() - // } + let doc = nlp(text) + // 优先判断是不是动词 + if (doc.verbs().found) { + text = doc.verbs().toInfinitive().text() + } + // 如果是名词(复数 → 单数) + if (doc.nouns().found) { + text = doc.nouns().toSingular().text() + } if (!text.length) text = word.word console.log('text', text) toggleWordCollect(getDefaultWord({word: text, id: nanoid()})) diff --git a/src/pages/user/Pay.vue b/src/pages/user/Pay.vue deleted file mode 100644 index 9b22bf36..00000000 --- a/src/pages/user/Pay.vue +++ /dev/null @@ -1,217 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/pages/user/User.vue b/src/pages/user/User.vue index 29b5da90..7fbac5e9 100644 --- a/src/pages/user/User.vue +++ b/src/pages/user/User.vue @@ -246,13 +246,17 @@ function subscribe() { } +function onFileChange(e) { + console.log('e', e) + +}