2 Commits 45516404b7 ... 9ac481b7db

Author SHA1 Message Date
  wukunlin 9ac481b7db Merge branch '2019zt' of http://svn.ouj.com:3000/FED/dwweb-pc into 2019zt 5 years ago
  wukunlin 2878233b6f fixed bug 5 years ago
1 changed files with 6 additions and 2 deletions
  1. 6 2
      2019专题/特炫宣传页/src/modules/page/share.js

+ 6 - 2
2019专题/特炫宣传页/src/modules/page/share.js

@@ -18,13 +18,13 @@ class Index {
             document.getElementsByTagName("video")[0].play();
             $('img').hide()
             $(this).hide();
-            
+            return false
         });
 
 
         $('body').on('click', '.mask-wrap', function() {
             $(this).remove()
-           
+            return false
         })
         
 
@@ -35,6 +35,8 @@ class Index {
 
         $('video').on('pause', function() {
             $(".btn-play").show()
+        }).on('click',function() {
+            $(this).get(0).pause()
         })
     }
     getVideoInfo() {
@@ -62,6 +64,7 @@ class Index {
     }
 
     openApp() {
+        var self = this
         var downloadLink = $('.btn').find('span').attr('href')
         // self.openApp('dwsupershow://toTemplateDetail?templateId=' + self.id)
         location.href = 'dwsupershow://toTemplateDetail?templateId=' + self.id
@@ -86,3 +89,4 @@ class Index {
 $(function() {
     new Index();
 });
+