fix: 更新开发环境API地址并调整富文本编辑页面布局
更新.env.development中的API地址配置,将默认地址切换为测试服务器地址。同时调整富文本编辑移动端页面的显示布局,移除编辑评分和提交者信息,将报道时间显示位置移至主要内容区域
This commit is contained in:
parent
c0ed17cc43
commit
4475c409c7
|
|
@ -4,11 +4,11 @@ ENV = development
|
||||||
# 本地环境接口地址
|
# 本地环境接口地址
|
||||||
# VITE_API_URL = https://4155gf93ll13.vicp.fun/admin
|
# VITE_API_URL = https://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
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,11 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div style="display: flex; align-items: center" @click.stop="goDetail(1, item, true)">
|
<div style="display: flex; align-items: center" @click.stop="goDetail(1, item, true)">
|
||||||
<div style="display: flex; align-items: center; gap: 5px" v-if="item.submitter">
|
<div>
|
||||||
|
<text>报道时间:</text>
|
||||||
|
<text>{{ item.publishTime }}</text>
|
||||||
|
</div>
|
||||||
|
<!-- <div style="display: flex; align-items: center; gap: 5px" v-if="item.submitter">
|
||||||
<el-icon>
|
<el-icon>
|
||||||
<UserFilled />
|
<UserFilled />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
|
|
@ -61,15 +65,11 @@
|
||||||
<div style="margin-left: 20px" v-if="item.rating != 0 && item.rating != null">
|
<div style="margin-left: 20px" v-if="item.rating != 0 && item.rating != null">
|
||||||
<text>编辑评分:</text>
|
<text>编辑评分:</text>
|
||||||
<text>{{ item.rating }}</text>
|
<text>{{ item.rating }}</text>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center; height: 10px">
|
<div style="display: flex; justify-content: space-between; align-items: center; height: 10px">
|
||||||
<div>
|
<div></div>
|
||||||
<text>报道时间:</text>
|
|
||||||
<text>{{ item.publishTime }}</text>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="option">
|
<div class="option">
|
||||||
<el-button v-if="item.deleted" type="text" style="margin-left: -10px"
|
<el-button v-if="item.deleted" type="text" style="margin-left: -10px"
|
||||||
@click="doRecoverFn(item)">
|
@click="doRecoverFn(item)">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue