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
cc12f3d0
Commit
cc12f3d0
authored
Jan 09, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/surprised
parents
6dcc01f6
5cdc0c1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
HitMouse.html
html/annualMeeting/HitMouse.html
+6
-7
vote.css
html/annualMeeting/css/vote.css
+1
-1
vote.html
html/annualMeeting/vote.html
+10
-3
No files found.
html/annualMeeting/HitMouse.html
View file @
cc12f3d0
...
...
@@ -164,10 +164,10 @@
});
var
proxy
=
conn
.
createHubProxy
(
"annualLeaveHub"
);
conn
.
start
().
done
(
data
=>
{
// ownranking();//自己排名
sendMsg
();
sendScore
();
joinGeme
()
//参加活动
ownranking
();
//自己排名
}).
fail
(
data
=>
{});
getMsg
()
...
...
@@ -199,7 +199,7 @@
$
(
'.status3'
).
css
({
'display'
:
'none'
});
}
if
(
data
.
status
==-
1
){
ownranking
()
$
(
'.status'
).
css
({
'display'
:
'none'
});
$
(
'.status1'
).
css
({
'display'
:
'none'
});
$
(
'.status2'
).
css
({
'display'
:
'none'
});
...
...
@@ -226,11 +226,11 @@
$
(
'.o_ranking'
).
html
(
'第'
+
data
.
r
+
'名'
)
}
else
{
$
(
'.o_ranking'
).
html
(
'未上榜'
)
}
//显示统计窗口
});
}
function
getMsg
()
{
...
...
@@ -279,7 +279,6 @@
})
}
$
(
'.bbb'
).
click
(
function
()
{
StartGame
()
...
...
@@ -412,7 +411,7 @@
window
.
clearInterval
(
clock
);
window
.
clearInterval
(
timer1
);
//清除老鼠
sendScore
(
score
)
ownranking
()
//获取自己排名
//
ownranking() //获取自己排名
$
(
'#rank_mask'
).
css
(
'display'
,
'block'
);
}
},
1000
)
...
...
html/annualMeeting/css/vote.css
View file @
cc12f3d0
...
...
@@ -22,7 +22,7 @@ p{
.content
{
width
:
90%
;
height
:
50%
;
margin-top
:
1.8
rem
;
margin-top
:
2
rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
...
...
html/annualMeeting/vote.html
View file @
cc12f3d0
...
...
@@ -116,9 +116,16 @@
}
else
{
proxy
.
invoke
(
"UserVoteProgarm"
,
activity
.
EmployeeId
).
done
(
data
=>
{
console
.
log
(
data
)
$
(
'.popup'
).
css
(
'display'
,
'block'
)
$
(
'.popup_bg img'
).
attr
(
'src'
,
'../../images/aM/toupiao.png'
)
$
(
'.popup_bg span'
).
html
(
'恭喜你!投票成功'
)
if
(
data
==
2
){
layer
.
msg
(
'您已对本节目投过票了'
);
$
(
'.vote_s'
).
css
(
'display'
,
'none'
)
}
else
{
$
(
'.popup'
).
css
(
'display'
,
'block'
)
$
(
'.popup_bg img'
).
attr
(
'src'
,
'../../images/aM/toupiao.png'
)
$
(
'.popup_bg span'
).
html
(
'恭喜你!投票成功'
)
}
})
...
...
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