Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
41708676
Commit
41708676
authored
Dec 30, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时暂存
parent
9dff7650
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
502 additions
and
305 deletions
+502
-305
Money.html
html/annualMeeting/Money.html
+34
-7
money.css
html/annualMeeting/css/money.css
+468
-298
money_bg.jpg
html/annualMeeting/img/money/money_bg.jpg
+0
-0
game_running.mp3
html/annualMeeting/video/game_running.mp3
+0
-0
welcom_money.mp3
html/annualMeeting/video/welcom_money.mp3
+0
-0
No files found.
html/annualMeeting/Money.html
View file @
41708676
...
...
@@ -12,6 +12,7 @@
<title>
疯狂数钞票
</title>
</head>
<body
style=
"height: 100%;overflow: hidden;width: 100%;position: fixed;"
>
<audio
src=
"video/welcom_money.mp3"
autoplay
></audio>
<div
class=
"money_count"
>
<div
class=
"reg_bag"
style=
'background-image: url("img/money/red_bag.png")'
></div>
<div
class=
"money_box"
>
...
...
@@ -41,7 +42,7 @@
<div
class=
"back_ico"
id=
"back_ico"
></div>
<div
class=
"rank_ico"
id=
"rankBtn"
></div>
</div>
<div
class=
"rank_mask"
>
<div
class=
"rank_mask"
id=
"smm"
>
<div
style=
"height:3rem"
></div>
<div
class=
"close"
id=
"closeBtn"
></div>
<div
class=
"rank_list_box"
>
...
...
@@ -59,6 +60,20 @@
</div>
</div>
</div>
<div
class=
"rank_mask rank_mask2"
id=
"notice"
>
<div
class=
"zhezao"
></div>
<div
class=
"notice_box"
>
<img
src=
"../../images/aM/all_d.png"
alt=
""
class=
"notice_top"
>
<span>
恭喜你获得支付宝口令红包
</span>
<div
class=
"notice_content"
>
<span
id=
"tokenReadPackage"
></span>
</div>
<div
class=
"all_Receive"
>
<span>
立即领取
</span>
</div>
<div
class=
"all_Close"
></div>
</div>
</div>
</body>
<script
type=
"text/javascript"
src=
"../../js/jquery-1.10.2.js"
></script>
<script
src=
"../../js/moveJs/jquery.signalR.min.js"
></script>
...
...
@@ -67,6 +82,7 @@
let
proxy
;
let
status
=
0
;
let
clock
=
null
;
let
isWinning
=
false
;
function
getMyRank
(){
proxy
.
invoke
(
'GetUserRank'
,
'Money'
).
done
(
r
=>
{
if
(
r
!=-
1
){
...
...
@@ -127,7 +143,10 @@
}
function
winning
(){
proxy
.
on
(
"notifyWinning"
,
function
(
d
){
alert
(
"恭喜你中奖了:"
+
d
);
//alert("恭喜你中奖了:"+d);
$
(
'#notice'
).
css
(
'display'
,
'flex'
);
$
(
'#tokenReadPackage'
).
text
(
d
);
$
(
"#smm"
).
css
(
'display'
,
'none'
);
})
}
...
...
@@ -168,20 +187,27 @@
});
//点击查看排行榜
$
(
'#rankBtn'
).
click
(
function
(){
$
(
'
.rank_mask
'
).
css
(
'display'
,
'block'
);
$
(
'
#smm
'
).
css
(
'display'
,
'block'
);
});
$
(
'.all_Close'
).
click
(
function
()
{
$
(
'#notice'
).
css
(
'display'
,
'none'
)
})
proxy
.
on
(
"getChangeMenu"
,
function
(
data
)
{
if
(
data
.
code
==
"Money"
)
{
if
(
data
.
status
==
2
){
StartGame
();
}
else
if
(
data
.
status
==
1
){
}
else
if
(
data
.
status
==
1
||
data
.
status
==
0
){
//conn.disconnect();
//initConnection();
$
(
'.play_tips'
).
css
(
'display'
,
'block'
);
$
(
'#notice'
).
css
(
'display'
,
'none'
);
$
(
'#smm'
).
css
(
'display'
,
'none'
);
$
(
'.tipsDiv'
).
text
(
'保存体力,等待开始'
);
proxy
.
invoke
(
'JoinGame'
,
'Money'
).
done
(
data
=>
{
});
if
(
data
.
status
==
1
){
proxy
.
invoke
(
'JoinGame'
,
'Money'
).
done
(
data
=>
{
});
}
}
else
if
(
data
.
status
==-
1
){
window
.
clearInterval
(
clock
);
clock
=
null
;
...
...
@@ -190,6 +216,7 @@
$
(
'.rank_mask'
).
css
(
'display'
,
'block'
);
$
(
'.play_tips'
).
css
(
'display'
,
'none'
);
$
(
'.tipsDiv'
).
text
(
'游戏已经结束咯'
);
$
(
'.tipsDiv'
).
css
(
'display'
,
'block'
);
}
}
})
...
...
html/annualMeeting/css/money.css
View file @
41708676
This diff is collapsed.
Click to expand it.
html/annualMeeting/img/money/money_bg.jpg
View replaced file @
9dff7650
View file @
41708676
10.9 KB
|
W:
|
H:
119 KB
|
W:
|
H:
2-up
Swipe
Onion skin
html/annualMeeting/video/game_running.mp3
0 → 100644
View file @
41708676
File added
html/annualMeeting/video/welcom_money.mp3
0 → 100644
View file @
41708676
File added
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