From 58ead577e61143cb69298a3f20509384ce5c17a9 Mon Sep 17 00:00:00 2001
From: no99 <17663930442@163.com>
Date: Thu, 11 Sep 2025 16:49:07 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/AiEmotion.vue | 2 +-
src/views/Selectmodel.vue | 9 +++-
src/views/homePage.vue | 132 +++++++++++++++++++++++++---------------------
3 files changed, 80 insertions(+), 63 deletions(-)
diff --git a/src/views/AiEmotion.vue b/src/views/AiEmotion.vue
index 70b04f8..8fc467f 100644
--- a/src/views/AiEmotion.vue
+++ b/src/views/AiEmotion.vue
@@ -4696,7 +4696,7 @@ const emit = defineEmits(["updateMessage", "sendMessage", "ensureAIchat", "enabl
}
/* 图片样式 */
- .golden-wheel img {
+ .golden-wheel-img {
width: 50%;
}
diff --git a/src/views/Selectmodel.vue b/src/views/Selectmodel.vue
index 3ccd54b..a5dd8e9 100644
--- a/src/views/Selectmodel.vue
+++ b/src/views/Selectmodel.vue
@@ -150,6 +150,7 @@ const goToEmotionsmodel = () => {
flex-wrap: nowrap;
position: absolute;
top: 40vh;
+ z-index: 5;
}
.btn-item {
@@ -319,7 +320,7 @@ const goToEmotionsmodel = () => {
.footer-text1 {
background-image: url("@/assets/img/Selectmodel/智能体.png");
width: 100vw;
- height: 60px;
+ height: 10vw;
margin-top: 10px;
background-size: 100% 100%;
/* 保证全宽显示 */
@@ -327,9 +328,13 @@ const goToEmotionsmodel = () => {
.footer-text2 {
width: 70vw;
- height: 24px;
margin-top: 10px;
}
+
+ .footer-wrapper{
+ gap: 0;
+ }
+
}
/* 平板适配 */
diff --git a/src/views/homePage.vue b/src/views/homePage.vue
index 1a35982..1da7023 100644
--- a/src/views/homePage.vue
+++ b/src/views/homePage.vue
@@ -333,8 +333,8 @@ const isAnnouncementVisible = ref(false);
// Token规则提示框相关
const tokenRuleDialogVisible = ref(false);
const hasShownTokenRule = ref({
- AIchat: sessionStorage.getItem('hasShownTokenRule_AIchat') === 'true',
- AiEmotion: sessionStorage.getItem('hasShownTokenRule_AiEmotion') === 'true'
+ AIchat: sessionStorage.getItem("hasShownTokenRule_AIchat") === "true",
+ AiEmotion: sessionStorage.getItem("hasShownTokenRule_AiEmotion") === "true",
});
// 关闭Token规则提示框
@@ -344,15 +344,19 @@ const closeTokenRuleDialog = () => {
// 检查是否需要显示Token规则提示框(从其他页面跳转过来时)
const checkTokenRuleOnPageLoad = () => {
- const activeTab = sessionStorage.getItem('activeTabAI');
- const fromExternalPage = sessionStorage.getItem('fromExternalPage');
-
- if (fromExternalPage === 'true' && activeTab && !hasShownTokenRule.value[activeTab]) {
+ const activeTab = sessionStorage.getItem("activeTabAI");
+ const fromExternalPage = sessionStorage.getItem("fromExternalPage");
+
+ if (
+ fromExternalPage === "true" &&
+ activeTab &&
+ !hasShownTokenRule.value[activeTab]
+ ) {
tokenRuleDialogVisible.value = true;
hasShownTokenRule.value[activeTab] = true;
- sessionStorage.setItem(`hasShownTokenRule_${activeTab}`, 'true');
+ sessionStorage.setItem(`hasShownTokenRule_${activeTab}`, "true");
// 清除标记,避免重复显示
- sessionStorage.removeItem('fromExternalPage');
+ sessionStorage.removeItem("fromExternalPage");
}
};
@@ -962,12 +966,12 @@ const backToHome = () => {
"http://121.89.234.155:8807/hljw/homepage?menu=999999991";
} else {
window.parent.postMessage(
- {
- type: 'NAVIGATE_TO_HOMEPAGE',
- menu: '999999991'
- },
- '*'
- )
+ {
+ type: "NAVIGATE_TO_HOMEPAGE",
+ menu: "999999991",
+ },
+ "*"
+ );
}
// window.parent.location.href = window.parent.document.referrer
}
@@ -1126,7 +1130,7 @@ const goChange = async () => {
onMounted(async () => {
// 检查是否需要显示Token规则提示框
checkTokenRuleOnPageLoad();
-
+
throttledJudgeDevice();
// 禁用全局触摸滚动
touchmoveHandlerRef = touchmoveHandler;
@@ -1188,8 +1192,6 @@ onMounted(async () => {
sessionStorage.removeItem("activeLevel");
sessionStorage.setItem("rechargeFlag", "0");
}
-
-
});
onUnmounted(() => {
@@ -1240,8 +1242,8 @@ onUnmounted(() => {
v-if="!dataStore.isFeedback"
class="main-container"
:class="{
- collapsed: historyRecordRef?.isCollapsed && !isMobile,
- unCollapsed: !historyRecordRef?.isCollapsed && !isMobile,
+ collapsed: !isMobile && historyRecordRef?.isCollapsed,
+ unCollapsed: !isMobile && !historyRecordRef?.isCollapsed,
}"
>
@@ -1676,21 +1678,35 @@ onUnmounted(() => {
Token规则
-
+
Token消耗规则
-
• 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索成功,内容正常生成,则会消耗1Token
-
• 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索有误,无法生成内容,则不会消耗Token
-
• 搜索同一只股票,产出内容相同时,只扣除1次Token
-
• "夺宝奇兵"和"AI小财神"中Token是互通的
+
+ •
+ 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索成功,内容正常生成,则会消耗1Token
+
+
+ •
+ 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索有误,无法生成内容,则不会消耗Token
+
+
+ • 搜索同一只股票,产出内容相同时,只扣除1次Token
+
+
+ • "夺宝奇兵"和"AI小财神"中Token是互通的
+
-
+
Token兑换规则
-
• 点击右上角"获取Token次数",即可进入Token兑换页进行金币兑换Token
-
• 金币兑换Token的比例为:1金币=1Token;一经兑换,不予退还
+
+ • 点击右上角"获取Token次数",即可进入Token兑换页进行金币兑换Token
+
+
+ • 金币兑换Token的比例为:1金币=1Token;一经兑换,不予退还
+
-
+
注意:报告生成过程中,请耐心等待,在此期间请勿进行页面刷新操作,以免导致报告生成进程中断
@@ -1815,22 +1831,6 @@ body {
/* -webkit-overflow-scrolling: touch; */
}
-.main-container {
- flex: 1;
- transition: margin-left 0.3s ease;
- display: flex;
- flex-direction: column;
- overflow: hidden;
-}
-
-.main-container.unCollapsed {
- margin-left: 300px; /* 为历史记录组件留出空间 */
-}
-/* 当历史记录组件折叠时调整主容器边距 */
-.main-container.collapsed {
- margin-left: 3%;
-}
-
.zhezhao {
width: 100%;
height: 100%;
@@ -1839,20 +1839,27 @@ body {
position: fixed;
}
-/* 移动端适配 */
-@media (max-width: 768px) {
- .homepage {
- background-image: url("https://d31zlh4on95l9h.cloudfront.net/images/90d31d7052e729c63acb9e2cb94d1307.png");
- }
+@media (min-width: 769px) {
.main-container {
- /* margin-left: 280px; */
+ flex: 1;
+ transition: margin-left 0.3s ease;
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
}
.main-container.unCollapsed {
- margin-left: 280px;
+ margin-left: 300px; /* 为历史记录组件留出空间 */
}
-
+ /* 当历史记录组件折叠时调整主容器边距 */
.main-container.collapsed {
- margin-left: 40px;
+ margin-left: 3%;
+ }
+}
+
+/* 移动端适配 */
+@media (max-width: 768px) {
+ .homepage {
+ background-image: url("https://d31zlh4on95l9h.cloudfront.net/images/90d31d7052e729c63acb9e2cb94d1307.png");
}
}
@@ -1926,6 +1933,7 @@ body {
}
.count-badge {
+
position: relative;
cursor: pointer;
}
@@ -2606,17 +2614,17 @@ body {
padding: 15px 20px;
max-height: 80vh;
}
-
+
.tokenRuleDialogTitle {
font-size: 18px;
margin-bottom: 15px;
}
-
+
.tokenRuleSectionTitle {
font-size: 14px;
margin-bottom: 6px;
}
-
+
.tokenRuleItem {
font-size: 14px;
line-height: 1.4;
@@ -2624,14 +2632,14 @@ body {
word-wrap: break-word;
overflow-wrap: break-word;
}
-
+
.tokenRuleNote {
font-size: 12px;
padding: 10px;
margin-top: 12px;
line-height: 1.4;
}
-
+
.tokenRuleDialogClose {
width: 20px;
height: 20px;
@@ -2639,6 +2647,12 @@ body {
}
@media (max-width: 768px) {
+
+ .logo1{
+ max-width: 110px;
+ width: 25vw;
+ }
+
.action-btn {
height: 21px;
}
@@ -2765,8 +2779,6 @@ body {
.changeSuccessDialogContent {
font-size: 1rem;
}
-
-
}
From 09769044f36b2e40897b3cedf609161bca5151db Mon Sep 17 00:00:00 2001
From: no99 <17663930442@163.com>
Date: Thu, 11 Sep 2025 17:09:49 +0800
Subject: [PATCH 2/7] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E4=BD=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Announcement.vue | 4 ++--
src/views/Feedback.vue | 4 ++--
src/views/homePage.vue | 28 +++++++++++++++++++++-------
3 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/src/views/Announcement.vue b/src/views/Announcement.vue
index 2c8406d..10d7460 100644
--- a/src/views/Announcement.vue
+++ b/src/views/Announcement.vue
@@ -99,11 +99,11 @@ onMounted(() => {
});
-
+