dever 7 years ago
parent
commit
e072412835
1 changed files with 15 additions and 1 deletions
  1. 15 1
      tm/template_dir/events_infos.html

+ 15 - 1
tm/template_dir/events_infos.html

@@ -72,7 +72,21 @@ function help()
         }
     });
 }
-
+;(function($){
+    $('body').on('click','[node-type="share"]',function(){
+    if(navigator.userAgent.toLocaleLowerCase().indexOf('micromessenger') >-1){
+        $('body').append(`<section class="layer" id="sharelayer" style="display:block;">
+            <section class="shareguide">
+                < img src="http://circlecdn.mrhi.cn/haili/images/8eaa4804.shareguide.png">
+            </section>
+        </section>`)
+
+        $('#sharelayer').on('click',function(){
+            $(this).remove();
+        })
+    }
+})
+})(Zepto)
 </script>
 
 <script type="text/javascript" src="<{$web_cfg.cdn}>/haili/js/detail.js"></script>