Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
samsung-christmas
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6033992c
authored
Dec 20, 2019
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
41a4fff8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
Public/static/css/index.css
+4
-0
Public/static/js/common.js
+11
-0
No files found.
Public/static/css/index.css
View file @
6033992c
...
...
@@ -77,6 +77,10 @@ video {
/*transform: scale(2);*/
}
.dialog-share
{
z-index
:
3
;
}
.indexup
{
transform
:
translate3d
(
0
,
0
,
0
);
animation
:
scfalse
1000s
linear
infinite
;
...
...
Public/static/js/common.js
View file @
6033992c
...
...
@@ -129,9 +129,20 @@ $(document).ready(function () {
$
(
'.sh-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
()
{
var
tel
=
$
(
'input[name=tel]'
).
val
();
if
(
!
tel
.
match
(
/^1
\d{10}
$/
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment