diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss
index 257f04d0..e1aedd5f 100644
--- a/src/assets/css/style.scss
+++ b/src/assets/css/style.scss
@@ -7,6 +7,7 @@
--color-second-bg: rgb(238, 240, 244);
--color-header-bg: white;
--color-font: black;
+ //--color-item-hover: ;
}
html[data-theme='dark'] {
diff --git a/src/components/WordList.vue b/src/components/WordList.vue
index 8b5ead92..bcf45fb3 100644
--- a/src/components/WordList.vue
+++ b/src/components/WordList.vue
@@ -87,11 +87,13 @@ watch(() => props.list, () => {
&.active {
background: $second;
+ color: white;
}
&:hover {
//background: $dark-main-bg;
- background: $item-hover;
+ //background: $item-hover;
+ background: rgb(226,226,226);
}
.left {
diff --git a/src/types.ts b/src/types.ts
index 9bd7d22a..5c1870c2 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -12,7 +12,12 @@ export type Config = {
chapterIndex: number,
wordIndex: number,
}
-export type Word = {"name": string, "usphone": string, "ukphone": string, "trans": string[]}
+export type Word = {
+ "name": string,
+ "usphone": string,
+ "ukphone": string,
+ "trans": string[]
+}
export const SaveKey = 'bb-word-config'
@@ -101,6 +106,17 @@ export interface Dict extends DictJson {
wordIndex: number,
}
+interface DictLog {
+ startDate: number,//开始日期
+ endDate: number//结束日期
+ chapterWordNumber: number//章节单词数量
+ chapterLog: {
+ startDate: number,//开始日期
+ endDate: number//结束日期
+ correctRate: number//正确率
+ }
+}
+
export interface State {
newWordDict: {
type: DictType,