-
{{ wordFormMode === FormMode.Add ? '添加' : '修改' }}单词
+
+ {{ wordFormMode === FormMode.Add ? '添加' : '修改' }}单词
+
+
+
@@ -762,8 +930,8 @@ $header-height: 60rem;
top: 50%;
transform: translate(-50%, -50%);
background: var(--color-second-bg);
- z-index: 99999;
- width: 60vw;
+ z-index: 1;
+ width: 70vw;
height: 75vh;
}
@@ -869,11 +1037,14 @@ $header-height: 60rem;
display: flex;
position: relative;
+ .virtual-list {
+ height: 80%;
+ }
+
.left-column {
- flex: 1;
+ width: 250rem;
display: flex;
flex-direction: column;
- gap: 10rem;
min-height: 100rem;
position: relative;
color: var(--color-font-1);
@@ -886,6 +1057,8 @@ $header-height: 60rem;
background: white;
border-radius: 10rem;
background: var(--color-second-bg);
+ background: #000;
+
color: var(--color-font-1);
.scroll {
@@ -893,6 +1066,14 @@ $header-height: 60rem;
}
}
+ .options-column {
+ width: 150rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 10rem;
+ }
+
.right-column {
flex: 1;
border-radius: 10rem;
@@ -900,8 +1081,6 @@ $header-height: 60rem;
color: var(--color-font-1);
display: flex;
flex-direction: column;
-
-
}
}
}
@@ -921,5 +1100,33 @@ $header-height: 60rem;
}
}
}
+
+.allocation-chapter {
+ width: 500rem;
+ padding: var(--space);
+ padding-top: 0;
+
+ .notice {
+ margin-top: 10rem;
+ margin-bottom: 35rem;
+ text-align: center;
+ }
+
+ .row {
+ display: flex;
+ align-items: center;
+ gap: 20rem;
+ margin-bottom: 15rem;
+ word-break: keep-all;
+
+ .label {
+ width: 90rem;
+ }
+
+ .text {
+ font-size: 12rem;
+ }
+ }
+}
diff --git a/src/stores/setting.ts b/src/stores/setting.ts
index 59ef9439..bcc692bd 100644
--- a/src/stores/setting.ts
+++ b/src/stores/setting.ts
@@ -35,6 +35,7 @@ export interface SettingState {
showPanel: boolean,
theme: string,
collapse: boolean,
+ chapterWordNumber: number,
shortcutKeyMap: Record
}
@@ -76,6 +77,7 @@ export const useSettingStore = defineStore('setting', {
theme: 'auto',
collapse: false,
+ chapterWordNumber: 30,
shortcutKeyMap: cloneDeep(DefaultShortcutKeyMap)
}
},