|
@ -333,8 +333,8 @@ const isAnnouncementVisible = ref(false); |
|
|
// Token规则提示框相关 |
|
|
// Token规则提示框相关 |
|
|
const tokenRuleDialogVisible = ref(false); |
|
|
const tokenRuleDialogVisible = ref(false); |
|
|
const hasShownTokenRule = ref({ |
|
|
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规则提示框 |
|
|
// 关闭Token规则提示框 |
|
@ -344,15 +344,19 @@ const closeTokenRuleDialog = () => { |
|
|
|
|
|
|
|
|
// 检查是否需要显示Token规则提示框(从其他页面跳转过来时) |
|
|
// 检查是否需要显示Token规则提示框(从其他页面跳转过来时) |
|
|
const checkTokenRuleOnPageLoad = () => { |
|
|
const checkTokenRuleOnPageLoad = () => { |
|
|
const activeTab = sessionStorage.getItem('activeTabAI'); |
|
|
|
|
|
const fromExternalPage = sessionStorage.getItem('fromExternalPage'); |
|
|
|
|
|
|
|
|
const activeTab = sessionStorage.getItem("activeTabAI"); |
|
|
|
|
|
const fromExternalPage = sessionStorage.getItem("fromExternalPage"); |
|
|
|
|
|
|
|
|
if (fromExternalPage === 'true' && activeTab && !hasShownTokenRule.value[activeTab]) { |
|
|
|
|
|
|
|
|
if ( |
|
|
|
|
|
fromExternalPage === "true" && |
|
|
|
|
|
activeTab && |
|
|
|
|
|
!hasShownTokenRule.value[activeTab] |
|
|
|
|
|
) { |
|
|
tokenRuleDialogVisible.value = true; |
|
|
tokenRuleDialogVisible.value = true; |
|
|
hasShownTokenRule.value[activeTab] = 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"; |
|
|
"http://121.89.234.155:8807/hljw/homepage?menu=999999991"; |
|
|
} else { |
|
|
} else { |
|
|
window.parent.postMessage( |
|
|
window.parent.postMessage( |
|
|
{ |
|
|
|
|
|
type: 'NAVIGATE_TO_HOMEPAGE', |
|
|
|
|
|
menu: '999999991' |
|
|
|
|
|
}, |
|
|
|
|
|
'*' |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
type: "NAVIGATE_TO_HOMEPAGE", |
|
|
|
|
|
menu: "999999991", |
|
|
|
|
|
}, |
|
|
|
|
|
"*" |
|
|
|
|
|
); |
|
|
} |
|
|
} |
|
|
// window.parent.location.href = window.parent.document.referrer |
|
|
// window.parent.location.href = window.parent.document.referrer |
|
|
} |
|
|
} |
|
@ -1188,8 +1192,6 @@ onMounted(async () => { |
|
|
sessionStorage.removeItem("activeLevel"); |
|
|
sessionStorage.removeItem("activeLevel"); |
|
|
sessionStorage.setItem("rechargeFlag", "0"); |
|
|
sessionStorage.setItem("rechargeFlag", "0"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
onUnmounted(() => { |
|
|
onUnmounted(() => { |
|
@ -1240,8 +1242,8 @@ onUnmounted(() => { |
|
|
v-if="!dataStore.isFeedback" |
|
|
v-if="!dataStore.isFeedback" |
|
|
class="main-container" |
|
|
class="main-container" |
|
|
:class="{ |
|
|
:class="{ |
|
|
collapsed: historyRecordRef?.isCollapsed && !isMobile, |
|
|
|
|
|
unCollapsed: !historyRecordRef?.isCollapsed && !isMobile, |
|
|
|
|
|
|
|
|
collapsed: !isMobile && historyRecordRef?.isCollapsed, |
|
|
|
|
|
unCollapsed: !isMobile && !historyRecordRef?.isCollapsed, |
|
|
}" |
|
|
}" |
|
|
> |
|
|
> |
|
|
<!-- AI小财神头部: logo 次数 公告 --> |
|
|
<!-- AI小财神头部: logo 次数 公告 --> |
|
@ -1679,16 +1681,30 @@ onUnmounted(() => { |
|
|
|
|
|
|
|
|
<div class="tokenRuleSection"> |
|
|
<div class="tokenRuleSection"> |
|
|
<div class="tokenRuleSectionTitle">Token消耗规则</div> |
|
|
<div class="tokenRuleSectionTitle">Token消耗规则</div> |
|
|
<div class="tokenRuleItem">• 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索成功,内容正常生成,则会消耗1Token</div> |
|
|
|
|
|
<div class="tokenRuleItem">• 在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索有误,无法生成内容,则不会消耗Token</div> |
|
|
|
|
|
<div class="tokenRuleItem">• 搜索同一只股票,产出内容相同时,只扣除1次Token</div> |
|
|
|
|
|
<div class="tokenRuleItem">• "夺宝奇兵"和"AI小财神"中Token是互通的</div> |
|
|
|
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• |
|
|
|
|
|
在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索成功,内容正常生成,则会消耗1Token |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• |
|
|
|
|
|
在"夺宝奇兵大模型"、"AI情绪大模型"中搜索股票,若搜索有误,无法生成内容,则不会消耗Token |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• 搜索同一只股票,产出内容相同时,只扣除1次Token |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• "夺宝奇兵"和"AI小财神"中Token是互通的 |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="tokenRuleSection"> |
|
|
<div class="tokenRuleSection"> |
|
|
<div class="tokenRuleSectionTitle">Token兑换规则</div> |
|
|
<div class="tokenRuleSectionTitle">Token兑换规则</div> |
|
|
<div class="tokenRuleItem">• 点击右上角"获取Token次数",即可进入Token兑换页进行金币兑换Token</div> |
|
|
|
|
|
<div class="tokenRuleItem">• 金币兑换Token的比例为:1金币=1Token;一经兑换,不予退还</div> |
|
|
|
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• 点击右上角"获取Token次数",即可进入Token兑换页进行金币兑换Token |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="tokenRuleItem"> |
|
|
|
|
|
• 金币兑换Token的比例为:1金币=1Token;一经兑换,不予退还 |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="tokenRuleNote"> |
|
|
<div class="tokenRuleNote"> |
|
@ -1815,22 +1831,6 @@ body { |
|
|
/* -webkit-overflow-scrolling: touch; */ |
|
|
/* -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 { |
|
|
.zhezhao { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
height: 100%; |
|
@ -1839,20 +1839,27 @@ body { |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 移动端适配 */ |
|
|
|
|
|
@media (max-width: 768px) { |
|
|
|
|
|
.homepage { |
|
|
|
|
|
background-image: url("https://d31zlh4on95l9h.cloudfront.net/images/90d31d7052e729c63acb9e2cb94d1307.png"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@media (min-width: 769px) { |
|
|
.main-container { |
|
|
.main-container { |
|
|
/* margin-left: 280px; */ |
|
|
|
|
|
|
|
|
flex: 1; |
|
|
|
|
|
transition: margin-left 0.3s ease; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
overflow: hidden; |
|
|
} |
|
|
} |
|
|
.main-container.unCollapsed { |
|
|
.main-container.unCollapsed { |
|
|
margin-left: 280px; |
|
|
|
|
|
|
|
|
margin-left: 300px; /* 为历史记录组件留出空间 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 当历史记录组件折叠时调整主容器边距 */ |
|
|
.main-container.collapsed { |
|
|
.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 { |
|
|
.count-badge { |
|
|
|
|
|
|
|
|
position: relative; |
|
|
position: relative; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
@ -2639,6 +2647,12 @@ body { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
@media (max-width: 768px) { |
|
|
|
|
|
|
|
|
|
|
|
.logo1{ |
|
|
|
|
|
max-width: 110px; |
|
|
|
|
|
width: 25vw; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.action-btn { |
|
|
.action-btn { |
|
|
height: 21px; |
|
|
height: 21px; |
|
|
} |
|
|
} |
|
@ -2765,8 +2779,6 @@ body { |
|
|
.changeSuccessDialogContent { |
|
|
.changeSuccessDialogContent { |
|
|
font-size: 1rem; |
|
|
font-size: 1rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|
|
|