From 6ca24301fd3edf76359240ae5272e75b7a4db77f Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期三, 02 四月 2025 09:44:24 +0800
Subject: [PATCH] 修改文案,小bug

---
 src/views/project/ch/home/component/waterRight/top.vue     |    4 +-
 src/layout/component/sidebar/components/ChatRecord.vue     |    4 +-
 src/layout/component/sidebar/Sidebar.vue                   |    2 
 customer_list/ch/ai_html/views/mobileDownload/js/config.js |    2 
 customer_list/ch/ai_html/views/mobileDownload/index.html   |    2 
 src/components/chat/smallChat/index.vue                    |    4 +-
 src/layout/component/header/Header.vue                     |   23 ++++++++++-
 src/layout/component/main.vue                              |    5 ++
 customer_list/ch/ai_html/views/extension/index.html        |    6 +-
 src/layout/component/sidebar/components/MenuList.vue       |    4 +-
 src/layout/component/login/Login.vue                       |   13 +++---
 src/layout/component/sidebar/components/OtherPlatform.vue  |    6 +-
 12 files changed, 47 insertions(+), 28 deletions(-)

diff --git a/customer_list/ch/ai_html/views/extension/index.html b/customer_list/ch/ai_html/views/extension/index.html
index df69afd..b6153aa 100644
--- a/customer_list/ch/ai_html/views/extension/index.html
+++ b/customer_list/ch/ai_html/views/extension/index.html
@@ -76,10 +76,10 @@
 					<div class="flex items-center">
 						<img
 							src="https://wi.beng35.com/web/test/static/images/logo/logoWithNoName.png"
-							alt="WI 姘村姟鏅鸿兘鍔╂墜"
+							alt="WI姘村姟鏅鸿兘骞冲彴"
 							style="height: 30px"
 						/>
-						<span class="text-gray-600 hover:text-gray-800 transition-colors ml-2">WI 姘村姟鏅鸿兘鍔╂墜</span>
+						<span class="text-gray-600 hover:text-gray-800 transition-colors ml-2">WI姘村姟鏅鸿兘骞冲彴</span>
 					</div>
 					<div class="flex items-center gap-8">
 						<a href="https://wi.beng35.com" target="_blank" class="text-gray-600 hover:text-gray-800 transition-colors">WI 缃戦〉绔�</a>
@@ -241,7 +241,7 @@
 							image: './image/install-guide-1@2x.jpg',
 						},
 						{
-							desc: [ '灏唞ip鍘嬬缉鍖咃紙WI姘村姟鏅鸿兘鎻掍欢.zip锛夋嫋鍏ユ嫇灞曠▼搴忛〉锛屽畨瑁呮垚鍔燂紒'],
+							desc: ['灏唞ip鍘嬬缉鍖咃紙WI姘村姟鏅鸿兘鎻掍欢.zip锛夋嫋鍏ユ嫇灞曠▼搴忛〉锛屽畨瑁呮垚鍔燂紒'],
 							image: './image/install-guide-2@2x.jpg',
 						},
 						{
diff --git a/customer_list/ch/ai_html/views/mobileDownload/index.html b/customer_list/ch/ai_html/views/mobileDownload/index.html
index e5b731e..e1161b8 100644
--- a/customer_list/ch/ai_html/views/mobileDownload/index.html
+++ b/customer_list/ch/ai_html/views/mobileDownload/index.html
@@ -5,7 +5,7 @@
 		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
 
-		<title>WI姘村姟鏅鸿兘鍔╂墜</title>
+		<title>WI姘村姟鏅鸿兘骞冲彴</title>
 		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
 		<link rel="stylesheet" href="/ai_html/views/mobileDownload/css/index.css" />
 		<link rel="stylesheet" href="/ai_html/views/mobileDownload/css/downLoad.css" />
diff --git a/customer_list/ch/ai_html/views/mobileDownload/js/config.js b/customer_list/ch/ai_html/views/mobileDownload/js/config.js
index 7268613..65f498c 100644
--- a/customer_list/ch/ai_html/views/mobileDownload/js/config.js
+++ b/customer_list/ch/ai_html/views/mobileDownload/js/config.js
@@ -1,6 +1,6 @@
 锘縧et mobileDownloadConfig = {
 	SoftwareConfig: {
-		Name: 'WI 姘村姟鏅鸿兘鍔╂墜',
+		Name: 'WI姘村姟鏅鸿兘骞冲彴',
 		Desc: '宸ュ叿',
 		Icon: './image/corpIcon.webp',
 		downLoadGuideImg: './image/wx_phone_tip.webp',
diff --git a/src/components/chat/smallChat/index.vue b/src/components/chat/smallChat/index.vue
index d19dd9c..d7dbd39 100644
--- a/src/components/chat/smallChat/index.vue
+++ b/src/components/chat/smallChat/index.vue
@@ -8,7 +8,7 @@
 				class="small-chat-header h-12 flex items-center justify-between px-4"
 				style="border-bottom: 1px solid #e0e0e0"
 			>
-				<div class="text-lg font-bold py-2">WI姘村姟鏅鸿兘鍔╂墜</div>
+				<div class="text-lg font-bold py-2">WI姘村姟鏅鸿兘骞冲彴</div>
 				<div class="flex items-center gap-2">
 					<!-- <el-icon class="cursor-pointer text-gray-400 hover:text-gray-600">
 					<Refresh />
@@ -39,7 +39,7 @@
 					<!-- 娆㈣繋璇� -->
 					<!-- <div class="flex flex-col items-center gap-1.5 mt-8">
 						<div class="text-lg">浣犲ソ, 鎴戞槸</div>
-						<div class="text-lg text-blue-500">WI姘村姟鏅鸿兘鍔╂墜</div>
+						<div class="text-lg text-blue-500">WI姘村姟鏅鸿兘骞冲彴</div>
 						<span class="text-lg">浣犲彲浠ヨ緭鍏ヤ互涓嬮棶棰橈紝杩涜鍦板浘鎿嶄綔</span>
 					</div> -->
 					<!-- 蹇嵎闂 -->
diff --git a/src/layout/component/header/Header.vue b/src/layout/component/header/Header.vue
index f0f7c8f..80775a9 100644
--- a/src/layout/component/header/Header.vue
+++ b/src/layout/component/header/Header.vue
@@ -2,7 +2,7 @@
 	<div class="top_text flex justify-between px-6 items-center" :class="sidebarIsShow ? 'px-6' : 'pl-[unset] pr-6'">
 		<div class="flex-items-center">
 			<div class="nav-menu">
-				<router-link :to="{ path: '/ask_answer', query: { id: activeRoomId } }" class="nav-item" active-class="active">
+				<router-link :to="firstToPath" class="nav-item" active-class="active">
 					<i class="icon-park-outline-robot"></i>
 					鏅鸿兘鍔╂墜
 				</router-link>
@@ -65,7 +65,7 @@
 import { systemNotifyList } from '/@/api/ai/chat';
 import router from '/@/router';
 import pinia from '/@/stores';
-import { activeRoomId, isSharePage, newChatRoomClick } from '/@/stores/chatRoom';
+import { activeChatRoom, activeRoomId, isSharePage, newChatRoomClick } from '/@/stores/chatRoom';
 import { useThemeConfig } from '/@/stores/themeConfig';
 import emitter from '/@/utils/mitt';
 import { userInfoKey } from '/@/utils/request';
@@ -79,8 +79,25 @@
 	announcementContent: '',
 	announcementTime: '',
 });
+const firstToPath = computed(() => {
+	if (!activeChatRoom.value)
+		return {
+			path: '/home',
+		};
+	const result = activeChatRoom.value.isInitial
+		? {
+				path: '/home',
+				query: {
+					id: activeChatRoom.value.id,
+				},
+		  }
+		: {
+				path: '/ask_answer',
+				query: { id: activeChatRoom.value.id },
+		  };
 
-
+	return result;
+});
 
 //#region ====================== 鍏憡鏄惁鐪嬭繃 ======================
 const userInfo = ref(Local.get(userInfoKey));
diff --git a/src/layout/component/login/Login.vue b/src/layout/component/login/Login.vue
index 926d840..b27cb42 100644
--- a/src/layout/component/login/Login.vue
+++ b/src/layout/component/login/Login.vue
@@ -4,7 +4,7 @@
 			<div class="login_box">
 				<div class="sign_in">
 					<i class="ywifont ywicon-guanbi closes" @click="handleClose"></i>
-					<h1><span>鐧诲綍 WI 姘村姟鏅鸿兘</span></h1>
+					<h1><span>鐧诲綍 WI姘村姟鏅鸿兘</span></h1>
 					<el-tabs v-model="state.activeLoginName" class="w-full mt-[24px]" @tab-change="handleTabChange">
 						<el-tab-pane label="璐︽埛瀵嗙爜鐧诲綍" name="accountUser">
 							<el-form
@@ -54,7 +54,9 @@
 										style="width: 300px; height: 213px; overflow: hidden"
 										frameborder="0"
 									></iframe>
-									<span class="relative top-[-10px]" :class="{ 'text-red-400': wechatTip.type === 'error' }">{{ wechatTip.value }}</span>
+									<span class="relative top-[-10px]" :class="{ 'text-red-400': wechatTip.type === 'error' }">{{
+										wechatTip.value
+									}}</span>
 								</div>
 							</div>
 						</el-tab-pane>
@@ -71,16 +73,15 @@
 	</div>
 </template>
 <script setup lang="ts">
-import { ElMessage } from 'element-plus';
 import type { FormInstance } from 'element-plus';
-import { computed, nextTick, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
+import { ElMessage } from 'element-plus';
+import { computed, nextTick, reactive, ref, watch } from 'vue';
 import { ACCOUNT_EXPIRE_DAY, handleAfterLogin, LOGIN_CLIENT, STORED_ACCOUNT_KEY } from './login';
 import './wxLogin.js';
 import { loginMessageUser, loginVerifyMessage, PostLogin } from '/@/api/ai/user';
 import { SERVE_URL } from '/@/constants';
 import { isShowLogin } from '/@/stores/chatRoom';
 import { encrypt } from '/@/utils/cypto';
-import emitter from '/@/utils/mitt';
 import { Local, LocalPlus } from '/@/utils/storage';
 
 const handleClose = () => {
@@ -97,7 +98,6 @@
 };
 
 const wechatTip = ref(getWechatTipInfo());
-
 
 const resetWechatTip = () => {
 	wechatTip.value = {
@@ -179,7 +179,6 @@
 			break;
 	}
 };
-
 
 watch(
 	() => isShowLogin.value,
diff --git a/src/layout/component/main.vue b/src/layout/component/main.vue
index 8a8eded..a0450ff 100644
--- a/src/layout/component/main.vue
+++ b/src/layout/component/main.vue
@@ -10,7 +10,7 @@
 			view-class="layout-main-scroll bg-[var(--color-bg-side)]  flex h100 w-full"
 		>
 			<WorkSpaceMenu v-show="isWorkSpace" />
-			<div v-show="isAskAnswer">
+			<div v-show="isAskAnswer || isHome">
 				<SideBar v-if="!isSharePage && sidebarIsShow" :isShow="sidebarIsShow" @toggleSidebar="toggleSidebar" />
 				<SidebarOther v-if="!isSharePage && !sidebarIsShow" :isShow="!sidebarIsShow" @toggleSidebar="toggleSidebar" />
 			</div>
@@ -63,6 +63,9 @@
 const isAskAnswer = computed(() => {
 	return router.currentRoute.value.path.startsWith('/ask_answer');
 });
+const isHome = computed(() => {
+	return router.currentRoute.value.path.startsWith('/home');
+});
 const isGis = computed(() => {
 	return router.currentRoute.value.path.startsWith('/gis');
 });
diff --git a/src/layout/component/sidebar/Sidebar.vue b/src/layout/component/sidebar/Sidebar.vue
index 427bbe4..e33325a 100644
--- a/src/layout/component/sidebar/Sidebar.vue
+++ b/src/layout/component/sidebar/Sidebar.vue
@@ -4,7 +4,7 @@
 			<div class="logo flex-items-center justify-between">
 				<div class="flex items-center">
 					<img src="/static/images/logo/logoWithNoName.png" alt="logo" class="layout-logo-medium-img" />
-					<span class="font-extrabold text-xl text-white tracking-wide"> WI 姘村姟鏅鸿兘鍔╂墜</span>
+					<span class="font-extrabold text-xl text-white tracking-wide"> WI姘村姟鏅鸿兘骞冲彴</span>
 				</div>
 			</div>
 		</div>
diff --git a/src/layout/component/sidebar/components/ChatRecord.vue b/src/layout/component/sidebar/components/ChatRecord.vue
index a1aa754..ceb26c5 100644
--- a/src/layout/component/sidebar/components/ChatRecord.vue
+++ b/src/layout/component/sidebar/components/ChatRecord.vue
@@ -26,7 +26,7 @@
 								<div ref="setPhoneQRCode" class="mt-[8px] mb-[8px]"></div>
 								<p class="text-center text-[#5e6772] m-0 p-0 leading-5">
 									鎵爜涓嬭浇 <br />
-									WI 姘村姟鏅鸿兘鍔╂墜
+									WI姘村姟鏅鸿兘骞冲彴
 								</p>
 							</div>
 						</div>
@@ -92,6 +92,7 @@
 import moment from 'moment';
 import QRCode from 'qrcodejs2-fixes';
 import { computed, nextTick, onMounted, ref, watch } from 'vue';
+import OtherPlatform from './OtherPlatform.vue';
 import type { ChatRoomItem } from './types';
 import { DeleteHistoryGroups, setHistoryGroupTitle } from '/@/api/ai/chat';
 import { SERVE_URL } from '/@/constants';
@@ -99,7 +100,6 @@
 import { DateFilter, dateFilterMap } from '/@/model/types/date';
 import { activeRoomId, chatRoomList, gotoAnswerPage, newChatRoomClick, selectFirstRoom } from '/@/stores/chatRoom';
 import { debounce, getRecentDateRange } from '/@/utils/util';
-import OtherPlatform from './OtherPlatform.vue';
 const chatRoomRef = ref<HTMLDivElement>(null);
 const queryParams = ref({
 	title: '',
diff --git a/src/layout/component/sidebar/components/MenuList.vue b/src/layout/component/sidebar/components/MenuList.vue
index c854e02..1e93b32 100644
--- a/src/layout/component/sidebar/components/MenuList.vue
+++ b/src/layout/component/sidebar/components/MenuList.vue
@@ -68,7 +68,7 @@
 import router from '/@/router';
 import { isLoginStatus, isSharePage, isShowLogin } from '/@/stores/chatRoom';
 import emitter from '/@/utils/mitt';
-import { accessSessionKey, userInfoKey, userNameKey } from '/@/utils/request';
+import { accessSessionKey, userInfoKey } from '/@/utils/request';
 import { gotoRoute } from '/@/utils/route';
 import { Local, LoginInfo } from '/@/utils/storage';
 const userName = ref('');
@@ -83,7 +83,7 @@
 		{
 			id: 4,
 			icon: '/static/images/wave/AsideIcon.png',
-			title: '鍏充簬WI 姘村姟鏅鸿兘',
+			title: '鍏充簬WI姘村姟鏅鸿兘',
 			routerName: 'AboutUs',
 		},
 	],
diff --git a/src/layout/component/sidebar/components/OtherPlatform.vue b/src/layout/component/sidebar/components/OtherPlatform.vue
index f7ee081..6b4d0a1 100644
--- a/src/layout/component/sidebar/components/OtherPlatform.vue
+++ b/src/layout/component/sidebar/components/OtherPlatform.vue
@@ -25,7 +25,7 @@
 									<div ref="setPhoneQRCode" class="mt-[8px] mb-[8px]"></div>
 									<p class="text-center text-info m-0 p-0 leading-5 text-sm">
 										娴忚鍣ㄦ壂鐮佷笅杞� <br />
-										WI 姘村姟鏅鸿兘鍔╂墜
+										WI姘村姟鏅鸿兘骞冲彴
 									</p>
 								</div>
 							</div>
@@ -44,10 +44,10 @@
 </template>
 
 <script setup lang="ts" name="OtherPlatform">
-import { ref, nextTick, onMounted } from 'vue';
+import QRCode from 'qrcodejs2-fixes';
+import { nextTick, onMounted, ref } from 'vue';
 import { SERVE_URL } from '/@/constants';
 import { selectFirstRoom } from '/@/stores/chatRoom';
-import QRCode from 'qrcodejs2-fixes';
 
 //#region ====================== 鎵爜鎵嬫満绔笅杞� ======================
 const setPhoneQRCode = ref<HTMLElement | null>(null);
diff --git a/src/views/project/ch/home/component/waterRight/top.vue b/src/views/project/ch/home/component/waterRight/top.vue
index f976a3f..d226212 100644
--- a/src/views/project/ch/home/component/waterRight/top.vue
+++ b/src/views/project/ch/home/component/waterRight/top.vue
@@ -1,7 +1,7 @@
 <template>
 	<div class="flex items-center mb-8">
 		<img src="/static/images/logo/logoWithNoName.png" alt="logo" class="layout-logo-medium-img" />
-		<p class="set-waterTitle"><strong>WI 姘村姟鏅鸿兘鍔╂墜</strong>鏅烘収姘村姟鏁版嵁鎸栨帢鑰�</p>
+		<p class="set-waterTitle"><strong>WI姘村姟鏅鸿兘骞冲彴</strong>鏅烘収姘村姟鏁版嵁鎸栨帢鑰�</p>
 	</div>
 	<!-- <div class="flex items-center pc-roleList"></div> -->
 	<PlayBar style="width: 760px" v-model="inputValue" @send-click="sendClick" :is-home="true" />
@@ -13,7 +13,7 @@
 import { GetLLMList, setHistoryGroupTitle } from '/@/api/ai/chat';
 import PlayBar from '/@/components/chat/components/playBar/PlayBar.vue';
 import router from '/@/router';
-import { activeChatRoom, activeLLMId, activeSectionAId } from '/@/stores/chatRoom';
+import { activeChatRoom, activeLLMId } from '/@/stores/chatRoom';
 import { handleNormalAuth } from '/@/utils/request';
 
 const emits = defineEmits(['sendClick']);

--
Gitblit v1.9.3