Commit 6033992c by doszhang

dos

parent 41a4fff8
...@@ -77,6 +77,10 @@ video { ...@@ -77,6 +77,10 @@ video {
/*transform: scale(2);*/ /*transform: scale(2);*/
} }
.dialog-share {
z-index: 3;
}
.indexup { .indexup {
transform: translate3d(0,0,0); transform: translate3d(0,0,0);
animation: scfalse 1000s linear infinite; animation: scfalse 1000s linear infinite;
......
...@@ -129,9 +129,20 @@ $(document).ready(function () { ...@@ -129,9 +129,20 @@ $(document).ready(function () {
$('.sh-img').on('click',tryPrize); $('.sh-img').on('click',tryPrize);
//点击视频跳转抽奖 //点击视频跳转抽奖
$('.sy-img').on('click',tryPrize); $('.sy-img').on('click',tryPrize);
//分享按钮
$('.btn-share').on('click',showShare);
//分享关闭
$('.dialog-share').on('click',hideShare);
}); });
function showShare () {
$('.dialog-share').fadeIn(300);
}
function hideShare () {
$('.dialog-share').fadeOut(300);
}
function submitTel () { function submitTel () {
var tel = $('input[name=tel]').val(); var tel = $('input[name=tel]').val();
if(!tel.match(/^1\d{10}$/)) if(!tel.match(/^1\d{10}$/))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment