fix(env): 更新生产环境和开发环境的API地址配置
refactor(richedit): 重构资讯列表的标题显示布局 将生产环境和开发环境的API地址切换回正式域名,并优化了资讯列表页面的标题显示布局,使其更加整齐和一致。
This commit is contained in:
parent
475e356548
commit
505c23f47b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -202,10 +202,19 @@
|
|||
>
|
||||
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||
<template v-slot="scope">
|
||||
<div style="display: flex; justify-content: flex-start; align-items: center; width: 100%">
|
||||
<div style="margin-right: 15px" v-if="scope.row.clusterNews">{{ scope.row.clusterNews ? scope.row.clusterNews.length : 0 }}</div>
|
||||
|
||||
<div
|
||||
style="display: flex; flex-direction: column; justify-content: flex-start; align-items: start; gap: 5px; padding: 10px 0; margin-top: 8px"
|
||||
style="
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: start;
|
||||
gap: 5px;
|
||||
padding: 10px 0;
|
||||
margin-top: 8px;
|
||||
"
|
||||
>
|
||||
<div
|
||||
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
||||
|
|
@ -246,6 +255,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
|
|
|||
|
|
@ -333,12 +333,21 @@
|
|||
</el-table-column> -->
|
||||
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||
<template v-slot="scope">
|
||||
<div style="display: flex; justify-content: flex-start; align-items: center; width: 100%">
|
||||
<div style="margin-right: 15px" v-if="scope.row.clusterNews && Session.get('userInfoLocal').userType == '00'">
|
||||
{{ scope.row.clusterNews ? scope.row.clusterNews.length : 0 }}
|
||||
</div>
|
||||
|
||||
<div
|
||||
style="display: flex; flex-direction: column; justify-content: flex-start; align-items: start; gap: 5px; padding: 10px 0; margin-top: 8px"
|
||||
style="
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: start;
|
||||
gap: 5px;
|
||||
padding: 10px 0;
|
||||
margin-top: 8px;
|
||||
"
|
||||
>
|
||||
<div
|
||||
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
||||
|
|
@ -366,6 +375,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue