From 505c23f47bad6a73f03d3064a59a8f3215787aa6 Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Tue, 2 Dec 2025 16:10:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(env):=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83=E5=92=8C=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84API=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(richedit): 重构资讯列表的标题显示布局 将生产环境和开发环境的API地址切换回正式域名,并优化了资讯列表页面的标题显示布局,使其更加整齐和一致。 --- .env.development | 8 ++-- .env.production | 8 ++-- src/views/pages/richedit/all.vue | 60 +++++++++++++++++------------- src/views/pages/richedit/index.vue | 60 +++++++++++++++++------------- 4 files changed, 78 insertions(+), 58 deletions(-) diff --git a/.env.development b/.env.development index 9b3c2c7..cd71747 100644 --- a/.env.development +++ b/.env.development @@ -4,11 +4,11 @@ ENV = development # 本地环境接口地址 # VITE_API_URL = http://4155gf93ll13.vicp.fun/admin # VITE_API_URL = http://localhost:13579/admin -# VITE_API_URL = https://cankao.cs.com.cn/admin -VITE_API_URL = http://123.60.153.169:8040/admin +VITE_API_URL = https://cankao.cs.com.cn/admin +# VITE_API_URL = http://123.60.153.169:8040/admin # VITE_API_URL = /api #H5的域名,目前是给列表里的复制用 -# VITE_API_URL_H5 = https://cankao.cs.com.cn -VITE_API_URL_H5 = http://123.60.153.169:8040 +VITE_API_URL_H5 = https://cankao.cs.com.cn +# VITE_API_URL_H5 = http://123.60.153.169:8040 diff --git a/.env.production b/.env.production index 45f54ad..4fb8e9d 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ ENV = production # 线上环境接口地址 -# VITE_API_URL = https://cankao.cs.com.cn/admin -VITE_API_URL = http://123.60.153.169:8040/admin +VITE_API_URL = https://cankao.cs.com.cn/admin +# VITE_API_URL = http://123.60.153.169:8040/admin #H5的域名,目前是给列表里的复制用 -# VITE_API_URL_H5 = https://cankao.cs.com.cn -VITE_API_URL_H5 = http://123.60.153.169:8040 +VITE_API_URL_H5 = https://cankao.cs.com.cn +# VITE_API_URL_H5 = http://123.60.153.169:8040 diff --git a/src/views/pages/richedit/all.vue b/src/views/pages/richedit/all.vue index d695a92..74bb5a9 100644 --- a/src/views/pages/richedit/all.vue +++ b/src/views/pages/richedit/all.vue @@ -202,31 +202,40 @@ >