Răsfoiți Sursa

分支合并

123456 1 an în urmă
părinte
comite
1208a19281
50 a modificat fișierele cu 645 adăugiri și 339 ștergeri
  1. 6 2
      src/index.yaml
  2. 4 2
      src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js
  3. 7 4
      src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/unit_portrayal.js
  4. 5 2
      src/jfw/modules/app/src/web/templates/big-member/page_client_portrayal.html
  5. 4 1
      src/jfw/modules/app/src/web/templates/big-member/page_ent_portrait.html
  6. 4 1
      src/jfw/modules/app/src/web/templates/big-member/page_unit_portrayal.html
  7. 3 3
      src/jfw/modules/app/src/web/templates/frontRouter/fileRecord/sess/index.html
  8. 2 1
      src/jfw/modules/bigmember/src/filter/sessionfilter.go
  9. 83 0
      src/jfw/modules/bigmember/src/service/use/custom.go
  10. 1 0
      src/jfw/modules/bigmember/src/service/use/use.go
  11. 8 6
      src/web/staticres/big-member/js/unit_portrayal.js
  12. 10 6
      src/web/staticres/common-module/big-member/js/client_portrayal.js
  13. 4 1
      src/web/staticres/common-module/collection/js/ent_portrait.js
  14. 43 28
      src/web/staticres/common-module/consult-dialog/js/index.js
  15. BIN
      src/web/staticres/common-module/customer-corner/img/kf-blue.png
  16. 65 0
      src/web/staticres/common-module/customer-corner/mobile-template.js
  17. 19 9
      src/web/staticres/common-module/exhibition/css/index_pc.css
  18. 21 17
      src/web/staticres/common-module/file-pack/js/index-wx.js
  19. 21 17
      src/web/staticres/common-module/file-pack/js/index.js
  20. 18 13
      src/web/staticres/frontRouter/pc/cooperation/css/index.css
  21. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/bottom.png
  22. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-1.png
  23. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-2.png
  24. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-3.png
  25. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-4.png
  26. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-1.png
  27. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-2.png
  28. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-3.png
  29. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-4.png
  30. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/join/1.png
  31. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/join/2.png
  32. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/join/3.png
  33. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/join/4.png
  34. BIN
      src/web/staticres/frontRouter/pc/cooperation/img/qr.png
  35. 14 16
      src/web/staticres/frontRouter/pc/fileHistory/js/index-pc.js
  36. BIN
      src/web/staticres/images/index/new/wework.png
  37. 7 1
      src/web/staticres/js/login.js
  38. 112 86
      src/web/staticres/public-pc/css/pc-bottom.css
  39. 42 1
      src/web/staticres/public-pc/js/pc-bottom.js
  40. 22 45
      src/web/staticres/serviceSystem/js/serviceSystem.js
  41. 3 0
      src/web/templates/big-member/wx/page_client_portrayal.html
  42. 3 0
      src/web/templates/big-member/wx/page_unit_portrayal.html
  43. 56 50
      src/web/templates/common/pcbottom.html
  44. 12 6
      src/web/templates/exhibition/pc/index.html
  45. 12 6
      src/web/templates/frontRouter/pc/cooperation/free/index.html
  46. 2 2
      src/web/templates/frontRouter/pc/serviceSystem/free/index.html
  47. 4 1
      src/web/templates/frontRouter/wx/collection/sess/ent_portrait.html
  48. 3 3
      src/web/templates/frontRouter/wx/fileRecord/sess/index.html
  49. 3 0
      src/web/templates/pc/classifylist.html
  50. 22 9
      src/web/templates/pc/dataExport_sieve.html

+ 6 - 2
src/index.yaml

@@ -81,13 +81,17 @@ topMenu:
         href: /front/advservices.html
       - name: 企业认证
         href: /swordfish/frontPage/enterpriseCertificatio/free/index
+<<<<<<< HEAD
       - name: 中标必听课
         href: /jyxspc
       - name: 商务合作
+=======
+      - name: 展会报名
+        href: /exhibition/list/pc/index.html
+      - name: 渠道及商务合作
+>>>>>>> master
         href: /swordfish/frontPage/cooperation/free/index
         class: red
-      - name: 合作招募
-        href: /swordfish/frontPage/partner/free/index
       - name: 发布供需信息
         href: /swordfish/frontPage/InformationDistribution/free/index
         class: red

+ 4 - 2
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -135,6 +135,8 @@ var vNode = {
       },
       importantCustomers: [],
       scrollTop: 0,
+      // 页面滚动距离
+      pageScrollTop: 0,
       getEntPortraitInfoTimes: 0,
       initEchartsOptions: {
         renderer: 'svg'
@@ -361,8 +363,8 @@ var vNode = {
       }
     },
     // 监听画像页面滚动
-    onEntScroll: utils.debounce(function () {
-      // do something
+    onEntScroll: utils.debounce(function (e) {
+      this.pageScrollTop = e.target.scrollTop
     }, 50),
     scrollHeight: function () {
       var storageClick = JSON.parse(sessionStorage.getItem('is-click-set'))

+ 7 - 4
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/unit_portrayal.js

@@ -174,7 +174,9 @@ var vNode = {
       buyerHighSet: '',
       unitParams: {},
       follow:false, // 是否监控
-      allpower:{}
+      allpower:{},
+      // 页面滚动距离
+      pageScrollTop: 0
     }
   },
   computed: {
@@ -363,7 +365,8 @@ var vNode = {
     getStickyTop: function () {
       this.stickyTop = $('.j-header.jy-app-header').outerHeight()
     },
-    onUnitScroll: utils.debounce(function () {
+    onUnitScroll: utils.debounce(function (e) {
+      this.pageScrollTop = e.target.scrollTop
       if (!this.getfreeBuyerOpen) return
     }, 300),
     // 判断当前用户是登录
@@ -851,7 +854,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) {
@@ -862,7 +865,7 @@ var vNode = {
 
                   } else {
                     // 关注操作返回
-                    _this.follow = true  
+                    _this.follow = true
                     _this.updataStorage(decodeURIComponent(utils.getParam('entName')),'isFollowed',true)
                   }
                 } else {

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

@@ -98,7 +98,7 @@
 <body>
 <div class="j-container">
   {{include "/big-member/header.html"}}
-  <div id="client_portrayal" class="j-main" v-cloak @click="doubleBar.showTooltip = false">
+  <div id="client_portrayal" class="j-main" v-cloak @click="doubleBar.showTooltip = false"  @scroll="onUnitScroll">
     <div v-if="chartLoading" class="skeleton">
       <img class="working"  src="/jyapp/big-member/image/working.gif" alt="">
     </div>
@@ -132,7 +132,7 @@
           <forwardshare :params="clientParams"></forwardshare>
         </div> -->
       </div>
-      
+
       <!-- 超级订阅用户展示  -->
       <!-- <div v-if="superVipPort" style="margin-top: .24rem; " class="free-give">
         <div class="balance-text"> 当月采购单位画像余额:<em class="highlight-text">${usageInfo.surplus}</em></div>
@@ -576,6 +576,8 @@
     </div>
     <!-- 底部按钮组件 -->
     <mobile-portrayal-footer ref="portrayalFooter" @monitorclick="changeFollowState('g')" @claimclick="changeClaimState" :islogin="true" :monitorshow="true" :monitor="follow" :params="clientParams" :shareshow="true" :claimshow="claimShow" :claim="claim" :allpower="powerInfo"></mobile-portrayal-footer>
+      <!--客服组件-->
+      <customer-corner-component :scroll-status="pageScrollTop < 60" bottom-position="12%"></customer-corner-component>
   </div>
   <div id="jyKeepEntComponent">
     <keep-ent-component ref="vKeepComponent" @on-save-tag="onSaveTag" :bid="nowOpenBid" :first="false"></keep-ent-component>
@@ -615,6 +617,7 @@
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/forward-share/js/forward.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module//mobile-portrayal-footer/js/mobile-portrayal-footer.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/big-member/js/client_portrayal.js?v={{Msg "seo" "version"}}11'></script>
+<script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
 <script>
   // 收藏组件
   var vKeepComponent = new Vue({

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

@@ -627,8 +627,10 @@
           </div>
         </van-tab>
       </van-tabs>
+     <!--客服组件-->
+      <customer-corner-component v-show="isLogin" :scroll-status="pageScrollTop < 60"></customer-corner-component>
     </section>
-    
+
     <div class="j-main project-tab-container" v-if="conf.powerLoaded && !conf.showPortraitAll">
       <div class="j-container empty" v-show="topProject.list.length === 0">
         <div class="j-img img-empty empty-img"></div>
@@ -689,6 +691,7 @@
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/keep-tags/keep-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/keep-tags/keep-ent-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/dataExport/components/popup-data-export.js?v={{Msg "seo" "version"}}'></script>
+<script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
 <script>
   // 收藏组件
   var vKeepComponent = new Vue({

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

@@ -706,7 +706,9 @@
       <popup-data-export ref="popup_dataExport" @next="next_export"></popup-data-export>
        <!-- 底部按钮组件 -->
     <mobile-portrayal-footer ref="portrayalFooter" @monitorclick="changeFollowState('g')" :islogin="userInfo.isLogin"  :monitorshow="true" :monitor="follow" :params="unitParams" :allpower="allpower" :shareshow="isLogin"></mobile-portrayal-footer>
-    </div>
+      <!--客服组件-->
+      <customer-corner-component v-show="isLogin" :scroll-status="pageScrollTop < 60" bottom-position="12%"></customer-corner-component>
+  </div>
     <div id="jyKeepComponent">
       <keep-component ref="vKeepComponent" @on-change-keep="changeKeepStatus" :bid="nowOpenBid" :first="false">
       </keep-component>
@@ -759,6 +761,7 @@
     src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/keep-tags/keep-ent-tags-template.js?v={{Msg "seo" "version"}}'>
   </script>
   <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/dataExport/components/popup-data-export.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
   <script>
     // 收藏组件
     var vKeepComponent = new Vue({

+ 3 - 3
src/jfw/modules/app/src/web/templates/frontRouter/fileRecord/sess/index.html

@@ -395,15 +395,15 @@
               <h3>
                   <span>
                       <img src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/wx2.png" alt="微信icon">
-                      <span>客户成功经理</span>
+                      <span>{ kefuInfo.remark || '专属客服'}</span>
                   </span>
                   <span class="close-icon" @click="kfDialogShow = false">
                       <img src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/images/icon-close.png?v={{Msg "seo" "version"}}" alt="">
                   </span>
               </h3>
               <div class="content">
-                  <p class="qr-code" v-if="QRCode">
-                      <img id="QRCode-pic" :src="QRCode" alt="">
+                  <p class="qr-code" v-if="kefuInfo.wxer">
+                      <img id="QRCode-pic" :src="kefuInfo.wxer" alt="">
                   </p>
                   <p>微信扫一扫</p>
               </div>

+ 2 - 1
src/jfw/modules/bigmember/src/filter/sessionfilter.go

@@ -37,7 +37,8 @@ func (l *sessionfilter) Do(w http.ResponseWriter, req *http.Request) bool {
 		return true
 	}
 	//免费用户搜索词订阅接口开放
-	if req.URL.Path == "/bigmember/subscribe/freeUser/searchSubscribe" || req.URL.Path == "/bigmember/subscribe/freeUser/subscribeSearch" {
+	if req.URL.Path == "/bigmember/subscribe/freeUser/searchSubscribe" || req.URL.Path == "/bigmember/subscribe/freeUser/subscribeSearch" ||
+		req.URL.Path == "/bigmember/use/getCustom" {
 		return true
 	}
 	userId, ok := getSession["userId"].(string)

+ 83 - 0
src/jfw/modules/bigmember/src/service/use/custom.go

@@ -0,0 +1,83 @@
+package use
+
+import (
+	. "app.yhyue.com/moapp/jybase/api"
+	qu "app.yhyue.com/moapp/jybase/common"
+	"app.yhyue.com/moapp/jybase/redis"
+	"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
+	"fmt"
+	"jy/src/jfw/modules/bigmember/src/config"
+	"jy/src/jfw/modules/bigmember/src/db"
+)
+
+func (u *Use) GetCustom() {
+	r := func() Result {
+		cName := func() (customName string) {
+			userid := qu.ObjToString(u.GetSession("userId"))
+			positionId := qu.Int64All(u.GetSession("positionId"))
+			t := u.GetString("type") // kf 直接返回客服 不查询客成
+			if userid == "" || t == "kf" {
+				return
+			}
+			bigPower := jy.GetBigVipUserBaseMsg(u.Session(), *config.Middleground)
+			if bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0 {
+				return ""
+			}
+			res := db.MysqlSubject.SelectBySql("SELECT i.name as customer_name FROM dwd_f_data_equity_info e INNER JOIN dwd_f_crm_clue_info  c on (e.uid=c.uid) INNER JOIN dwd_f_csm_customer_info i on( c.id = i.clue_id) WHERE e.position_id=? AND e.product_type in ('大会员','商机管理') AND c.is_transfer=1", positionId)
+			if res != nil || len(*res) != 0 {
+				for _, m := range *res {
+					if customName = qu.ObjToString(m["customer_name"]); customName != "" {
+						return
+					}
+				}
+			}
+			return
+		}()
+		return Result{Data: getWxm(cName)}
+	}()
+	u.ServeJson(r)
+}
+
+func getWxm(name string) (customEwm interface{}) {
+	var (
+		code     = "jy-customers"
+		cacheKey = fmt.Sprintf("ad_%s", code)
+		rMap     = map[string]interface{}{}
+	)
+
+	obj := redis.Get("other", cacheKey)
+	if obj != nil {
+		if t, _ := obj.(map[string]interface{}); len(t) > 0 {
+			rMap = t
+		}
+	}
+	if len(rMap) == 0 {
+		res, ok := db.Mgo.FindOneByField("ad", `{"s_code":"`+code+`"}`, `{"a_son":1}`)
+		if ok && res != nil && (*res)["a_son"] != nil {
+			son := (*res)["a_son"].([]interface{})
+			for _, m := range son {
+				var (
+					mm     = qu.ObjToMap(m)
+					remark = qu.ObjToString((*mm)["s_remark"])
+					nv     = qu.ObjToString((*mm)["s_picalt"])
+					ewm    = qu.ObjToString((*mm)["s_pic"])
+				)
+				if remark != "客户成功经理" {
+					nv = ""
+				}
+				rMap[nv] = map[string]interface{}{
+					"name":   qu.ObjToString((*mm)["s_picalt"]),
+					"wxer":   ewm,
+					"remark": remark,
+				}
+			}
+		}
+		if len(rMap) > 0 {
+			redis.Put("other", cacheKey, rMap, -1)
+		}
+	}
+	if rMap[name] == nil {
+		return rMap[""]
+	}
+	return rMap[name]
+}

+ 1 - 0
src/jfw/modules/bigmember/src/service/use/use.go

@@ -38,6 +38,7 @@ type Use struct {
 	isAdd          xweb.Mapper `xweb:"/use/isAdd"`          //是否进行首次试用
 	update         xweb.Mapper `xweb:"/use/set/update"`     //大会员权益页修改
 	aiused_history xweb.Mapper `xweb:"/use/aiused_history"` //AI中标预测使用记录
+	getCustom      xweb.Mapper `xweb:"/use/getCustom"`      //获取客服接口
 
 	attachment        xweb.Mapper `xweb:"/attachment/get"`   //附件下载
 	email_attachement xweb.Mapper `xweb:"/attachment/email"` //IOS邮件-附件下载

+ 8 - 6
src/web/staticres/big-member/js/unit_portrayal.js

@@ -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 || {})

+ 10 - 6
src/web/staticres/common-module/big-member/js/client_portrayal.js

@@ -179,7 +179,8 @@ var vNode = {
           list:[],
           // 招标动态筛选条件缓存,用来判断是否正在使用筛选项进行请求
           buyerHighSet: '',
-          clientParams: {}
+          clientParams: {},
+          pageScrollTop: 0
       }
   },
   computed: {
@@ -318,6 +319,9 @@ var vNode = {
     window.removeEventListener("resize", this.init,20);
   },
   methods: {
+      onUnitScroll:function (e) {
+        this.pageScrollTop = e.target.scrollTop
+      },
       restoreTab: function() {
         var tab = utils.getParam('tab') || ''
         if (tab) {
@@ -470,7 +474,7 @@ var vNode = {
           success: function(res) {
             if(res.error_code == 0) {
               if (res.data && !_this.follow) { // 为监控调用组件函数 相关逻辑统一组件内处理
-                _this.$refs.portrayalFooter.no_monitor(res.data)   
+                _this.$refs.portrayalFooter.no_monitor(res.data)
               }
               if(res.data.status) {
                   if(_this.follow){
@@ -480,7 +484,7 @@ var vNode = {
                     _this.updataStorage(decodeURIComponent(utils.getParam('entName')),'isFollowed',true)
 
                   }
-                  _this.follow = !_this.follow 
+                  _this.follow = !_this.follow
               } else {
                 // _this.$toast(res.error_msg)
               }
@@ -551,7 +555,7 @@ var vNode = {
              }
           })
          }
-         
+
          localStorage.setItem('JY-MOBILE-/search/result/buyer',JSON.stringify(data))
         }catch(e){
         }
@@ -1198,7 +1202,7 @@ var vNode = {
             v.parent = v.project_count / data[0].project_count*100 + "%";
           })
           this.agencyList = data;
-          this.isShow.showAgency = true 
+          this.isShow.showAgency = true
         }
       },
       // 处理金额区间转换
@@ -1680,7 +1684,7 @@ var vNode = {
             sessionStorage.removeItem(this.sessKey)
             return false
           }
-  
+
           this.chartLoading = $data.chartLoading
           this.tabActiveName = $data.tabActiveName
           Object.assign(this.buyer, $data.buyer || {})

+ 4 - 1
src/web/staticres/common-module/collection/js/ent_portrait.js

@@ -134,6 +134,8 @@ var vNode = {
       },
       importantCustomers: [],
       scrollTop: 0,
+      // 页面滚动距离
+      pageScrollTop: 0,
       getEntPortraitInfoTimes: 0,
       initEchartsOptions: {
         renderer: 'svg'
@@ -359,7 +361,8 @@ var vNode = {
       }
     },
     // 监听画像页面滚动
-    onEntScroll: utils.debounce(function(){
+    onEntScroll: utils.debounce(function(e){
+      this.pageScrollTop = e.target.scrollTop
       if (!this.freeWinnerOpen) return // 没有开通超级订阅广告位banner return
       // do something
     }, 50),

+ 43 - 28
src/web/staticres/common-module/consult-dialog/js/index.js

@@ -17,33 +17,48 @@ var consultDialog = new Vue({
   created: function () {
   },
   mounted: function () {
-    this.getimage()
+    this.getKefuInfo()
   },
   methods: {
-      getimage: function () {
-          var this_ = this
-          $.ajax({
-              type: 'POST',
-              url: '/bigmember/use/equity',
-              data: {
-
-              },
-              success: function (res) {
-                  if (res.data) {
-                      var customers = res.data.customers
-                      customers.forEach(function (ele) {
-                          if (ele.vip == false) {
-                              this_.img = ele.wxer
-
-                          } else if (ele.vip == true) {
-                              this_.vip_img = ele.wxer
-
-                          }
-                      });
-                      this_.getstates()
-                  }
-              }
-          })
+      // getimage: function () {
+      //     var this_ = this
+      //     $.ajax({
+      //         type: 'POST',
+      //         url: '/bigmember/use/equity',
+      //         data: {
+      //
+      //         },
+      //         success: function (res) {
+      //             if (res.data) {
+      //                 var customers = res.data.customers
+      //                 customers.forEach(function (ele) {
+      //                     if (ele.vip == false) {
+      //                         this_.img = ele.wxer
+      //
+      //                     } else if (ele.vip == true) {
+      //                         this_.vip_img = ele.wxer
+      //
+      //                     }
+      //                 });
+      //                 this_.getstates()
+      //             }
+      //         }
+      //     })
+      // },
+      getKefuInfo: function () {
+        var _this = this
+        $.ajax({
+          type: 'post',
+          url: '/bigmember/use/getCustom',
+          data: { type: "kf" },
+          success: function (res) {
+            if (res && res.data) {
+              const resData = res.data || {}
+              _this.url = resData.wxer
+              _this.getstates()
+            }
+          }
+        })
       },
       getstates: function () {
         var this_ = this
@@ -70,11 +85,11 @@ var consultDialog = new Vue({
                     }
                 }
                 if(this_.isbuy_big){
-                  this_.url = this_.vip_img
+                  // this_.url = this_.vip_img
                   this_.text='扫一扫,立即联系您的专属客服'
 
                 }else{
-                  this_.url = this_.img
+                  // this_.url = this_.img
                   this_.text='扫一扫,立即联系客户经理'
                 }
             }
@@ -82,7 +97,7 @@ var consultDialog = new Vue({
     },
     close: function (val) {
           this[val] = false
-   },   
+   },
   }
 })
 

BIN
src/web/staticres/common-module/customer-corner/img/kf-blue.png


+ 65 - 0
src/web/staticres/common-module/customer-corner/mobile-template.js

@@ -0,0 +1,65 @@
+var customerCornerStyle = `<style>
+#customer-corner-component{
+    position: fixed;
+    padding-top:0.08rem;
+    width: 0.84rem;
+    height: 0.84rem;
+    bottom: 9%;
+    right: 0.24rem;
+    background: #fff;
+    border-radius: 50%;
+    z-index: 99;
+    box-shadow: 0 0 16px rgba(0,0,0,0.16);
+    font-size: 0.18rem;
+    line-height: 0.2rem;
+    color: #2ABED1;
+  }
+  #customer-corner-component.fadeOutRight{
+   transform: translateX(98%);
+      opacity: 0.2;
+  }
+  #customer-corner-component>.box-con{  
+      width:100%;
+      height:100%;
+      text-align: center;
+    }
+  #customer-corner-component img{
+    width: 0.48rem !important;
+    height: 0.48rem !important;
+  }
+  </style>`
+var customerCornerTemplate = `
+<div id="customer-corner-component" :class="{ fadeOutRight: !scrollStatus }" :style="{bottom: bottomPosition || ''}">
+    <div class="box-con" @click="jumpCustomerPage">
+      <img src="/common-module/customer-corner/img/kf-blue.png" alt="">
+      <p>客服</p>
+    </div>
+  </div>`
+
+Vue.component('customer-corner-component',{
+  name: 'customerCornerComponent',
+  template: customerCornerTemplate,
+  props: {
+    scrollStatus: {
+      type: Boolean,
+      default: false
+    },
+    bottomPosition: {
+      type: String,
+      default: ''
+    }
+  },
+  data () {
+    return {
+      show: false
+    }
+  },
+  created () {
+    $('head').append(customerCornerStyle)
+  },
+  methods: {
+    jumpCustomerPage () {
+      location.href = '/jyapp/free/customer'
+    }
+  }
+})

+ 19 - 9
src/web/staticres/common-module/exhibition/css/index_pc.css

@@ -11,17 +11,27 @@
   #vm_exhibition .head {
     width: 100%;
     height: 360px;
-    background: url('/common-module/exhibition/img/bannerBG.png?v=1') center center no-repeat;
-    background-size: cover;
-
+    /*background: url('/common-module/exhibition/img/bannerBG.png?v=1') center center no-repeat;*/
+    /*background-size: cover;*/
   }
+#vm_exhibition .exhibition-head{
+    width: 100%;
+    height:100%;
+}
+#vm_exhibition .head .img-con{
+    width: 100%;
+    height: 100%;
+    background-size: cover;
+    background-position: center;
+    background-repeat: no-repeat;
+}
 
-  #vm_exhibition .head .content {
-    width: 1200px;
-    height: 360px;
-    margin: auto;
-    position: relative;
-  }
+  /*#vm_exhibition .head content {*/
+  /*  width: 1200px;*/
+  /*  height: 360px;*/
+  /*  margin: auto;*/
+  /*  position: relative;*/
+  /*}*/
 
   #vm_exhibition .qr {
     width: 192px;

+ 21 - 17
src/web/staticres/common-module/file-pack/js/index-wx.js

@@ -119,8 +119,12 @@ var vm = new Vue({
         freeNum: 0
       },
       kfDialogShow: false,
-      // 二维码
-      QRCode: ''
+      // 客服信息
+      kefuInfo: {
+        name: '',
+        remark: "专属客服",
+        wxer: ''
+      }
     }
   },
   computed: {
@@ -130,6 +134,7 @@ var vm = new Vue({
     }
   },
   created: function () {
+      this.getKefuInfo()
       this.getPType("type")
       this.years = new Date().getFullYear()
       this.months = parseInt(new Date().getMonth() + 1)
@@ -156,21 +161,20 @@ var vm = new Vue({
             _this.userPower.vipStatus = resData.vipStatus
             _this.userPower.memberStatus = resData.memberStatus
             _this.userPower.power = resData.power
-            // 客服二维码获取
-            if(resData.customers && resData.customers.length > 0 ){
-              var qrImgs = {
-                vip: '',
-                default: ''
-              }
-              resData.customers.forEach(function (ele) {
-                if (ele.vip) {
-                  qrImgs.vip = ele.wxer
-                } else {
-                  qrImgs.default = ele.wxer
-                }
-              })
-              _this.QRCode = _this.userPower.isFree ? qrImgs.default : qrImgs.vip
-            }
+          }
+        }
+      })
+    },
+    // 获取客服信息
+    getKefuInfo () {
+      var _this = this
+      $.ajax({
+        type: 'post',
+        url: '/bigmember/use/getCustom',
+        success: function (res) {
+          if (res && res.data) {
+            const resData = res.data || {}
+            _this.kefuInfo = resData
           }
         }
       })

+ 21 - 17
src/web/staticres/common-module/file-pack/js/index.js

@@ -93,8 +93,12 @@ var vm = new Vue({
         freeNum: 0
       },
       kfDialogShow: false,
-      // 二维码
-      QRCode: '',
+      // 客服信息
+      kefuInfo: {
+        name: '',
+        remark: "专属客服",
+        wxer: ''
+      },
       // 保存图片是否成功
       savePicSuccess: false,
       picImgUrl: null
@@ -107,6 +111,7 @@ var vm = new Vue({
     }
   },
   created: function () {
+    this.getKefuInfo()
     this.getPType("type")
     this.years = new Date().getFullYear()
     this.months = parseInt(new Date().getMonth() + 1)
@@ -133,21 +138,20 @@ var vm = new Vue({
             _this.userPower.vipStatus = resData.vipStatus
             _this.userPower.memberStatus = resData.memberStatus
             _this.userPower.power = resData.power
-            // 客服二维码获取
-            if(resData.customers && resData.customers.length > 0 ){
-              var qrImgs = {
-                vip: '',
-                default: ''
-              }
-              resData.customers.forEach(function (ele) {
-                if (ele.vip) {
-                  qrImgs.vip = ele.wxer
-                } else {
-                  qrImgs.default = ele.wxer
-                }
-              })
-              _this.QRCode = _this.userPower.isFree ? qrImgs.default : qrImgs.vip
-            }
+          }
+        }
+      })
+    },
+    // 获取客服信息
+    getKefuInfo () {
+      var _this = this
+      $.ajax({
+        type: 'post',
+        url: '/bigmember/use/getCustom',
+        success: function (res) {
+          if (res && res.data) {
+            const resData = res.data || {}
+            _this.kefuInfo = resData
           }
         }
       })

+ 18 - 13
src/web/staticres/frontRouter/pc/cooperation/css/index.css

@@ -112,9 +112,8 @@
 .coop-type-item:hover .item-center {
   animation: moveUpDown 2s linear infinite;
 }
-.coop-type-item.coop-type-3{
+.coop-type-item.coop-type-3, .coop-type-item.coop-type-4{
   margin-top: 23px;
-  width: 1200px;
 }
 .coop-type-item>img{
   position: absolute;
@@ -130,15 +129,15 @@
   height: 298px;
 }
 
-.coop-type-1 .item-bottom, .coop-type-2 .item-bottom{
+.coop-type-item .item-bottom{
   width: 606px;
 }
-.coop-type-3 .item-bottom {
-  width: 1215px;
-}
+/*.coop-type-3 .item-bottom {*/
+/*  width: 1215px;*/
+/*}*/
 .coop-type-1 .item-center {
-  width: 309px;
-  height: 299px;
+  width: 300px;
+  height: 285px;
   right: 19px;
   top: 2px;
 }
@@ -149,10 +148,16 @@
   top: 30px;
 }
 .coop-type-3 .item-center {
-  width: 463px;
-  height: 250px;
-  right: 37.5px;
-  top: 6px;
+    width: 300px;
+    height: 285px;
+    right: 19px;
+    top: 13px;
+}
+.coop-type-4 .item-center {
+    width: 262px;
+    height: 182px;
+    right: 41px;
+    top: 28px;
 }
 .get-more-btn{
   position: absolute;
@@ -229,4 +234,4 @@
   color: #FFFFFF;
   margin: 12px 0 16px;
   line-height: 24px;
-}
+}

BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/bottom.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-1.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-2.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-3.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/center-4.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-1.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-2.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-3.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/coopType/top-4.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/join/1.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/join/2.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/join/3.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/join/4.png


BIN
src/web/staticres/frontRouter/pc/cooperation/img/qr.png


+ 14 - 16
src/web/staticres/frontRouter/pc/fileHistory/js/index-pc.js

@@ -147,6 +147,7 @@ var fileRecorder = new Vue({
     this.getUserPower()
     this.subPoint()
     this.subRecord()
+    this.getKefuInfo()
   },
   methods: {
     getUserPower () {
@@ -158,28 +159,25 @@ var fileRecorder = new Vue({
           if (res && res.data) {
             for (var key in res.data) {
               _this.$set(_this.userPower, key, res.data[key])
-              _this.calcKefuInfo()
+              // _this.calcKefuInfo()
             }
           }
         }
       })
     },
-    calcKefuInfo: function () {
-      var customers = this.userPower.customers
-      if (!$.isArray(customers)) {
-        return
-      }
-      var target;
-      for (var i = 0; i < customers.length; i++) {
-        if (customers[i].remark.indexOf('成功') > -1) {
-          target = customers[i]
-          break
+    getKefuInfo: function () {
+      var _this = this
+      $.ajax({
+        type: 'post',
+        url: '/bigmember/use/getCustom',
+        success: function (res) {
+          if (res && res.data) {
+            const resData = res.data || {}
+            _this.kefu.qr = resData.wxer
+            _this.kefu.name = resData.remark
+          }
         }
-      }
-      if (target) {
-        this.kefu.qr = target.wxer
-        this.kefu.name = target.remark
-      }
+      })
     },
     cellClick (row, column, cell, event) {
       console.log(row, column, cell, event)

BIN
src/web/staticres/images/index/new/wework.png


+ 7 - 1
src/web/staticres/js/login.js

@@ -174,6 +174,9 @@ function toggleLoginDom (type) {
     $("#public-nav .fl").addClass('fix-work')
     // 客服入口显示
     $('#go-customer-4').show()
+    // 客服企微展示
+    $('#customer-wework').show()
+    $('#right-side-kfrx').removeClass('b-bottom-left-r')
   } else {
     $("#public-nav .nav-avatar").hide()
     $("#public-nav .work-link").hide()
@@ -181,6 +184,9 @@ function toggleLoginDom (type) {
     $("#login .loginBtn").show()
     // 客服入口隐藏
     $('#go-customer-4').hide()
+    // 客服企微隐藏
+    $('#customer-wework').hide()
+    $('#right-side-kfrx').addClass('b-bottom-left-r')
   }
 }
 //
@@ -1223,7 +1229,7 @@ $(function(){
               document.querySelector(setPassArr[i]).style.display = (type ? 'block' : 'none')
             }
           }
-          
+
         },
         ajaxRegister: function (e, arr) {
           var source =	 getParam("source");//百度SEM

+ 112 - 86
src/web/staticres/public-pc/css/pc-bottom.css

@@ -115,19 +115,11 @@
 
 .j-bottom .icon-arrow--up,
 .right-side-box .icon-arrow--up {
-  margin-top: 11px;
+  margin-top: 10px;
 }
 
 /* 上箭头 */
 .icon-arrow--up {
-  /* width: 56px;
-  height: 56px;
-  margin: 0 auto;
-  background-size: 56px;
-  background-repeat: no-repeat;
-  background-position: center center;
-  background-image: url(/images/pc/slide_arrow_grey.png); */
-  /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEnSURBVHgB7ZbNrYJAFEaH9zYuLQb6sAN1ydIOtAN3sFP7YaEdaAdWAF4TvsQQZgTmXnXxnYSQYfg5BzIJzhFCCCGEEPItEmdEnufLuq73SZLcZdsWRXFyBvw7A57yTdMcRXwmw7lsiyzLrlVVXZwy6gGQ75kyiVANCMgD9Qi1gAHyQDVCZREH5Nft/tCdkPWx0ljY0V8gJF+W5VHe9DlN05uMF515lS8RFfBOHgPLiMkBQ+WBVcSkgLHywCJidMBUeaAdMSogVh5oRgwO0JIHWhGDArTlgUbE2wAreRAbEQywlgcxEd6AT8mDqRF/vhuK/LbnsIk8aO+97pna+64JBcw7h0zlQV+EuNx953sD5G9xI7tre/FH5MFLBJ6/c4QQQgghhPwcD62mJ887e9SSAAAAAElFTkSuQmCC); */
   width: 24px;
   height: 24px;
   margin: 0 auto;
@@ -139,7 +131,6 @@
 
 .icon-arrow--up.white {
   background-image: url(/images/index/new/up1.png);
-  /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC5SURBVHgB7ZdRDoMgEAX3pvXmHMEjUBv5eDGtSgvL0swkJH7I7swnZgAAAAAAf0fO+bGddTvp9W0zUeSPzBHxQX6OiAv52BE35WNGnMgv5cSNOJOXf2JG3JGXf2NF1MjLnRgR38jL3bERv8jLjDERLeRllm9ES3mZ6RPRQ15m943oKS87+kR4yMuuthGe8rKzXUTeHyJu8rL3XcRqteT9NeUqL7uPEclqKUNSCVnMmdH7AQAAAACueQIAR4pmNbCOwAAAAABJRU5ErkJggg==); */
 }
 
 .right-side-box {
@@ -156,7 +147,7 @@
   position: fixed;
   z-index: 2002;
   /* min-width: 56px; */
-  width: 80px;
+  width: 68px;
   bottom: 108px;
   left: initial;
   right: 1px;
@@ -210,125 +201,105 @@
   /* height: 80px; */
   text-align: center;
   color: #1D1D1D;
-  margin-left: 0;
 }
 
 .right-side-box .desc_text {
-  font-size: 14px;
-  line-height: 22px;
+  font-size: 13px;
+  line-height: 20px;
   /* identical to box height, or 157% */
   text-align: center;
   /* white/100% */
   color: #FFFFFF;
-  margin-top: 4px;
+  margin-top: 2px;
 }
 
 .right-side-box .desc_text_b {
-  font-size: 14px;
-  line-height: 22px;
+  font-size: 13px;
+  line-height: 20px;
   /* identical to box height, or 157% */
   text-align: center;
   /* Font/#1d1d1d */
   color: #1D1D1D;
-  margin-top: 4px;
+  margin-top: 2px;
 }
-
-/* .right-side-box .right-side-phone {
-  height: 56px;
-  margin: 6px 0;
-  position: relative;
-} */
 .right-side-box .right-side-phone {
   position: relative;
-  border-radius: 10px 0 0 0;
   width: 100%;
-  height: 80px;
-  background: linear-gradient(180deg, #1699F9 0%, #19C6DC 100%);
-  border-top: 2px solid #FFF;
-  border-left: 2px solid #FFF;
-  box-sizing: border-box;
+  height: 68px;
+  padding-top:10px;
   cursor: pointer;
 }
 
 .right-side-box .right-side-wx {
   position: relative;
   width: 100%;
-  height: 80px;
-  background: linear-gradient(180deg, #F1F4F9 0%, #FFFFFF 100%);
-  border-radius: 0;
-  border-left: 2px solid #FFF;
-  box-sizing: border-box;
+  height: 68px;
   cursor: pointer;
 }
 
 .right-side-box .right-side-app {
   position: relative;
-  border-radius: 0 0 0 10px;
   width: 100%;
-  height: 80px;
-  background: linear-gradient(180deg, #F1F4F9 0%, #FFFFFF 100%);
-  border-bottom: 2px solid #FFF;
-  border-left: 2px solid #FFF;
+  height: 68px;
   box-sizing: border-box;
   cursor: pointer;
 }
+.right-side-box .right-side-one,.right-side-box .right-side-two {
+    box-sizing: border-box;
+    background: #fff;
+    border-left: 2px solid #fff;
+    border-bottom: 2px solid #fff;
+    border-top: 2px solid #fff;
+    border-radius: 12px 0 0 12px;
+    background: linear-gradient(180deg, #F1F4F9 0%, #FFFFFF 100%);
+    box-shadow: 0 0 16px rgba(8, 31, 38, 0.14);
+
+}
+.right-side-box .right-side-two {
+    margin-top:16px;
+}
 
 .right-side-box .right-side-kf {
   position: relative;
-  border-radius: 0 !important;
-  width: 100% !important;
-  height: 80px !important;
+  width: 68px;
+  height: 68px;
   background: linear-gradient(180deg, #F56500 0%, #F79E51 100%) !important;
-  border-left: 2px solid #FFF;
   box-sizing: border-box;
   cursor: pointer;
 }
+.right-side-box .right-side-kf .hover-open-box{
+    text-align:center;
+    top:10px;
+    left:0;
+}
+.right-side-box .right-side-kf img {
+  width:28px;
+  height:28px;
 
-/* .right-side-box .right-side-pop::before {
-  content: "客服热线:400-108-6670   服务时间:工作日 9:00-17:40";
-  position: absolute;
-  left: -210px;
-  top: 4px;
-  display: none;
-  width: 198px;
-  background: #2cb7ca;
-  border-radius: 8px;
-  color: #fff;
-  line-height: 2.3;
-  font-size: 14px;
-  white-space: break-spaces;
-  padding: 3px 5px;
-} */
-
-/* .right-side-box .right-side-pop::after {
-  content: '';
-  position: absolute;
-  left: -12px;
-  top: 22px;
-  display: none;
-  width: 0;
-  height: 0;
-  border-top: 6px solid transparent;
-  border-left: 8px solid #2cb7ca;
-  border-bottom: 6px solid transparent;
-} */
+}
 
 .right-side-box>.right-side-item .text-customer img,
 .right-side-box .right-side-phone .text-customer img {
-  width: 32px;
-  width: 32px;
+  width: 28px;
+  height: 28px;
   display: block;
   margin: auto !important;
-  margin-top: 12px !important;
+  /*margin-top: 10px !important;*/
 }
 
 .right-side-box .right-side-phone .text-customer-hover {
   display: none;
 }
-
+.right-side-box .right-side-pop {
+  background: linear-gradient(180deg, #1699F9 0%, #19C6DC 100%);
+  border-top-left-radius: 10px
+}
 .right-side-box .right-side-pop:hover .text-customer {
   display: none;
 }
+.right-side-box .b-bottom-left-r {
+    border-bottom-left-radius: 10px
+}
 
 .right-side-box .right-side-pop:hover::after,
 .right-side-box .right-side-pop:hover::before {
@@ -517,7 +488,7 @@
     flex-direction: column;
     position: relative;
     width: 100%;
-    height: 80px;
+    height: 68px;
     background: #fff;
     box-sizing: border-box;
     cursor: pointer;
@@ -578,6 +549,67 @@
     display: block;
 }
 
+.right-side-box .right-side-wework {
+    border-radius: 0 0 0 10px;
+    position: relative;
+    width: 100%;
+    height: 68px;
+    background: linear-gradient(180deg, #F1F4F9 0%, #fff 100%);
+    border-top: 2px solid #FFF;
+    border-left: 2px solid #FFF;
+    box-sizing: border-box;
+    cursor: pointer;
+    padding-top: 10px;
+}
+.right-side-box .right-side-wework .text-customer {
+    text-align: center !important;
+}
+.right-side-box .right-side-wework .text-customer img{
+    width: 28px;
+    height: 28px;
+}
+.right-side-box .right-side-wework .desc_text{
+    font-size: 13px;
+    line-height:20px;
+    color: #1d1d1d;
+}
+.right-side-wework .kf-wework {
+    display: none;
+    width:144px;
+    height:154px;
+    min-width:144px;
+    top: 6px;
+    font-size: 14px;
+    line-height: 22px;
+    left: -162px;
+    color: #1D1D1D;
+    background: linear-gradient(180deg, #F1F4F8 0%, #FEFEFF 100%);
+    border: 2px solid #FFFFFF;
+    box-shadow: 0px 0px 20px rgba(8, 31, 38, 0.12);
+    border-radius: 8px;
+    box-sizing: border-box;
+    text-align: center;
+    padding: 12px 20px;
+}
+.right-side-wework .kf-wework img {
+    width: 104px;
+    height:104px;
+}
+.right-side-wework .kf-wework p {
+    font-size: 14px;
+    line-height: 22px;
+    color:#1d1d1d;
+    text-align: center;
+    margin-top:4px;
+}
+
+/*.right-side-box .b-radius-left-top {*/
+/*   border-top-left-radius: 10px !important;*/
+/*}*/
+/*.right-side-box .b-radius-left-bottom {*/
+/*    border-bottom-left-radius: 10px !important;*/
+/*    border-bottom: 2px solid #fff;*/
+/*}*/
 
 @media all and (-ms-high-contrast: none),
 (-ms-high-contrast: active) {
@@ -632,25 +664,19 @@
   box-sizing: border-box;
 }
 
-/* .right-side-box .back-to-up {
-  background-color: #b5b6ba;
-  border-radius: 50%;
-  width: 56px;
-  display: none;
-} */
 
 .right-side-box .back-to-up:hover {
   /* background: #2cb7ca; */
 }
 
 .right-side-box .back-to-up {
-  width: 80px;
-  height: 72px;
+  width: 68px;
+  height: 64px;
   background: linear-gradient(180deg, #F1F4F8 0%, #FEFEFF 100%);
   border-width: 2px 0px 2px 2px;
   border-style: solid;
   border-color: #FFFFFF;
-  box-shadow: 0px 0px 20px rgba(8, 31, 38, 0.12);
+  box-shadow: 0px 0px 16px rgba(8, 31, 38, 0.14);
   border-radius: 12px 0px 0px 12px;
   display: none;
   box-sizing: border-box;

+ 42 - 1
src/web/staticres/public-pc/js/pc-bottom.js

@@ -223,6 +223,37 @@ $(window).on('click', function (e) {
     }
   }
 })
+
+/**
+ * 获取客服二维码
+ */
+window.kefu = {
+  name: '',
+  remark: "专属客服",
+  wxer: ''
+}
+function getKefuInfo () {
+  var data = {}
+  // 官网展示客服,主站有客成展示客成,没有展示客服活码
+  if(window.__headerSiteType === 1) {
+    data = {
+      type: "kf"
+    }
+  }
+  $.ajax({
+    type: 'post',
+    url: '/bigmember/use/getCustom',
+    data: data,
+    success: function (res) {
+      if (res && res.data) {
+        const resData = res.data || {}
+        window.kefu = resData
+      }
+    }
+  })
+}
+getKefuInfo()
+
 $(function () {
   function getDomScreenHeight () {
     var clientHeight = [document.documentElement.clientHeight, document.body.clientHeight, window.screen.availHeight, window.screen.height]
@@ -302,6 +333,14 @@ $(function () {
   },function() {
     $('.right-side-box .kf-phone').hide()
   })
+
+  // 右侧客服企微
+  $('.right-side-wework').hover(function(e) {
+    $('.right-side-box .kf-wework img').attr('src', window.kefu.wxer)
+    $('.right-side-box .kf-wework').show()
+  },function() {
+    $('.right-side-box .kf-wework').hide()
+  })
 });
 ;(function(){
   // 动态设置copyright
@@ -350,6 +389,8 @@ $(function () {
     stypesearch(stype);
   })
 })();
+
+
 function zbsqClose(){
   $("#bidcommunity").modal("hide");
 }
@@ -456,4 +497,4 @@ function renderBottomCustomer (obj) {
   }
   $('.config_classify_r_box').append(html)
 }
-/** SEO优化-pcbottom.html内js迁移 END */
+/** SEO优化-pcbottom.html内js迁移 END */

+ 22 - 45
src/web/staticres/serviceSystem/js/serviceSystem.js

@@ -8,11 +8,10 @@ var vNode = new Vue({
             tabs: 0,
             tablist: ['供应商服务', '采购单位服务', '招标代理机构服务'],
             isshow: false,
-            text: '扫一扫,立即联系客户经理',
-            // 扫一扫,立即联系您的专属客服
-            url: '',
-            img: "",
-            vip_img: "",
+            kefu: {
+              text: '扫一扫,立即联系客户经理',
+              qr: ''
+            },
             loginFlag: false,
             isbuy_vip: false,
             isbuy_big: false,
@@ -31,7 +30,7 @@ var vNode = new Vue({
           this.urlParams = this.getUrlKey('from')
         }
         this.getcode()
-        this.getImage()
+        this.getKefuInfo()
     },
     mounted: function () {
         this.calcFixedTop()
@@ -79,30 +78,22 @@ var vNode = new Vue({
             })
 
         },
-        getImage: function() {
-            var this_ = this
-            // 此接口未登录也能获取客服信息
-            $.ajax({
-                type: 'POST',
-                url: '/bigmember/use/equity',
-                success: function (res) {
-                    if (res.data) {
-                        // 客服二维码
-                        var customers = res.data.customers
-                        customers.forEach(function (ele) {
-                            if (ele.vip) {
-                              this_.vip_img = ele.wxer
-                            } else  {
-                              this_.img = ele.wxer
-                            }
-                        });
-                    }
-                }
-            })
+       // 获取客服信息
+        getKefuInfo: function () {
+          var _this = this
+          $.ajax({
+            type: 'post',
+            url: '/bigmember/use/getCustom',
+            success: function (res) {
+              if (res && res.data) {
+                const resData = res.data || {}
+                _this.kefu.qr = resData.wxer
+              }
+            }
+          })
         },
         close: function(val) {
             this[val] = false
-
         },
         export_my: function() {//自助导出
             if (this.loginFlag) {
@@ -138,7 +129,7 @@ var vNode = new Vue({
                 //去购买
                 window.location.href = "/swordfish/page_big_pc/free/svip/buy"
             } else {
-                // 进入续费活动页 
+                // 进入续费活动页
                 // window.location.href="/swordfish/page_big_pc/free/svip/buy?type=renew"
                 window.location.href = this.vipRenewActivityPage
               }
@@ -153,7 +144,7 @@ var vNode = new Vue({
               }
             } else {
               // this.toast('您已开通大会员')
-              // 进入续费活动页 
+              // 进入续费活动页
               window.location.href = this.bigRenewActivityPage
             }
           }
@@ -163,25 +154,11 @@ var vNode = new Vue({
           // this.vipshow = true
           location.href = '/page_workDesktop/'
         },
-        showBigCustomQrDialog: function () {
-            if (this.isbuy_big || this.powerInfo.entniche) {
-                this.text = '扫一扫,立即联系您的专属客服'
-                this.url = this.vip_img
-            } else {
-                this.text = '扫一扫,立即联系客户经理'
-                this.url = this.img
-            }
-            this.isshow = true
-        },
         consultation: function(val) {
-
             if (val == 0 && this.isbuy_big) {//供应商服务
-                this.text = '扫一扫,立即联系您的专属客服'
-                this.url = this.vip_img
-
+              this.kefu.text = '扫一扫,立即联系您的专属客服'
             } else {
-                this.text = '扫一扫,立即联系客户经理'
-                this.url = this.img
+              this.kefu.text = '扫一扫,立即联系客户经理'
             }
             this.isshow = true
         },

+ 3 - 0
src/web/templates/big-member/wx/page_client_portrayal.html

@@ -562,6 +562,8 @@
       </div>
        <!-- 底部按钮组件 -->
     <mobile-portrayal-footer ref="portrayalFooter" @monitorclick="changeFollowState('g')" @claimclick="changeClaimState" :islogin="true" :monitorshow="true" :monitor="follow" :params="clientParams" :shareshow="true" :claimshow="claimShow" :allpower="powerInfo" :claim="claim"></mobile-portrayal-footer>
+    <!--客服组件-->
+    <customer-corner-component :scroll-status="pageScrollTop < 60" bottom-position="12%"></customer-corner-component>
     </div>
     <div id="jyKeepEntComponent">
       <keep-ent-component ref="vKeepComponent" @on-save-tag="onSaveTag" :bid="nowOpenBid" :first="false"></keep-ent-component>
@@ -591,6 +593,7 @@
 <script src='{{Msg "seo" "cdn"}}/common-module/forward-share/js/forward.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module//mobile-portrayal-footer/js/mobile-portrayal-footer.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/big-member/js/client_portrayal.js?v={{Msg "seo" "version"}}'></script>
+<script src='{{Msg "seo" "cdn"}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
 <script>
   // 收藏组件
   var vKeepComponent = new Vue({

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

@@ -791,6 +791,8 @@
       <popup-data-export ref="popup_dataExport" @next="next_export"></popup-data-export>
         <!-- 底部按钮组件 -->
     <mobile-portrayal-footer ref="portrayalFooter" @monitorclick="changeFollowState('g')" :islogin="userInfo.isLogin"  :monitorshow="true" :monitor="follow" :params="unitParams" :shareshow="true" :allpower="allpower"></mobile-portrayal-footer>
+    <!--客服组件-->
+    <customer-corner-component :scroll-status="pageScrollTop < 60" bottom-position="12%"></customer-corner-component>
     </div>
   <div id="jyKeepComponent">
     <keep-component ref="vKeepComponent" @on-change-keep="changeKeepStatus" :bid="nowOpenBid" :first="false"></keep-component>
@@ -827,6 +829,7 @@
 <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-ent-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/dataExport/components/popup-data-export.js?v={{Msg "seo" "version"}}'></script>
+<script src='{{Msg "seo" "cdn"}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
 <script>
   // 收藏组件
   var vKeepComponent = new Vue({

+ 56 - 50
src/web/templates/common/pcbottom.html

@@ -130,61 +130,67 @@
     <div id="sideIcon" class="common-right-side-item" style="right: 1px;width: 88px;height: 88px;display: none;">
 <!--        <a href="/swordfish/frontPage/share/sess/index"><img src="{{Msg "seo" "cdn"}}/share/img/active-icon.png"  alt="" style="width: 88px;"></a>-->
     </div>
-      <div class="right-side-phone right-side-pop common-right-side-item">
-        <span class=" text-customer">
-          <img src='{{Msg "seo" "cdn"}}/images/index/new/telphone.png?v={{Msg "seo" "version"}}' alt="">
-        </span>
-        <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/telphone.png?v={{Msg "seo" "version"}}' alt=""></span>
-        <p class="desc_text">客服热线</p>
-        <div class="silde-float kf-phone">客服热线:400-108-6670<br>服务时间:工作日 9:00-17:40</div>
-      </div>
-      <div class="right-side-item right-side-kf open-customer common-right-side-item" id="go-customer-4" style="display: block">
-          <div class="hover-open-box" style="padding: 0;">
-              <!-- <div class="icon-customer white icon-badge-number" data-badge-number=""></div> -->
-              <div class="icon-badge-number text-customer" data-badge-number="">
-                  <img src='{{Msg "seo" "cdn"}}/images/index/new/kf.png?v={{Msg "seo" "version"}}' alt="">
-              </div>
-              <p class="desc_text">在线客服</p>
-          </div>
-          <!-- <div class="silde-float help-slide">
-            <img class="help-close" src='{{Msg "seo" "cdn"}}/images/t-close.png?v={{Msg "seo" "version"}}' alt="">
-            <div class="help-slide-top">有什么可以帮助您吗?</div>
-            <div class="help-slide-bottom">
-              <div class="help-slide-kf">客服热线</div>
-              <div class="help-slide-zx open-customer">在线咨询</div>
+    <div class="right-side-one">
+        <div class="right-side-phone right-side-pop common-right-side-item" id="right-side-kfrx">
+            <span class=" text-customer">
+              <img src='{{Msg "seo" "cdn"}}/images/index/new/telphone.png?v={{Msg "seo" "version"}}' alt="">
+            </span>
+            <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/telphone.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <p class="desc_text">客服热线</p>
+            <div class="silde-float kf-phone">客服热线:400-108-6670<br>服务时间:工作日 9:00-17:40</div>
+        </div>
+        <div class="right-side-item right-side-kf open-customer common-right-side-item" id="go-customer-4" style="display: block">
+            <div class="hover-open-box" style="padding: 0;">
+                <!-- <div class="icon-customer white icon-badge-number" data-badge-number=""></div> -->
+                <div class="icon-badge-number text-customer" data-badge-number="">
+                    <img src='{{Msg "seo" "cdn"}}/images/index/new/kf.png?v={{Msg "seo" "version"}}' alt="">
+                </div>
+                <p class="desc_text">在线客服</p>
+            </div>
+        </div>
+        <div class="right-side-wework  common-right-side-item" id="customer-wework" >
+            <p class="text-customer">
+                <img src='{{Msg "seo" "cdn"}}/images/index/new/wework.png?v={{Msg "seo" "version"}}' alt="">
+            </p>
+            <p class="desc_text">客服企微</p>
+            <div class="silde-float kf-wework">
+                <img class="qrcode" src="" alt="">
+                <p>微信扫一扫</p>
+            </div>
+        </div>
+    </div>
+    <div class="right-side-two">
+        <div class="right-side-phone right-side-wx common-right-side-item" id="right-side-swhz">
+            <span class="text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/shangwuhezuo.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/shangwuhezuo-blue.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <p class="desc_text_b">商务合作</p>
+            <div class="slidePop">
+                <img src="{{Msg " seo" "cdn" }}/common-module/exhibition/img/qr-code-shichang.png?v={{Msg "seo" "version"}}" alt="">
+                <p>微信扫一扫<br>商务合作</p>
+            </div>
+        </div>
+        <div class="right-side-phone right-side-wx common-right-side-item">
+            <span class=" text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/wx.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/wx1.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <p class="desc_text_b">关注剑鱼</p>
+            <div class="slidePop">
+                <img data-share-img src="" alt="">
+                <p>关注剑鱼标讯<br>免费追踪全国商机</p>
+            </div>
+        </div>
+        <div class="right-side-phone right-side-wx right-side-app common-right-side-item">
+            <span class=" text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/weixin_miam_b.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/weixin_miam.png?v={{Msg "seo" "version"}}' alt=""></span>
+            <p class="desc_text_b">下载App</p>
+            <div class="slidePop">
+                <img  src='/front/downloadJyApp/qr?page=pc_bottom&source=pc_scan' alt="">
+                <p>下载App<br>免费查看全国商机</p>
             </div>
-          </div> -->
-      </div>
-      <div class="right-side-phone right-side-wx common-right-side-item">
-          <span class="text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/shangwuhezuo.png?v={{Msg "seo" "version"}}' alt=""></span>
-          <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/shangwuhezuo-blue.png?v={{Msg "seo" "version"}}' alt=""></span>
-          <p class="desc_text_b">商务合作</p>
-          <div class="slidePop">
-            <img src="{{Msg " seo" "cdn" }}/common-module/exhibition/img/qr-code-shichang.png?v={{Msg "seo" "version"}}" alt="">
-            <p>微信扫一扫<br>商务合作</p>
-          </div>
-      </div>
-      <div class="right-side-phone right-side-wx common-right-side-item">
-          <span class=" text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/wx.png?v={{Msg "seo" "version"}}' alt=""></span>
-          <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/wx1.png?v={{Msg "seo" "version"}}' alt=""></span>
-          <p class="desc_text_b">关注剑鱼</p>
-          <div class="slidePop">
-              <img data-share-img src="" alt="">
-              <p>关注剑鱼标讯<br>免费追踪全国商机</p>
-          </div>
-      </div>
-      <div class="right-side-phone right-side-wx right-side-app common-right-side-item">
-        <span class=" text-customer"><img src='{{Msg "seo" "cdn"}}/images/index/new/weixin_miam_b.png?v={{Msg "seo" "version"}}' alt=""></span>
-        <span class="text-customer text-customer-hover"><img src='{{Msg "seo" "cdn"}}/images/index/new/weixin_miam.png?v={{Msg "seo" "version"}}' alt=""></span>
-        <p class="desc_text_b">下载App</p>
-        <div class="slidePop">
-            <img  src='/front/downloadJyApp/qr?page=pc_bottom&source=pc_scan' alt="">
-            <p>下载App<br>免费查看全国商机</p>
         </div>
     </div>
     {{end}}
 <!--    可配置数据类config-right-side-item-->
-    <div class="right-side-item back-to-up" data-backtop>
+    <div class="right-side-item back-to-up item-height" data-backtop>
         <div class="hover-open-box">
             <div class="icon-arrow--up white"></div>
             <div class="icon-arrow--up"></div>

+ 12 - 6
src/web/templates/exhibition/pc/index.html

@@ -35,12 +35,18 @@
   <div id="vm_exhibition">
     <div class="box">
       <div class="head">
-        <div class="content">
-          <div class="qr">
-            <img src="{{Msg " seo" "cdn" }}/common-module/exhibition/img/qr-code-shichang.png?v={{Msg "seo" "version"}}" alt="">
-            <p class="text">扫码咨询 展会合作</p>
-          </div>
-        </div>
+          {{range $k,$v:=Ad "pc-exhibition-index-head" -1 .Host (cookie "SESSIONID")}}
+              <div class="exhibition-head"  onclick="golink({{$v.S_link}})">
+<!--                  <img src="{{$v.S_pic}}" alt="">-->
+                  <div class="img-con" style="background-image: url({{$v.S_pic}})"></div>
+              </div>
+          {{end}}
+<!--        <div class="content">-->
+<!--          <div class="qr">-->
+<!--            <img src="{{Msg " seo" "cdn" }}/common-module/exhibition/img/qr-code-shichang.png?v={{Msg "seo" "version"}}" alt="">-->
+<!--            <p class="text">扫码咨询 展会合作</p>-->
+<!--          </div>-->
+<!--        </div>-->
       </div>
       <h2 class="title pc_hide">热门展会</h2>
       <div class="content bannerSwiper">

+ 12 - 6
src/web/templates/frontRouter/pc/cooperation/free/index.html

@@ -2,7 +2,7 @@
 <html>
 
 <head>
-  <title>商务合作_剑鱼合作伙伴联盟-剑鱼标讯</title>
+  <title>渠道及商务合作_剑鱼合作伙伴联盟-剑鱼标讯</title>
   <meta content="IE=edge,Chrome=1" http-equiv="X-UA-Compatible" />
   <meta name="Keywords" content="商务合作,剑鱼合作伙伴,合作联盟"/>
   <meta name="Description" content="深化合作,共享共赢,剑鱼合作伙伴联盟,聚合百万客户,共同拓展销售商机,共赢企业服务万亿市场!" />
@@ -17,6 +17,7 @@
   <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
   <link href='{{Msg "seo" "cdn"}}/css/collect-user-info.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css" />
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/index_pc.css?v={{Msg "seo" "version"}}' />
   <link href='{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/css/index.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css" />
   <style>
   </style>
@@ -25,7 +26,7 @@
 {{include "/common/pchead.html"}}
 <!-- 用户留资 -->
 <div id="vue-collect-user-info"></div>
-<div class="cooperation-page">
+<div class="cooperation-page" v-cloak>
   <div class="cooperation-page-banner">
     <div class="banner-content w">
       <img class="text-theme" src="{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/cooperate.png" alt="">
@@ -56,7 +57,7 @@
           <img class="item-bottom" :src="item.bottom" alt="">
           <img class="item-center" :src="item.center" alt="">
           <img class="item-top" :src="item.top" alt="">
-          <button class="get-more-btn" onclick="openLink()">了解更多</button>
+          <button class="get-more-btn" onclick="openLink()">${index === 0 ? '加入我们' : '了解更多'}</button>
         </div>
       </div>
       <h3 class="coop-call-tip">以上合作方式如不能满足您的合作需求,您可以直接与我们联系</h3>
@@ -113,17 +114,22 @@
         {
           top: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/top-1.png',
           center: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/center-1.png',
-          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom-little.png'
+          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom.png'
         },
         {
           top: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/top-2.png',
           center: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/center-2.png',
-          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom-little.png'
+          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom.png'
         },
         {
           top: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/top-3.png',
           center: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/center-3.png',
-          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom-big.png'
+          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom.png'
+        },
+        {
+          top: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/top-4.png',
+          center: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/center-4.png',
+          bottom: '{{Msg "seo" "cdn"}}/frontRouter/pc/cooperation/img/coopType/bottom.png'
         }
       ]
     }

+ 2 - 2
src/web/templates/frontRouter/pc/serviceSystem/free/index.html

@@ -975,9 +975,9 @@
                 <img src="/serviceSystem/img/close.png" alt="" class="close" @click.stop="close('isshow')">
                 <div class="title">立即咨询</div>
                 <div class="box">
-                    <img :src="url" alt="">
+                    <img :src="kefu.qr" alt="">
                 </div>
-                <p class="text">{text}</p>
+                <p class="text">{kefu.text}</p>
             </div>
         </div>
         <div class="model_ toast_model" v-show="showToast"  @click.self="close('showToast')">

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

@@ -620,8 +620,10 @@
                     </div>
                 </van-tab>
             </van-tabs>
+        <!--客服组件-->
+        <customer-corner-component v-show="isLogin" :scroll-status="pageScrollTop < 60"></customer-corner-component>
         </section>
-        
+
         <div class="j-main project-tab-container" v-if="conf.powerLoaded && !conf.showPortraitAll">
             <div class="j-container empty" v-show="topProject.list.length === 0">
                 <div class="j-img img-empty empty-img"></div>
@@ -683,6 +685,7 @@
 <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-ent-tags-template.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/dataExport/components/popup-data-export.js?v={{Msg "seo" "version"}}'></script>
+<script src='{{Msg "seo" "cdn"}}/common-module/customer-corner/mobile-template.js?v={{Msg "seo" "version"}}'></script>
 <script>
   // 收藏组件
   var vKeepComponent = new Vue({

+ 3 - 3
src/web/templates/frontRouter/wx/fileRecord/sess/index.html

@@ -404,15 +404,15 @@
               <h3>
                   <span>
                       <img src="{{Msg "seo" "cdn"}}/common-module/collection/image/wx2.png" alt="微信icon">
-                      <span>客户成功经理</span>
+                      <span>{ kefuInfo.remark || '专属客服' }</span>
                   </span>
                   <span class="close-icon" @click="kfDialogShow = false">
                       <img id="QRCode-pic" src="{{Msg "seo" "cdn"}}/jyapp/images/icon-close.png?v={{Msg "seo" "version"}}" alt="">
                   </span>
               </h3>
               <div class="content">
-                  <p class="qr-code">
-                      <img :src="QRCode" alt="">
+                  <p class="qr-code" v-if="kefuInfo.wxer">
+                      <img :src="kefuInfo.wxer" alt="">
                   </p>
                   <p>微信扫一扫</p>
               </div>

+ 3 - 0
src/web/templates/pc/classifylist.html

@@ -771,10 +771,13 @@ var res = {{.T.res}}
 var dataId = "";
 $(function(){
   if(!loginflag){//未登录隐藏
+    // 客服企微隐藏
+    $('#customer-wework').addClass('hide')
     $('#go-customer-4').addClass('hide')//客服隐藏
     $('.nologin-hide').addClass('hide')  //拟建隐藏
   }
   window.loginCallback = function () {//登录成功回调
+    $('#customer-wework').removeClass('hide')
     $('#go-customer-4').removeClass('hide')
     $('.nologin-hide').removeClass('hide')
   }

+ 22 - 9
src/web/templates/pc/dataExport_sieve.html

@@ -1478,7 +1478,6 @@
   var winnerLimit = limit.winnerLimit || 100
   var agencyLimit = limit.agencyLimit || 100
   var wordsLimit =  limit.countLimit
-  console.log(limit);
   var dataNode = new Vue({
     delimiters: ['${', '}'],
     el: '#conditions-box',
@@ -1550,9 +1549,11 @@
           focus: false,
           list: []
       },
+      kefuInfo: {}
     },
     created () {
       $('.dataExport_table').css('display', 'block')
+      this.getKefuInfo()
     },
     mounted () {
       window.addEventListener('scroll', this.handleScroll, true)
@@ -1654,6 +1655,19 @@
       }
     },
     methods: {
+      getKefuInfo () {
+        var _this = this
+        $.ajax({
+          type: 'post',
+          url: '/bigmember/use/getCustom',
+          data: { type: "kf" },
+          success: function (res) {
+            if (res && res.data) {
+              _this.kefuInfo = res.data || {}
+            }
+          }
+        })
+      },
       toDetail (data, str) {
         if(str === '1') {
           $('#buyerInput').val(data)
@@ -2370,15 +2384,14 @@
       }
     }
   })
+
+
+
   $('.customWx').mouseenter(function () {
-    if(window.customers && window.customers.length) {
-      window.customers.forEach(function(item) {
-        var $item = $(item)
-        var $img = $('.custom-service-wximg-img')
-        if(item.name === '高静') {
-          $img.attr('src', item.wxer)
-        }
-      })
+    var kefuInfo = dataNode.$data &&  dataNode.$data.kefuInfo ? dataNode.$data.kefuInfo : {}
+    if(kefuInfo && kefuInfo.wxer) {
+      var $img = $('.custom-service-wximg-img')
+      $img.attr('src', kefuInfo.wxer)
     }
     $('.custom-service-wximg').show()
   })