|
@@ -39,6 +39,9 @@ var vNode = new Vue({
|
|
|
}
|
|
|
}
|
|
|
return text
|
|
|
+ },
|
|
|
+ memberAndEntnicheRoot () {
|
|
|
+ return this.powerInfo.memberStatus > 0 || this.powerInfo.entniche
|
|
|
}
|
|
|
},
|
|
|
created: function() {
|
|
@@ -199,13 +202,31 @@ var vNode = new Vue({
|
|
|
// this.vipshow = true
|
|
|
location.href = '/page_workDesktop/'
|
|
|
},
|
|
|
- consultation: function(val) {
|
|
|
+ consultation: function(val, type) {
|
|
|
if (val == 0 && this.isbuy_big) {//供应商服务
|
|
|
this.kefu.text = '扫一扫,立即联系您的专属客服'
|
|
|
} else {
|
|
|
this.kefu.text = '扫一扫,立即联系客户经理'
|
|
|
}
|
|
|
- this.isshow = true
|
|
|
+ const SOURCE_MAP = {
|
|
|
+ 'vip': 'pc_ServiceList_PremiumSubscription',
|
|
|
+ '商机版': 'pc_ServiceList_business',
|
|
|
+ '专家版': 'pc_ServiceList_expert'
|
|
|
+ }
|
|
|
+ const CLUETEXT_MAP = {
|
|
|
+ 'vip': 'PC服务列表-咨询超级订阅(非留资)',
|
|
|
+ '商机版': 'PC服务列表-咨询大会员商机版(非留资)',
|
|
|
+ '专家版': 'PC服务列表-咨询大会员专家版(非留资)'
|
|
|
+ }
|
|
|
+ if(!this.memberAndEntnicheRoot) {
|
|
|
+ window.leaveSourceVue.doLeave({
|
|
|
+ source: SOURCE_MAP[type],
|
|
|
+ clueText: CLUETEXT_MAP[type],
|
|
|
+ platform: 'pc'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.isshow = true
|
|
|
+ }
|
|
|
},
|
|
|
calcFixedTop: function () {
|
|
|
var headerTop = $('#public-nav').height()
|