Browse Source

fix: 三级页权限

yangfeng 4 years ago
parent
commit
af83cee967
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

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

@@ -1270,7 +1270,9 @@
                 initShowForecast()
 
             } else {
-              $('.bid-dec-in').hide()
+              if (hasServiceArr.indexOf(6) > -1) {
+                $('.bid-dec-in').hide()
+              }
             }
         });
     }
@@ -1920,7 +1922,7 @@
       $("#h_content").html(content);
       $("#title").html(titleCopy);
       //
-      isFollow();
+      
       $(".follow").click(function(){
           $('#loading').show()
           // 添加关注的项目
@@ -2063,7 +2065,9 @@
       $(".original_name").attr("adv_name","app_article_getoriginaltext");
       {{end}}
     })
-
+    $(function() {
+      isFollow();
+    })
     var vKeepComponent = new Vue({
         delimiters: ['${', '}'],
         el: '#jyKeepComponent',