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