|
@@ -211,6 +211,7 @@ var vNode = {
|
|
|
},
|
|
|
// 查看次数为零,显示遮罩
|
|
|
getStatus: function () {
|
|
|
+ console.log((!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage && this.powerInfo.memberStatus <= 0) || (this.entvisit.total <= this.entvisit.usage && !this.showContacts))
|
|
|
return (!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage && this.powerInfo.memberStatus <= 0) || (this.entvisit.total <= this.entvisit.usage && !this.showContacts)
|
|
|
},
|
|
|
isMember () {
|
|
@@ -225,6 +226,11 @@ var vNode = {
|
|
|
},
|
|
|
showContacts: function () {
|
|
|
return this.conf.arr.indexOf(4) > -1 && this.powerInfo.memberStatus > 0
|
|
|
+ },
|
|
|
+ // 是否隐藏动态 显示遮罩
|
|
|
+ hideDt: function() {
|
|
|
+ // 是新超级订阅 且不是大会员且次数已用完 或大会员没有项目动态权限
|
|
|
+ return this.isVip && this.powerInfo.memberStatus <= 0 && this.entvisit.total <= this.entvisit.usage || this.conf.arr.indexOf(13) === -1
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -379,8 +385,8 @@ var vNode = {
|
|
|
if (res.error_code == 0) {
|
|
|
if (res.data) {
|
|
|
// res.data.provin = 1
|
|
|
- // res.data.total = 1
|
|
|
- // res.data.usage = 2
|
|
|
+ res.data.total = 1
|
|
|
+ res.data.usage = 2
|
|
|
_this.entvisit = res.data
|
|
|
}
|
|
|
}
|