Explorar o código

feat:未登录三级页修改

tsz %!s(int64=2) %!d(string=hai) anos
pai
achega
256a963841

+ 16 - 5
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -225,8 +225,8 @@
         <span class="app-back jyapp-icon jyapp-icon-zuojiantou share-back"></span>
         <span class="header-title">公告信息</span>
         <span class="header-share" id="share">
-		<img src="/jyapp/images/jianyubi.png">
-		<p style="font-size: 10px; line-height: 12px">分享有礼</p>
+		<img class="share-gift" src="/jyapp/images/jianyubi.png">
+		<p class="share-gift" style="font-size: 10px; line-height: 12px">分享有礼</p>
     <div class="overlay">
       <div class="share-sheet">
         <div class="title">
@@ -995,6 +995,9 @@
     // 未登录展示登录模块
     if(!userId) {
       $('.noLoginShow').show()
+      $('.share-gift').hide()
+      $('.bid-dec-in').hide()
+      $('.bigvip_drain').hide()
     }
 
     if(!industry){
@@ -1337,7 +1340,11 @@
             $(".mask-zz").removeClass("hidden");
         } else {
             $(".prebuilt").css('height', 'unset')
-            $('.third-party-verify').show()
+            if(userId) {
+              $('.third-party-verify').show()
+            } else {
+              $('.third-party-verify').hide()
+            }
         }
     }
 
@@ -2015,7 +2022,7 @@
         });
     }
     function initShowForecast() {
-        if(subtype==='询价' || subtype==="招标"){
+        if((subtype==='询价' || subtype==="招标") && userId){
             if(title !==''){
                 $('.time_label').css({'justify-content':'flex-start'})
                 $('.tool_bottom').css({'justify-content':'flex-start'})
@@ -2117,7 +2124,11 @@
             $(".lead-btn").css({'display':'flex'});
             $('.lead_export').hide()
             $('.bigvip_drain').hide()
-            $('.lead_drain').show()
+            if(userId) {
+              $('.lead_drain').show()
+            } else {
+              $('.lead_drain').hide()
+            }
         }else{
             $('.lead-btn').hide()
             $('.lead_drain').hide()