Commit 18ee0cbc authored by zhangyanni's avatar zhangyanni

我的评论

parent 90f9a327
......@@ -172,24 +172,27 @@
routerLink:"/myjoin"
});
this.activeList.push({
id: 5,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
if(this.lang==1) {
this.activeList.push({
id: 5,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
}
this.activeList.push({
id: 6,
name: "mymessage",
icon:"icon-wodexinxi",
routerLink:"/mobileAddAuth"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
}
......@@ -201,38 +204,43 @@
// routerLink:"/myjoin"
//
// });
this.activeList.push({
id: 2,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
if(this.lang==1){
this.activeList.push({
id: 2,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
}
this.activeList.push({
id: 3,
name: "serviceRecord",
icon:"icon-xiangqing",
routerLink:"/serviceenterprise"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
}
if(this.publicFun.isgetUserRoleFunc(1)||this.publicFun.isgetUserRoleFunc(2)){
this.activeList.push({
id: 2,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
if(this.lang==1){
this.activeList.push({
id: 2,
name: "myComment",
icon:"icon-wodepingjia",
routerLink:"/personaldata"
});
this.activeList.push({
id: 7,
name: "myCollection",
icon:"icon-star",
routerLink:"/collection"
});
}
}
}
}).catch((err) => {
......
<template>
<div class="noDataWrap">
<div>
<div style="margin-bottom: 0.5rem;width: 100%;">
<p style="text-align: center" v-if="showTab==1">
<img src="../../../assets/img/mobile/topicEmpty.png" style="height: 1.79rem;width: 1.76rem;" alt="">
</p>
<!--<p style="text-align: center" v-if="showTab==1"><img src="../../../assets/img/mobile/noBusiness.png"-->
<!--style="height: 1.6rem;width: 1.6rem;" alt=""></p>-->
<p style="text-align: center" v-if="showTab==2"><img src="../../../assets/img/mobile/noArticle.png"
style="height: 1.6rem;width: 2.5rem;" alt=""></p>
<p style="text-align: center" v-if="showTab==3"><img src="../../../assets/img/mobile/noProject.png"
style="height: 1.6rem;width: 1.5rem;" alt=""></p>
</div>
<p style="font-size:0.28rem;color:#AAAAAA;padding: 0 0.4rem;line-height: 0.5rem;text-align: center;width: 100%;">
<span v-if="showTab==1">暂无话题的讨论,可去 <span style="color: #5d78ff;" @click="$router.push('/topicList')">精选话题</span> 看看</span>
<span v-if="showTab==2">暂无文章的评论,可去 <span style="color: #5d78ff;" @click="$router.push('/articleList')">热门文章</span> 看看</span>
<span v-if="showTab==3">暂无项目的点评,可去 <span style="color: #5d78ff;" @click="$router.push('/subjectList')">评选项目</span> 看看</span>
</p>
</div>
</div>
</template>
<script>
export default {
name: "noDataComment",
props: {
nodata: false,
showTab: 0,
},
data() {
return {
lang: this.$i18n.locale == "zh-CN" ? 1 : 2,
}
},
methods: {},
mounted() {
}
}
</script>
<style scoped lang="scss">
.noDataWrap {
width: 100%;
padding-bottom: .3rem;
height: calc(100% - 1rem);
display: flex;
flex-wrap: wrap;
align-items: center;
position: absolute;
left: 0;
top: 1rem;
justify-content: center;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment