-
+
+
-
+
-
-
-
-
-
@@ -1033,7 +1103,7 @@ body {
}
.vue-flow__controls {
- @apply !bg-white !border-slate-200 !shadow-xl !rounded-lg !left-6 !bottom-6;
+ @apply !bg-white !border-slate-200 !shadow-xl !rounded-lg !left-4 md:!left-6 !bottom-28 md:!bottom-6 !transition-all;
}
.vue-flow__controls-button {
@@ -1041,9 +1111,20 @@ body {
}
.vue-flow__minimap {
- @apply !bg-white/80 !backdrop-blur-md !border-slate-200 !shadow-2xl !rounded-xl !overflow-hidden !m-6;
- width: 200px !important;
- height: 150px !important;
+ @apply !bg-white/80 !backdrop-blur-md !border-slate-200 !shadow-2xl !rounded-xl !overflow-hidden !transition-all;
+ margin: 1.5rem !important;
+ bottom: 80px !important;
+ right: 0 !important;
+ width: 180px !important;
+ height: 120px !important;
+}
+
+@media (min-width: 768px) {
+ .vue-flow__minimap {
+ bottom: 0 !important;
+ width: 220px !important;
+ height: 160px !important;
+ }
}
.vue-flow__minimap-mask {
@@ -1095,4 +1176,13 @@ input:focus::placeholder {
-webkit-box-orient: vertical;
overflow: hidden;
}
+
+.no-scrollbar::-webkit-scrollbar {
+ display: none;
+}
+
+.no-scrollbar {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
diff --git a/src/i18n/index.ts b/src/i18n/index.ts
index 21805e1..1c4dfcb 100644
--- a/src/i18n/index.ts
+++ b/src/i18n/index.ts
@@ -4,7 +4,7 @@ import zh from './locales/zh.json'
const i18n = createI18n({
legacy: false, // 使用 Composition API
- locale: localStorage.getItem('language') || 'zh', // 默认中文
+ locale: localStorage.getItem('language') || 'en', // 默认英文
fallbackLocale: 'en',
messages: {
en,
diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index d1b62bd..2fd9f6e 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -9,7 +9,8 @@
"generating": "Generating...",
"expanding": "Expanding Idea...",
"active": "Active",
- "signin": "SIGN IN"
+ "signin": "SIGN IN",
+ "tools": "Tools"
},
"nav": {
"title": "ThinkFlow AI",
diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json
index 29a15c7..e50c6b6 100644
--- a/src/i18n/locales/zh.json
+++ b/src/i18n/locales/zh.json
@@ -9,7 +9,8 @@
"generating": "生成中...",
"expanding": "正在展开想法...",
"active": "激活",
- "signin": "登录"
+ "signin": "登录",
+ "tools": "工具箱"
},
"nav": {
"title": "ThinkFlow AI",
@@ -48,7 +49,7 @@
"view": "查看",
"regenerate": "重新生成",
"mainTitle": "主节点",
- "moduleTitle": "子模块"
+ "moduleTitle": "子节点"
},
"prompts": {
"system": "你是一个思维发散助手,帮助用户将想法逐层展开,构建思维树。\n\n工作流程:\n1. 用户给出一个初始想法(或选择一个已有节点继续追问)。\n2. 你需要根据【思考上下文路径】(即从根节点到当前节点的思考链路)来理解用户的意图。\n3. 生成 3-5 个更深层或相关维度的子想法。\n4. 每个子想法包含简短名称和极简描述。\n\n返回格式必须为严格 JSON:\n{'{'}\n \"nodes\": [\n {'{'} \"text\": \"子想法1名称\", \"description\": \"一句话描述\" {'}'},\n {'{'} \"text\": \"子想法2名称\", \"description\": \"一句话描述\" {'}'}\n ]\n{'}'}\n\n注意:只返回 JSON,不附加解释。",