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://4155gf93ll13.vicp.fun/admin
|
||||||
# VITE_API_URL = http://localhost:13579/admin
|
# VITE_API_URL = http://localhost:13579/admin
|
||||||
# VITE_API_URL = https://cankao.cs.com.cn/admin
|
VITE_API_URL = https://cankao.cs.com.cn/admin
|
||||||
VITE_API_URL = http://123.60.153.169:8040/admin
|
# VITE_API_URL = http://123.60.153.169:8040/admin
|
||||||
|
|
||||||
# VITE_API_URL = /api
|
# VITE_API_URL = /api
|
||||||
|
|
||||||
#H5的域名,目前是给列表里的复制用
|
#H5的域名,目前是给列表里的复制用
|
||||||
# VITE_API_URL_H5 = https://cankao.cs.com.cn
|
VITE_API_URL_H5 = https://cankao.cs.com.cn
|
||||||
VITE_API_URL_H5 = http://123.60.153.169:8040
|
# VITE_API_URL_H5 = http://123.60.153.169:8040
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
ENV = production
|
ENV = production
|
||||||
|
|
||||||
# 线上环境接口地址
|
# 线上环境接口地址
|
||||||
# VITE_API_URL = https://cankao.cs.com.cn/admin
|
VITE_API_URL = https://cankao.cs.com.cn/admin
|
||||||
VITE_API_URL = http://123.60.153.169:8040/admin
|
# VITE_API_URL = http://123.60.153.169:8040/admin
|
||||||
|
|
||||||
#H5的域名,目前是给列表里的复制用
|
#H5的域名,目前是给列表里的复制用
|
||||||
# VITE_API_URL_H5 = https://cankao.cs.com.cn
|
VITE_API_URL_H5 = https://cankao.cs.com.cn
|
||||||
VITE_API_URL_H5 = http://123.60.153.169:8040
|
# VITE_API_URL_H5 = http://123.60.153.169:8040
|
||||||
|
|
|
||||||
|
|
@ -202,31 +202,40 @@
|
||||||
>
|
>
|
||||||
<el-table-column prop="title" label="标题" align="left" width="380">
|
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<div style="margin-right: 15px" v-if="scope.row.clusterNews">{{ scope.row.clusterNews ? scope.row.clusterNews.length : 0 }}</div>
|
<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"
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
style="
|
||||||
style="font-size: 14px; font-weight: bold; margin-left: -20px; margin-bottom: 30px"
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: start;
|
||||||
|
gap: 5px;
|
||||||
|
padding: 10px 0;
|
||||||
|
margin-top: 8px;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
聚类资讯({{ scope.row.childLength }}条)
|
<div
|
||||||
</div>
|
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
||||||
|
style="font-size: 14px; font-weight: bold; margin-left: -20px; margin-bottom: 30px"
|
||||||
<div style="display: inline-block">
|
>
|
||||||
<span style="color: red; font-weight: bold; margin-right: 3px" v-if="scope.row.exclusive == 1">[独家]</span>
|
聚类资讯({{ scope.row.childLength }}条)
|
||||||
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)" v-html="scope.row.title"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="labels">
|
|
||||||
<div class="label_item" v-if="scope.row.companyName && scope.row.companyName.length > 0">
|
|
||||||
{{ scope.row.companyName }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="labels">
|
<div style="display: inline-block">
|
||||||
<!-- <div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
<span style="color: red; font-weight: bold; margin-right: 3px" v-if="scope.row.exclusive == 1">[独家]</span>
|
||||||
|
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)" v-html="scope.row.title"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="labels">
|
||||||
|
<div class="label_item" v-if="scope.row.companyName && scope.row.companyName.length > 0">
|
||||||
|
{{ scope.row.companyName }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="labels">
|
||||||
|
<!-- <div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
||||||
<div v-for="item in scope.row.conceptLabels" :key="item" class="label_item" style="background-color: #eee6cd">
|
<div v-for="item in scope.row.conceptLabels" :key="item" class="label_item" style="background-color: #eee6cd">
|
||||||
{{ item }}
|
{{ item }}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -238,11 +247,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||||
{{ scope.row.conceptLabels[0] }}
|
{{ scope.row.conceptLabels[0] }}
|
||||||
</div>
|
</div>
|
||||||
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||||
{{ scope.row.industryLabels[0] }}
|
{{ scope.row.industryLabels[0] }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -333,36 +333,46 @@
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="title" label="标题" align="left" width="380">
|
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<div style="margin-right: 15px" v-if="scope.row.clusterNews && Session.get('userInfoLocal').userType == '00'">
|
<div style="display: flex; justify-content: flex-start; align-items: center; width: 100%">
|
||||||
{{ scope.row.clusterNews ? scope.row.clusterNews.length : 0 }}
|
<div style="margin-right: 15px" v-if="scope.row.clusterNews && Session.get('userInfoLocal').userType == '00'">
|
||||||
</div>
|
{{ 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"
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
style="
|
||||||
style="font-size: 14px; font-weight: bold; margin-left: -20px; margin-bottom: 30px"
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: start;
|
||||||
|
gap: 5px;
|
||||||
|
padding: 10px 0;
|
||||||
|
margin-top: 8px;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
聚类资讯({{ scope.row.childLength }}条)
|
<div
|
||||||
</div>
|
v-if="scope.row.isChild && scope.row.clusterIndex == 0"
|
||||||
<div style="display: inline-block">
|
style="font-size: 14px; font-weight: bold; margin-left: -20px; margin-bottom: 30px"
|
||||||
<span style="color: red; font-weight: bold; margin-right: 3px" v-if="scope.row.exclusive == 1">[独家]</span>
|
>
|
||||||
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)" v-html="scope.row.title"></span>
|
聚类资讯({{ scope.row.childLength }}条)
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
|
||||||
<div class="label_item" v-if="scope.row.companyName && scope.row.companyName.length > 0">
|
|
||||||
{{ scope.row.companyName }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div style="display: inline-block">
|
||||||
|
<span style="color: red; font-weight: bold; margin-right: 3px" v-if="scope.row.exclusive == 1">[独家]</span>
|
||||||
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)" v-html="scope.row.title"></span>
|
||||||
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
|
||||||
{{ scope.row.conceptLabels[0] }}
|
|
||||||
</div>
|
</div>
|
||||||
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
|
||||||
{{ scope.row.industryLabels[0] }}
|
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
||||||
|
<div class="label_item" v-if="scope.row.companyName && scope.row.companyName.length > 0">
|
||||||
|
{{ scope.row.companyName }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
||||||
|
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||||
|
{{ scope.row.conceptLabels[0] }}
|
||||||
|
</div>
|
||||||
|
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||||
|
{{ scope.row.industryLabels[0] }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue