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
4829d24e
Commit
4829d24e
authored
Jan 16, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
c130abc2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
16 deletions
+41
-16
AnnuaLmeetingHome.html
html/annualMeeting/AnnuaLmeetingHome.html
+20
-1
HitMouse.html
html/annualMeeting/HitMouse.html
+13
-10
Money.html
html/annualMeeting/Money.html
+6
-3
money.css
html/annualMeeting/css/money.css
+2
-2
No files found.
html/annualMeeting/AnnuaLmeetingHome.html
View file @
4829d24e
...
...
@@ -208,7 +208,26 @@
//年会首页菜单
proxy
.
on
(
"getMenus"
,
function
(
data
){
console
.
log
(
data
)
MenusList
=
data
MenusList
=
data
;
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
if
(
data
[
i
].
Id
==
1
){
if
(
data
[
i
].
Status
==
1
){
$
(
'#activity'
).
css
(
'display'
,
'flex'
)
$
(
'#activity2'
).
css
(
'display'
,
'none'
)
$
(
'#activity3'
).
css
(
'display'
,
'none'
)
}
}
else
if
(
data
[
i
].
Id
==
2
){
if
(
data
[
i
].
Status
==
1
){
$
(
'#activity'
).
css
(
'display'
,
'none'
)
$
(
'#activity2'
).
css
(
'display'
,
'flex'
)
$
(
'#activity3'
).
css
(
'display'
,
'none'
)
}
}
else
if
(
data
[
i
].
Id
==
4
&&
data
[
i
].
Status
==
1
){
$
(
'#activity2'
).
css
(
'display'
,
'none'
)
$
(
'#activity'
).
css
(
'display'
,
'none'
)
$
(
'#activity3'
).
css
(
'display'
,
'flex'
)
}
}
$
(
".menu_view"
).
remove
()
var
html
=
""
;
$
.
each
(
data
,
function
(
i
,
v
)
{
...
...
html/annualMeeting/HitMouse.html
View file @
4829d24e
...
...
@@ -421,16 +421,19 @@
$
(
".rank_i"
).
empty
()
var
html
=
''
$
.
each
(
data
,
function
(
i
,
v
)
{
//这里的函数参数是键值对的形式,k代表键名,v代表值
html
+=
'<div class="rank_item">
\
n'
+
' <div class="rank_itemL">
\
n'
+
' <div class="rank_num">'
+
(
i
+
1
)
+
'</div>
\
n'
+
' <p>'
+
data
[
i
].
n
+
'</p>
\
n'
+
' </div>
\
n'
+
' <div class="rank_itemR">
\
n'
+
' <div class="shuxi"></div>
\
n'
+
' <p>'
+
data
[
i
].
s
+
'</p>
\
n'
+
' </div>
\
n'
+
' </div>'
if
(
i
<
10
){
html
+=
'<div class="rank_item">
\
n'
+
' <div class="rank_itemL">
\
n'
+
' <div class="rank_num">'
+
(
i
+
1
)
+
'</div>
\
n'
+
' <p>'
+
data
[
i
].
n
+
'</p>
\
n'
+
' </div>
\
n'
+
' <div class="rank_itemR">
\
n'
+
' <div class="shuxi"></div>
\
n'
+
' <p>'
+
data
[
i
].
s
+
'</p>
\
n'
+
' </div>
\
n'
+
' </div>'
}
});
$
(
".rank_i"
).
append
(
html
);
};
...
...
html/annualMeeting/Money.html
View file @
4829d24e
...
...
@@ -69,7 +69,7 @@
<span
class=
"rank_myTop"
id=
"myTop"
></span>
名
</p>
</div>
<div
class=
"rank"
id=
"rankBox"
style=
"height:
29
rem;"
></div>
<div
class=
"rank"
id=
"rankBox"
style=
"height:
36
rem;"
></div>
</div>
</div>
</div>
...
...
@@ -145,8 +145,11 @@
var
html
=
''
if
(
d
&&
d
.
length
>
0
){
for
(
var
i
=
0
;
i
<
d
.
length
;
i
++
)
{
html
+=
'<div class="rank-row"><span class="rank-num num'
+
(
i
+
1
)
+
'">'
+
(
i
>
2
?
i
+
""
:
""
)
+
'</span><img src="'
+
d
[
i
].
p
+
'"/>'
html
+=
'<span class="rank-name">'
+
d
[
i
].
n
+
'</span><span class="rank-score">'
+
d
[
i
].
s
+
'</span></div>'
if
(
i
<
10
){
html
+=
'<div class="rank-row"><span class="rank-num num'
+
(
i
+
1
)
+
'">'
+
(
i
>
2
?
i
+
1
:
""
)
+
'</span><img src="'
+
d
[
i
].
p
+
'"/>'
html
+=
'<span class="rank-name">'
+
d
[
i
].
n
+
'</span><span class="rank-score">'
+
d
[
i
].
s
+
'</span></div>'
}
}
}
$
(
"#rankBox"
).
html
(
html
);
...
...
html/annualMeeting/css/money.css
View file @
4829d24e
...
...
@@ -314,12 +314,12 @@ body {
background
:
url(../img/money/rank_list_dec.png)
no-repeat
center
;
background-size
:
contain
;
position
:
absolute
;
top
:
-
89
px
;
top
:
-
100
px
;
left
:
0
;
}
.rank_list_ranking
{
padding-top
:
7
0px
;
padding-top
:
5
0px
;
width
:
100%
;
margin
:
10px
auto
0
;
}
...
...
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