|
@@ -174,7 +174,8 @@ var vNode = {
|
|
|
isShowMoreBtn:false,
|
|
|
unitParams: {},
|
|
|
follow:false, // 是否监控,
|
|
|
- allpower:{}
|
|
|
+ allpower:{},
|
|
|
+ pageScrollTop: 0
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -350,7 +351,8 @@ var vNode = {
|
|
|
referer: location.href
|
|
|
}
|
|
|
},
|
|
|
- onUnitScroll: utils.debounce(function() {
|
|
|
+ onUnitScroll: utils.debounce(function(e) {
|
|
|
+ this.pageScrollTop = e.target.scrollTop
|
|
|
if (!this.getfreeBuyerOpen) return
|
|
|
}, 300),
|
|
|
goOpenVip: function () {
|
|
@@ -502,7 +504,7 @@ var vNode = {
|
|
|
data: JSON.stringify(params),
|
|
|
success: function(res) {
|
|
|
if (res.data && !_this.follow) { // 为监控调用组件函数 相关逻辑统一组件内处理
|
|
|
- _this.$refs.portrayalFooter.no_monitor(res.data)
|
|
|
+ _this.$refs.portrayalFooter.no_monitor(res.data)
|
|
|
}
|
|
|
if (res && res.error_code === 0 && res.data.status) {
|
|
|
if (_this.follow) {
|
|
@@ -512,7 +514,7 @@ var vNode = {
|
|
|
_this.updataStorage(decodeURIComponent(utils.getParam('entName')),'isFollowed',false)
|
|
|
} else {
|
|
|
// 关注操作返回
|
|
|
- _this.follow = true
|
|
|
+ _this.follow = true
|
|
|
_this.updataStorage(decodeURIComponent(utils.getParam('entName')),'isFollowed',true)
|
|
|
}
|
|
|
|
|
@@ -539,7 +541,7 @@ var vNode = {
|
|
|
}catch(e){
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 点击去开通埋点方法(免费体验)
|
|
|
goBuyBuried: function(text) {
|
|
|
var _this = this
|
|
@@ -1757,7 +1759,7 @@ var vNode = {
|
|
|
sessionStorage.removeItem(this.sessKey)
|
|
|
return false
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.chartLoading = $data.chartLoading
|
|
|
this.tabActiveName = $data.tabActiveName
|
|
|
Object.assign(this.buyer, $data.buyer || {})
|