Przeglądaj źródła

feat: P570版本未登录放开在线客服入口

zhangsiya 1 rok temu
rodzic
commit
f43fa7dc0a

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

@@ -183,7 +183,7 @@ function toggleLoginDom (type) {
     $("#public-nav .fl").removeClass('fix-work')
     $("#login .loginBtn").show()
     // 客服入口隐藏
-    $('#go-customer-4').hide()
+    // $('#go-customer-4').hide()
     // 客服企微隐藏
     $('#customer-wework').hide()
     $('#right-side-kfrx').addClass('b-bottom-left-r')

+ 1 - 1
src/web/templates/pc/classifylist.html

@@ -773,7 +773,7 @@ $(function(){
   if(!loginflag){//未登录隐藏
     // 客服企微隐藏
     $('#customer-wework').addClass('hide')
-    $('#go-customer-4').addClass('hide')//客服隐藏
+    // $('#go-customer-4').addClass('hide')//客服隐藏
     $('.nologin-hide').addClass('hide')  //拟建隐藏
   }
   window.loginCallback = function () {//登录成功回调

+ 2 - 2
src/web/templates/pc/supsearch.html

@@ -2316,7 +2316,7 @@
       }
     }
     if(!loginflag){ //未登录隐藏
-      $('#go-customer-4').addClass('hide')
+      // $('#go-customer-4').addClass('hide')
       if(getParam('tab') === '2') {
         searchInnerVue.searchTab = 2
       } else {
@@ -2377,7 +2377,7 @@
     window.loginCallback = function () {//登录成功回调
       // @2023/9/26 未登录限制搜索条件
       $(".no-login-mask").remove()
-      $('#go-customer-4').removeClass('hide')
+      // $('#go-customer-4').removeClass('hide')
       if(getParam('tab') === '2') {
         searchInnerVue.searchTab = 2
       } else {