update
This commit is contained in:
parent
ac1ff358bd
commit
a134181592
@ -58,7 +58,7 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<div class="NavInfo">
|
<div class="NavInfo">
|
||||||
<span style="width:200px">创建时间:{{ Cdate }}</span><br/>
|
<span style="width:200px">创建时间:{{ Cdate }}</span><br/>
|
||||||
<span style="width:200px">所属标签:{{BelongTo}}</span><br/>
|
<span style="width:200px">所属标签:{{CateNum}}</span><br/>
|
||||||
<div style="display: flex;flex-direction: row">
|
<div style="display: flex;flex-direction: row">
|
||||||
<div class="little-Circle" id="readNum" style=" margin-left:15px;">
|
<div class="little-Circle" id="readNum" style=" margin-left:15px;">
|
||||||
<el-tooltip placement="top" width="150"
|
<el-tooltip placement="top" width="150"
|
||||||
@ -346,6 +346,7 @@ export default {
|
|||||||
components: {LeftSide, HotRecomment, NewRecomment, RandomRecomment, UserComment},
|
components: {LeftSide, HotRecomment, NewRecomment, RandomRecomment, UserComment},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
CateNum:'',
|
||||||
userId:'',
|
userId:'',
|
||||||
userItem:{},
|
userItem:{},
|
||||||
// 点赞数:
|
// 点赞数:
|
||||||
@ -439,7 +440,6 @@ export default {
|
|||||||
this.addViewByTime();
|
this.addViewByTime();
|
||||||
this.UrlId = this.$route.query.uid;
|
this.UrlId = this.$route.query.uid;
|
||||||
this.GetNav(this.UrlId);
|
this.GetNav(this.UrlId);
|
||||||
|
|
||||||
if(this.UrlId){
|
if(this.UrlId){
|
||||||
this.ViewByTime(this.UrlId)
|
this.ViewByTime(this.UrlId)
|
||||||
}
|
}
|
||||||
@ -448,6 +448,22 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取标签名:
|
||||||
|
getNavName(name) {
|
||||||
|
let _this = this;
|
||||||
|
if (name) {
|
||||||
|
axios({
|
||||||
|
method: 'post',
|
||||||
|
url: '/api/UrlAndCate/selectName',
|
||||||
|
params: {
|
||||||
|
id: name
|
||||||
|
}
|
||||||
|
}).then((res)=> {
|
||||||
|
_this.CateNum = res.data;
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
getConfig(name) {
|
getConfig(name) {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
if (name) {
|
if (name) {
|
||||||
@ -899,8 +915,7 @@ export default {
|
|||||||
if(that.UrlObj.desc == null){
|
if(that.UrlObj.desc == null){
|
||||||
that.flag1 = false;
|
that.flag1 = false;
|
||||||
}
|
}
|
||||||
|
that.getNavName(that.UrlObj.cateId);
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user