|
@@ -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();
|
|
|
});
|
|
|
+
|