From 69131f5f1d20ff75b46832f5e3b14bffca94d4a9 Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Thu, 18 Dec 2025 14:08:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=92=8C=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=9A=84API=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将生产环境和开发环境的API地址统一更改为http://123.60.153.169:8040/apih5,以保持环境配置一致性 --- .env.production | 4 ++-- src/config/index.ts | 2 +- src/pages/detail/indexNewsInfo.vue | 21 ++++++++++++++++----- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.env.production b/.env.production index 8ff2d92..de01dda 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ ENV = production # 线上环境接口地址 # VITE_API_URL = https://cankao.cs.com.cn/mini -# VITE_API_URL = http://123.60.153.169:8040/apih5 -VITE_API_URL = https://cankao.cs.com.cn/apih5 +VITE_API_URL = http://123.60.153.169:8040/apih5 +# VITE_API_URL = https://cankao.cs.com.cn/apih5 # VITE_API_URL = http://123.60.79.143:8041/apih5 diff --git a/src/config/index.ts b/src/config/index.ts index 3a10ca3..81f1ed6 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,6 +1,6 @@ // const baseUrl = "http://192.168.31.25:8060/api"; // export const baseUrl = "http://127.0.0.1:8040/apih5"; -export const baseUrl = "http://192.168.3.38:8040/apih5"; +export const baseUrl = "http://123.60.153.169:8042/apih5"; // export const baseUrl = "https://cankao.cs.com.cn/mini"; export const baseUrlDataV = "https://cankao.cs.com.cn/zzck_datav"; diff --git a/src/pages/detail/indexNewsInfo.vue b/src/pages/detail/indexNewsInfo.vue index 1128aa9..fdf5890 100644 --- a/src/pages/detail/indexNewsInfo.vue +++ b/src/pages/detail/indexNewsInfo.vue @@ -7,7 +7,8 @@ top: 0, background: '#fff', zIndex: '9999', - }"> + }" + > @@ -18,9 +19,14 @@ top: getNavHeight() + 'px', background: '#fff', zIndex: '9999', - }"> + }" + > - + @@ -40,7 +46,12 @@ /> --> - + - +