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
c1b2c738
Commit
c1b2c738
authored
Dec 30, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充了数钞票的部分内容
parent
32e7af99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
20 deletions
+40
-20
Money.html
html/annualMeeting/Money.html
+28
-9
money.css
html/annualMeeting/css/money.css
+5
-11
clipboard.min.js
html/annualMeeting/js/clipboard.min.js
+7
-0
No files found.
html/annualMeeting/Money.html
View file @
c1b2c738
...
...
@@ -14,6 +14,7 @@
</head>
<body
style=
"height: 100%;overflow: hidden;width: 100%;position: fixed;"
>
<audio
src=
"video/welcom_money.mp3"
autoplay
></audio>
<a
id=
"goali"
href=
"alipays://platformapi/startapp"
target=
"_blank"
style=
"position: absolute;z-index: -1;"
>
GO
</a>
<div
class=
"money_count"
>
<div
class=
"useropera"
>
<div
class=
"content-opt-title"
>
...
...
@@ -73,31 +74,36 @@
</div>
</div>
</div>
<div
class=
"rank_mask rank_mask2"
id=
"notice"
>
<div
class=
"rank_mask rank_mask2"
id=
"notice"
style=
"display: flex;"
>
<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>
<input
class=
"notice_content"
id=
"tokenReadPackage"
readonly=
"readonly"
value=
"哈哈哈哈"
/>
<button
class=
"all_Receive"
id=
"getAliPay"
data-clipboard-action=
"copy"
data-clipboard-target=
"#tokenReadPackage"
>
复制并领取
</button>
<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>
<script
src=
"js/clipboard.min.js"
></script>
<script>
let
conn
;
let
proxy
;
let
status
=
0
;
let
clock
=
null
;
let
isWinning
=
false
;
// clipboard.on('success', function(e) {
// console.log(e);
// });
// clipboard.on('error', function(e) {
// console.log(e);
// });
function
getMyRank
(){
proxy
.
invoke
(
'GetUserRank'
,
'Money'
).
done
(
r
=>
{
proxy
.
invoke
(
'GetUserRank'
,
'Money'
,
'1951_Money'
).
done
(
r
=>
{
if
(
r
.
r
!=-
1
){
$
(
'#myTop'
).
html
(
r
);
}
else
{
...
...
@@ -159,13 +165,14 @@
proxy
.
on
(
"notifyWinning"
,
function
(
d
){
//alert("恭喜你中奖了:"+d);
$
(
'#notice'
).
css
(
'display'
,
'flex'
);
$
(
'#tokenReadPackage'
).
text
(
d
);
$
(
'#tokenReadPackage'
).
val
(
d
);
$
(
"#smm"
).
css
(
'display'
,
'none'
);
})
}
this
.
initConnection
()
$
(
function
()
{
var
clipboard
=
new
Clipboard
(
'.all_Receive'
);
var
music
=
document
.
getElementById
(
'music'
);
var
money_en
=
$
(
"body"
);
//传递后台的分数
...
...
@@ -199,6 +206,11 @@
$
(
'.close'
).
click
(
function
(){
$
(
'.rank_mask'
).
css
(
'display'
,
'none'
);
});
$
(
'#getAliPay'
).
click
(
function
(){
setTimeout
(
function
(){
$
(
'#goali'
)[
0
].
click
();
},
500
);
});
//点击查看排行榜
$
(
'#rankBtn'
).
click
(
function
(){
$
(
'#smm'
).
css
(
'display'
,
'block'
);
...
...
@@ -246,6 +258,13 @@
$
(
'.tipsDiv'
).
css
(
'display'
,
'block'
);
$
(
'.play_tips'
).
css
(
'display'
,
'none'
);
var
clockReady
=
window
.
setInterval
(
function
(){
if
(
Count
==
5
){
$
(
'.circleCount'
).
html
(
"Ready"
);
}
else
if
(
Count
==
1
){
$
(
'.circleCount'
).
html
(
"GO"
);
}
else
{
$
(
'.circleCount'
).
html
(
Count
-
1
);
}
Count
--
;
$
(
'.circleCount'
).
html
(
Count
);
if
(
Count
==
0
){
...
...
html/annualMeeting/css/money.css
View file @
c1b2c738
...
...
@@ -604,19 +604,16 @@ body {
align-items
:
center
;
justify-content
:
center
;
margin-top
:
1.66rem
;
}
.notice_content
span
{
width
:
100%
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
margin-top
:
0
;
white-space
:
nowrap
;
font-size
:
1.2rem
;
text-align
:
center
;
outline
:
none
;
display
:
block
;
}
.all_Receive
{
width
:
12.5rem
;
height
:
2.5rem
;
...
...
@@ -626,13 +623,10 @@ body {
justify-content
:
center
;
margin-top
:
1.2rem
;
border-radius
:
1.35rem
;
}
.all_Receive
span
{
color
:
#893630
;
font-size
:
1.1rem
;
margin-top
:
0
;
border
:
none
;
outline
:
none
;
}
.all_Close
{
...
...
html/annualMeeting/js/clipboard.min.js
0 → 100644
View file @
c1b2c738
This diff is collapsed.
Click to expand it.
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