From d9e43cb16a0a71b542f32ccdc136963a2e207828 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Sun, 20 Apr 2025 11:12:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99=E6=9B=B4=E6=AD=A3=EF=BC=8C?= =?UTF-8?q?=E5=85=85=E5=80=BC=E9=93=BE=E6=8E=A5=E5=AE=8C=E5=96=841?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- src/views/homePage.vue | 31 ++++++++++++++++++++++--------- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/.env.production b/.env.production index dbfa767..fa1042d 100644 --- a/.env.production +++ b/.env.production @@ -9,8 +9,8 @@ VITE_PUBLIC_PATH = / VITE_USE_MOCK = true #新数据接口 -# VITE_APP_API_BASE_URL = https://api.homilychart.com/link -VITE_APP_API_BASE_URL = "http://39.101.133.168:8828/link" +VITE_APP_API_BASE_URL = "https://api.homilychart.com/link" +# VITE_APP_API_BASE_URL = "http://39.101.133.168:8828/link" VITE_APP_IMG_API_BASE_URL = "https://api.homilychart.com/hljw/api/aws/upload" #MJ API diff --git a/src/views/homePage.vue b/src/views/homePage.vue index 0d3b359..27d9f29 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -119,9 +119,9 @@ const updateMessage = (title) => { // console.log("updateMessage 的值:", title); }; const sendMessage = async () => { - if (localStorage.getItem('localToken') == null||localStorage.getItem('localToken') == '') { + if (localStorage.getItem('localToken') == null || localStorage.getItem('localToken') == '') { ElMessage.error('请先登录'); - return ; + return; } isScrolling.value = false; // 调用 ensureAIchat 确保跳转到 AIchat 页面 @@ -335,12 +335,12 @@ const goToRecharge = () => { const url = encodeURI("http://39.101.133.168:8857/aixiaocaishen/homePage") console.log(url, 'url') const platform = isMobile ? 2 : 1 - const token = encodeURI(localStorage.getItem('localToken')) - + const token = encodeURIComponent(localStorage.getItem('localToken')) + console.log(token, 'token') const rechargeUrl = 'http://39.101.133.168:8919/payment/recharge/index?' + 'url=' + url + '&platform=' + platform + '&token=' + token console.log(rechargeUrl, 'rechargeUrl') window.location.href = rechargeUrl - + // window.open(rechargeUrl) } @@ -557,7 +557,7 @@ onMounted(async () => { - + -

- 试运行阶段,AI小财神可以检索全市场数据,每人每日拥有10次检索机会! -

+
+

+ 试运行期间,AI小财神可以检索全市场数据 +

+

+ (每个市场20支股票,股票详情参见【公告】页面), +

+

+ 弘历会员每人每日拥有10次检索机会! +

+