Эх сурвалжийг харах

fix:企业画像修改仅企业情报历史记录留资

yangfeng 4 жил өмнө
parent
commit
cfad14634d

+ 14 - 13
src/web/staticres/common-module/collection/js/vip-dialog.js

@@ -52,7 +52,7 @@ var vipComponent = {
   data: function() {
     return {
       titleText: '开通超级订阅',
-      btnText: '免费体验',
+      btnText: '去开通',
       headText: {
         top: '通过实时监控项目的招标、中标、合同等',
         bot: '信息,全面挖掘更多潜在商机!'
@@ -63,7 +63,7 @@ var vipComponent = {
     getTextMap () {
       var textMap = {
         titleText: '开通超级订阅',
-        btnText: '免费体验',
+        btnText: '去开通',
         headText: {
           top: '通过实时监控项目的招标、中标、合同等',
           bot: '信息,全面挖掘更多潜在商机!'
@@ -71,7 +71,7 @@ var vipComponent = {
       }
       if (this.entvisit.total <= this.entvisit.usage || this.vipststus > 0) {
         if (this.entvisit.provin == 0) {
-          textMap.btnText = '免费体验'
+          textMap.btnText = '去开通'
         } else if (this.entvisit.provin != -1) {
           textMap.titleText = '超级订阅'
           textMap.btnText = '去升级'
@@ -154,16 +154,17 @@ var vipComponent = {
       this.$emit('tabactive', 'save')
       let isWeixin = utils.isWeiXinBrowser
       if(!isWeixin) {
-        if (this.getTextMap.btnText == '免费体验') {
+        if (this.getTextMap.btnText == '去开通') {
           if(this.type == 'item_9' || this.type == 'item_8') {
             // 跳转到大会员
-            // location.href = '/jyapp/big/page/buy_commit'
-            location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+            location.href = '/jyapp/big/page/buy_commit'
+            // location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=ent_portrait'
           } else {
             // 跳转到超级订阅
-            // location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
-            location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+            location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
           }
+        } else if (this.getTextMap.btnText == '免费体验') {
+          location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=ent_portrait'
         } else if (this.getTextMap.btnText == '去升级') {
           location.href = '/jyapp/vipsubscribe/upgradePage'
         } else if(this.getTextMap.btnText == '联系客服') {
@@ -172,16 +173,16 @@ var vipComponent = {
           location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
         }
       } else {
-        if (this.getTextMap.btnText == '免费体验') {
+        if (this.getTextMap.btnText == '去开通') {
           if(this.type == 'item_9' || this.type == 'item_8') {
             // 跳转到大会员
-            // location.href = '/big/wx/page/buy_commit'
-            location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+            location.href = '/big/wx/page/buy_commit'
           } else {
             // 跳转到超级订阅
-            // location.href = '/front/vipsubscribe/vipsubscribe_new'
-            location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+            location.href = '/front/vipsubscribe/vipsubscribe_new'
           }
+        } else if (this.getTextMap.btnText == '免费体验') {
+          location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=ent_portrait'
         } else if (this.getTextMap.btnText == '去升级') {
           location.href = '/front/vipsubscribe/upgradePage'
         } else if(this.getTextMap.btnText == '联系客服') {