瀏覽代碼

注释招聘的提示框;
修改标题栏

Ryuiso 1 年之前
父節點
當前提交
1a036a4a38
共有 4 個文件被更改,包括 9 次插入9 次删除
  1. 1 1
      app/components/Record.tsx
  2. 5 5
      app/components/chat.tsx
  3. 2 2
      app/layout.tsx
  4. 1 1
      app/store/chat.ts

+ 1 - 1
app/components/Record.tsx

@@ -61,7 +61,7 @@ const RecordApp: React.FC = () => {
             <div style={{ padding: '14px 20px', borderBottom: '1px solid rgba(0, 0, 0, 0.1)', display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
                 <div>
                     <div style={{ fontSize: 20, fontWeight: 'bolder' }}>
-                        建科小K聊天记录
+                        数字监理员聊天记录
                     </div>
                     <div style={{ fontSize: 14 }}>
                         输入账号密码导出全部聊天记录

+ 5 - 5
app/components/chat.tsx

@@ -650,10 +650,10 @@ export function ChatActions(props: {
         }
       /> */}
       
-      <CallWord
-        setUserInput={props.setUserInput}
-        doSubmit={props.doSubmit}
-      />
+      {/* <CallWord */}
+      {/*   setUserInput={props.setUserInput} */}
+      {/*   doSubmit={props.doSubmit} */}
+      {/* /> */}
       
       {/* <ChatAction
         onClick={props.showPromptHints}
@@ -1415,7 +1415,7 @@ function _Chat() {
               className={`window-header-main-title ${styles["chat-body-main-title"]}`}
               // onClickCapture={() => setIsEditingMessage(true)}
             >
-              建科小K
+              数字监理员
             </div>
             <div className="window-header-sub-title">
               {Locale.Chat.SubTitle(session.messages.length)}

+ 2 - 2
app/layout.tsx

@@ -10,10 +10,10 @@ import { GoogleTagManager } from "@next/third-parties/google";
 const serverConfig = getServerSideConfig();
 
 export const metadata: Metadata = {
-  title: "建科小K",
+  title: "数字监理员",
   description: "",
   appleWebApp: {
-    title: "建科小K",
+    title: "数字监理员",
     statusBarStyle: "default",
   },
 };

+ 1 - 1
app/store/chat.ts

@@ -70,7 +70,7 @@ export interface ChatSession {
 export const DEFAULT_TOPIC = Locale.Store.DefaultTopic;
 export const BOT_HELLO: ChatMessage = createMessage({
   role: "assistant",
-  content: '感谢关注上海建科工程咨询有限公司的校园招聘,欢迎提问,建科小K竭诚为您答疑解惑。',
+  content: '您好,欢迎使用建科数字监理员,与本项目相关的问题都可以问我。',
 });
 
 function createEmptySession(): ChatSession {