mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
删除提示处理,提示文字样式
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
<el-breadcrumb-item :to="{ path: '/article' }">文章列表</el-breadcrumb-item>
|
||||
<el-breadcrumb-item>文章详情</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
<div class="xrow" style="display: flex;justify-content: space-between;">
|
||||
<div class="xrow" style="display: flex;justify-content: space-between;">
|
||||
<div style="flex: 1;" class="xcol content-div">
|
||||
<el-row >
|
||||
<el-row v-if="noData" >
|
||||
<div>
|
||||
<!-- <div v-else>我四娘娘</div> -->
|
||||
<!-- <el-card :body-style="{ padding: '0px',background: '#f6f7fb' }" class="detail"> -->
|
||||
@@ -49,7 +49,10 @@
|
||||
<div>
|
||||
<comments v-if="articleId!=''" @success="success" :obj-type="2" :obj-id="articleId" :toUsers="toUsers" :authorId="articleDetailData.sysCreateAid"></comments>
|
||||
</div>
|
||||
</el-row>
|
||||
</el-row>
|
||||
<div v-else>
|
||||
<el-empty :image-size="200"></el-empty>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 245px;margin-left: 5px;">
|
||||
|
||||
@@ -84,6 +87,7 @@
|
||||
</el-row>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -127,6 +131,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
noData:true,
|
||||
shareInfo:{
|
||||
name:'',
|
||||
load:false,
|
||||
@@ -142,7 +147,6 @@ export default {
|
||||
orgInfo:'',
|
||||
code:'',
|
||||
sex:null,
|
||||
|
||||
},
|
||||
ankingList: [],
|
||||
diagSync:false,//控制弹窗
|
||||
@@ -208,8 +212,10 @@ export default {
|
||||
this.articleDetailData=res.result;
|
||||
//if(this.articleDetailData.toString()!='{}'){
|
||||
this.getAuthorInfo(this.articleDetailData)
|
||||
|
||||
//}
|
||||
}else{
|
||||
this.noData = false;
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
}).catch(err=>{
|
||||
this.$message.error("获取数据失败")
|
||||
|
||||
Reference in New Issue
Block a user