yangfeng 4 роки тому
батько
коміт
4ce48157fb

+ 5 - 5
src/jfw/modules/app/src/web/templates/big-member/page_ent_portrait.html

@@ -257,12 +257,12 @@
                 <div class="vip_component" v-if="getStatus && !conf._13" style="height:9.16rem;background:url('/common-module/collection/image/bg/vip_bg_1.png') no-repeat;background-size:100% 100%">
                     <vip-component @tabactive="tabActive" type="item_1" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
                 </div>
-                <div class="bg-white tab-card cell-list history-list">
-                    <hispro-component type="winner" :id="entInfo.id"></hispro-component>
-                </div>
-                <!-- <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
+                <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
                     <vip-component @tabactive="tabActive" type="item_9" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
-                </div> -->
+                </div>
+                <div class="bg-white tab-card cell-list history-list" v-else>
+                  <hispro-component type="winner" :id="entInfo.id"></hispro-component>
+              </div>
                 <div class="bg-white tab-card charts" v-if="conf._4 && tabActiveName == '2' && annualData.rows.length !== 0 && !getStatus">
                     <div class="tab-card-title">年度项目统计</div>
                     <!-- e-charts和sticky同时使用时候,需要手动降低css层级(z-index: 1),确保tooltip不遮挡固定定位头部 -->

+ 4 - 4
src/jfw/modules/app/src/web/templates/big-member/page_unit_portrayal.html

@@ -129,13 +129,13 @@
                 </div>
             </div>
             <!-- 历史项目联系人 -->
-            <!-- <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/buyer/01-bg.png') no-repeat;background-size:100% 100%">
+            <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/buyer/01-bg.png') no-repeat;background-size:100% 100%">
               <p class="example-title">历史项目联系方式</p>
               <buyer-example :status="bigStatus" :power="power" type="item_1" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/buyer/01.png'></buyer-example>
-            </div> -->
-            <!-- <div v-else> -->
+            </div>
+            <div v-else>
               <hispro-component class="history-list" type="buyer" :buyer="buyer.name"></hispro-component>
-            <!-- </div> -->
+            </div>
             <!-- 年度项目统计 -->
             <div class="years" v-if="isShow.showYearData">
                 <div class="chart_title">年度项目统计</div>

+ 10 - 3
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -21,7 +21,14 @@
     <script src="https://cdn.jsdelivr.net/npm/html2canvas@1.0.0-alpha.12/dist/html2canvas.min.js"></script>
 
     {{include "/common/js.html"}}
-
+    <style>
+      .unitbtn{
+        margin-left: .28rem;
+        font-size: 0.24rem;
+        white-space: nowrap;
+        color:#2ABED1;
+      }
+    </style>
 </head>
 <body>
 <div class="loading_" id="loading" style="display: none;">
@@ -1392,7 +1399,7 @@
           rerbuyertel=""
           buyertel_show = "hide"
       }
-      outhtml +='<li class="caigouunit"><p class="name">采购单位</p><div class="unitcenter"><p  class="textcontent">'+rerbuyer+'</p><div class="unitbtn '+rerbuyer_show+'"><span class="iconunit"></span></div></div></li>'
+      outhtml +='<li class="caigouunit"><p class="name">采购单位</p><div class="unitcenter"><p  class="textcontent">'+rerbuyer+'</p><div class="unitbtn '+rerbuyer_show+'">立即查看<span class="iconunit" style="display:none;"></span></div></div></li>'
       outhtml +='<li><p class="name">采购联系人</p><p class="textcontent">'+rerbuyerperson+'</p></li>'+
           '<li class="bbm0"><p class="name">采购电话</p><p class="textcontent">'+rerbuyertel+'</p><a class="border-tel_ '+buyertel_show+'" style="position: static;display:block" datalink="/jyapp/vipsubscribe/introducePage"><div class="tel"></div></a></li>'
       if(packageCon==""){
@@ -1440,7 +1447,7 @@
 
           if(count>=5){
               $("#bidInfoTitle").show();
-              var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+ rerwinnerEntId +'"><p class="name">中标单位</p><div class="unitcenter"><p class="textcontent">'+rerwinner+'</p><div class="unitbtn '+rerwinner_show+'"><span class="iconunit"></span></div></li>'
+              var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+ rerwinnerEntId +'"><p class="name">中标单位</p><div class="unitcenter"><p class="textcontent">'+rerwinner+'</p><div class="unitbtn '+rerwinner_show+'">立即查看<span class="iconunit" style="display:none;"></span></div></li>'
               bidInfohtml +='<li class="bbm0"><p class="name">中标金额(元)</p><p class="textcontent">'+rerbidamount+'</p></li>'
               if(winnertel!=""){
                   bidInfohtml +='<li class="bbm0 winnertel bigwinnertel" style="position: relative; margin-bottom: 10px;border-bottom: 0px !important"><p class="name">联系方式</p>'

+ 3 - 3
src/web/staticres/common-module/collection/js/buyer-example.js

@@ -72,9 +72,9 @@ var buyerExample = {
       switch (this.type) {
           // 历史项目联系方式
         case 'item_1': {
-          textMap.headText.top = ' 获取采购单位类似项目联系人、'
-          textMap.headText.bot = '联系方式等,一键拨打!',
-          textMap.source = ''
+          textMap.headText.top = '采购单位项目动态全面获取,'
+          textMap.headText.bot = '帮助企业洞察采购需求,开发新客户!',
+          textMap.source = 'buyer_portrait_contacts'
           break
         }
           // 年度项目统计

+ 26 - 5
src/web/staticres/common-module/collection/js/vip-dialog.js

@@ -11,7 +11,7 @@ var vipDialog = `
     </div>
   </div>
   <div class="openBtn">
-      <button class="goBtn" @click="goOpen">{{getTextMap.btnText}}</button>
+      <button class="goBtn" @click="goOpen(getTextMap.source)">{{getTextMap.btnText}}</button>
   </div>
 </div>
 `
@@ -67,7 +67,8 @@ var vipComponent = {
         headText: {
           top: '通过实时监控项目的招标、中标、合同等',
           bot: '信息,全面挖掘更多潜在商机!'
-        }
+        },
+        source: ''
       }
       if (this.entvisit.total <= this.entvisit.usage || this.vipststus > 0) {
         if (this.entvisit.provin == 0) {
@@ -89,38 +90,56 @@ var vipComponent = {
         }
           // 年度项目统计
         case 'item_2': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '年度项目规模、增长趋势一目了然,'
           textMap.headText.bot = '快速分析市场!'
+          textMap.source = 'ent_portrait_yearData'
           break
         }
           // 月度中标金额统计
         case 'item_3': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '纵向对比采购单位近三年月度采购规模,'
           textMap.headText.bot = '不错过任何商机!'
+          textMap.source = 'ent_portrait_monthData'
           break
         }
           // 市场区域分布
         case 'item_4': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '通过企业市场规模、市场格局,'
           textMap.headText.bot = '分析企业的市场发展现状!'
+          textMap.source = 'ent_portrait_areaData'
           break
         }
           // 各类客户平均折扣率
         case 'item_5': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '通过近3年各类客户平均折扣率范围,'
           textMap.headText.bot = '透视企业的行业盈利能力!'
+          textMap.source = 'ent_portrait_discountRate'
           break
         }
           // 客户类型分布
         case 'item_6': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '通过企业主要客户类型分析,'
           textMap.headText.bot = '洞悉企业业务模式、经营状况!'
+          textMap.source = 'ent_portrait_top10'
           break
         }
           // 重点客户
         case 'item_7': {
+          textMap.titleText = '开通大会员'
+          textMap.btnText = '免费体验'
           textMap.headText.top = '通过挖掘企业重点客户,直观了解采购单位'
           textMap.headText.bot = '与供应商关系远近,辅助投标决策!'
+          textMap.source = 'ent_portrait_topShow'
           break
         }
           // 企业情报历史记录
@@ -129,6 +148,7 @@ var vipComponent = {
           textMap.btnText = '免费体验'
           textMap.headText.top = '快速查询全国企业工商信息、法人信息、'
           textMap.headText.bot = '联系方式,全面掌控企业动态!'
+          textMap.source = 'ent_portrait_changeList'
           break
         }
           // 历史项目联系方式
@@ -137,6 +157,7 @@ var vipComponent = {
           textMap.btnText = '免费体验'
           textMap.headText.top = '获取企业历史项目联系人信息,'
           textMap.headText.bot = '直接与甲方或渠道商项目负责人对接!'
+          textMap.source = 'ent_portrait_contacts'
           break
         }
         default: {
@@ -149,7 +170,7 @@ var vipComponent = {
     },
   },
   methods: {
-    goOpen: function() {
+    goOpen: function(source) {
       // 点击按钮保存tabActiveName值
       this.$emit('tabactive', 'save')
       let isWeixin = utils.isWeiXinBrowser
@@ -164,7 +185,7 @@ var vipComponent = {
             location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
           }
         } else if (this.getTextMap.btnText == '免费体验') {
-          location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+          location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=' + source
         } else if (this.getTextMap.btnText == '去升级') {
           location.href = '/jyapp/vipsubscribe/upgradePage'
         } else if(this.getTextMap.btnText == '联系客服') {
@@ -182,7 +203,7 @@ var vipComponent = {
             location.href = '/front/vipsubscribe/vipsubscribe_new'
           }
         } else if (this.getTextMap.btnText == '免费体验') {
-          location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=ent_portrait'
+          location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=' + source
         } else if (this.getTextMap.btnText == '去升级') {
           location.href = '/front/vipsubscribe/upgradePage'
         } else if(this.getTextMap.btnText == '联系客服') {

+ 4 - 4
src/web/templates/big-member/wx/page_unit_portrayal.html

@@ -135,13 +135,13 @@
               </div>
           </div>
           <!-- 历史项目联系人 -->
-          <!-- <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/buyer/01-bg.png?v=1') no-repeat;background-size:100% 100%;">
+          <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/buyer/01-bg.png?v=1') no-repeat;background-size:100% 100%;">
             <p class="example-title">历史项目联系方式</p>
             <buyer-example :status="bigStatus" :power="power" type="item_1" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/buyer/01.png'></buyer-example>
-          </div> -->
-          <!-- <div v-else> -->
+          </div>
+          <div v-else>
             <hispro-component class="history-list" type="buyer" :buyer="buyer.name"></hispro-component>
-          <!-- </div> -->
+          </div>
           <!-- 年度项目统计 -->
           <div class="years" v-if="isShow.showYearData">
               <div class="chart_title">年度项目统计</div>

+ 1 - 1
src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html

@@ -547,7 +547,7 @@
       this.ajaxGetEchoInfo()
       this.wxTweetAjax('isICRP') // 公众号推文进入的埋点
       this.bigDocAjax('ICRP') // 进入留资页面埋点
-      this.fromBuyerAjax('isICRP') // 采购单位画像、企业画像进来埋点
+      // this.fromBuyerAjax('isICRP') // 采购单位画像、企业画像进来埋点
     },
     computed: {
       isShowCancel () {

+ 5 - 5
src/web/templates/frontRouter/wx/collection/sess/ent_portrait.html

@@ -262,12 +262,12 @@
                 <div class="vip_component" v-if="getStatus && !conf._13" style="height:9.16rem;background:url('/common-module/collection/image/bg/vip_bg_1.png') no-repeat;background-size:100% 100%">
                     <vip-component @tabactive="tabActive" type="item_1" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
                 </div>
-                <div class="bg-white tab-card cell-list history-list">
-                    <hispro-component type="winner" :id="entInfo.id"></hispro-component>
-                </div>
-                <!-- <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
+                <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
                     <vip-component @tabactive="tabActive" type="item_9" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
-                </div> -->
+                </div>
+                <div class="bg-white tab-card cell-list history-list" v-else>
+                  <hispro-component type="winner" :id="entInfo.id"></hispro-component>
+                </div>
                 <div class="bg-white tab-card charts" v-if="conf._4 && tabActiveName == '2' && annualData.rows.length !== 0  && !getStatus">
                     <div class="tab-card-title">年度项目统计</div>
                     <!-- e-charts和sticky同时使用时候,需要手动降低css层级(z-index: 1),确保tooltip不遮挡固定定位头部 -->

+ 7 - 2
src/web/templates/weixin/wxinfocontent_rec.html

@@ -609,6 +609,11 @@ pre {
 .content img{
   width:100%;
 }
+.go-look{
+  font-size: 0.24rem;
+  white-space: nowrap;
+  color: #2ABED1
+}
 </style>
 </head>
 <body>
@@ -1652,7 +1657,7 @@ $(function(){
 		if(rerbuyertel==undefined||rerbuyertel==null){
 			rerbuyertel=""
 		}
-		outhtml +='<li><p class="name">采购单位</p><div class="unitcenter caigouunit"><p class="textcontent">'+rerbuyer+'</p></div><a dataName="采购单位" dataCont="'+rerbuyer+'" dataCode="buyer" onClick="recoveryAction(this)">纠错</a></li>'
+		outhtml +='<li><p class="name">采购单位</p><div class="unitcenter caigouunit"><p class="textcontent">'+rerbuyer+'</p></div><span class="go-look">立即查看</span><a dataName="采购单位" dataCont="'+rerbuyer+'" dataCode="buyer" onClick="recoveryAction(this)">纠错</a></li>'
 		outhtml +='<li><p class="name">采购联系人</p><p class="textcontent">'+rerbuyerperson+'</p><a dataName="采购联系人" dataCont="'+rerbuyerperson+'" dataCode="buyerperson" onClick="recoveryAction(this)">纠错</a></li>'+
 					'<li class="bbm0"><p class="name">采购电话</p><p class="textcontent">'+rerbuyertel+'</p><a dataName="采购电话" dataCont="'+rerbuyertel+'" dataCode="buyertel" onClick="recoveryAction(this)">纠错</a></li>'
 		if(packageCon==""){
@@ -1694,7 +1699,7 @@ $(function(){
     }
     if(count>=5){
 		$("#bidInfoTitle").show();
-  		var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+rerwinnerEntId+'"><p class="name">中标单位</p><p class="textcontent" style="text-decoration-line: underline;color: #2ABED1;">'+rerwinner+'</p><a dataName="中标单位" dataCont="'+rerwinner+'" dataCode="winner" onClick="recoveryAction(this)">纠错</a></li>'
+  		var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+rerwinnerEntId+'"><p class="name">中标单位</p><p class="textcontent" style="text-decoration-line: underline;color: #2ABED1;">'+rerwinner+'</p><span class="go-look">立即查看</span><a dataName="中标单位" dataCont="'+rerwinner+'" dataCode="winner" onClick="recoveryAction(this)">纠错</a></li>'
   		bidInfohtml +='<li class="bbm0"><p class="name">中标金额(元)</p><p class="textcontent">'+rerbidamount+'</p><a dataName="中标金额(元)" dataCont="'+rerbidamount+'" dataCode="bidamount" onClick="recoveryAction(this)">纠错</a></li>'
       if(winnertel!=""){
         bidInfohtml +='<li class="bbm0 winnertel"><p class="name">联系方式</p>';