collabdocchat 2.5.3 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
</div>
|
|
1957
1957
|
</div>
|
|
1958
1958
|
<div class="ai-input" style="display: flex; gap: 10px; padding: 16px; background: var(--bg-tertiary); border-top: 1px solid var(--border);">
|
|
1959
|
-
<textarea id="aiInput" placeholder="向AI助手提问..." rows="2" style="flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); resize: none;"></textarea>
|
|
1959
|
+
<textarea id="aiInput" placeholder="向AI助手提问..." rows="2" style="flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); resize: none; color: white;"></textarea>
|
|
1960
1960
|
<button class="btn-primary" id="aiSendBtn" style="padding: 10px 24px; border-radius: 8px; align-self: flex-end;">发送</button>
|
|
1961
1961
|
</div>
|
|
1962
1962
|
</div>
|
package/dist/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>CollabDocChat - 协作文档聊天平台</title>
|
|
7
7
|
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
|
|
8
8
|
<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-CHbSWz6_.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-D8ZqeoaM.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -121,7 +121,7 @@ app.use(notFoundHandler);
|
|
|
121
121
|
// 错误处理中间件(必须在所有路由之后)
|
|
122
122
|
app.use(errorHandler);
|
|
123
123
|
|
|
124
|
-
const PORT = process.env.PORT ||
|
|
124
|
+
const PORT = process.env.PORT || 3000;
|
|
125
125
|
server.listen(PORT, () => {
|
|
126
126
|
console.log(`\n${'='.repeat(60)}`);
|
|
127
127
|
console.log(`🚀 CollabDocChat 服务器启动成功!`);
|
|
@@ -968,7 +968,7 @@ export function renderUserDashboard(user, wsService) {
|
|
|
968
968
|
</div>
|
|
969
969
|
</div>
|
|
970
970
|
<div class="ai-input" style="display: flex; gap: 10px; padding: 16px; background: var(--bg-tertiary); border-top: 1px solid var(--border);">
|
|
971
|
-
<textarea id="aiInput" placeholder="向AI助手提问..." rows="2" style="flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); resize: none;"></textarea>
|
|
971
|
+
<textarea id="aiInput" placeholder="向AI助手提问..." rows="2" style="flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); resize: none; color: white;"></textarea>
|
|
972
972
|
<button class="btn-primary" id="aiSendBtn" style="padding: 10px 24px; border-radius: 8px; align-self: flex-end;">发送</button>
|
|
973
973
|
</div>
|
|
974
974
|
</div>
|