Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
b3686c5c
Commit
b3686c5c
authored
Nov 20, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
7fa74268
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
2 deletions
+39
-2
performance_ranking.html
...n/index/view/performance_ranking/performance_ranking.html
+16
-2
performance_ranking.js
public/resource/js/performance_ranking.js
+23
-0
No files found.
application/index/view/performance_ranking/performance_ranking.html
View file @
b3686c5c
...
@@ -163,6 +163,19 @@
...
@@ -163,6 +163,19 @@
background-color
:
#D3D8EF
;
background-color
:
#D3D8EF
;
}
/* 滑块颜色 */
}
/* 滑块颜色 */
.table-choose
{
color
:
#999999
;
}
.active
{
color
:
#1A1A1A
!important
;
}
.left-padding
{
margin-left
:
0.2rem
;
}
</style>
</style>
<div
class=
"backer"
></div>
<div
class=
"backer"
></div>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
...
@@ -276,8 +289,9 @@
...
@@ -276,8 +289,9 @@
<div
class=
"col-xs-4 p-a-10 p-t-0"
>
<div
class=
"col-xs-4 p-a-10 p-t-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"area-title p-a-15 p-b-10"
>
<div
class=
"area-title p-a-15 p-b-10"
>
<span
id=
"table-title"
></span>
<a><span
id=
"table-title"
class=
"active table-choose"
></span></a>
<span
class=
"title-time"
id=
"table-time"
></span>
<a><span
id=
"group-title"
class=
"table-choose left-padding "
>
团队Q档
</span></a>
<a><span
class=
"title-time"
id=
"table-time"
></span></a>
</div>
</div>
<div
class=
"table-scro"
style=
"height:6.97rem;;overflow-y:scroll"
>
<div
class=
"table-scro"
style=
"height:6.97rem;;overflow-y:scroll"
>
...
...
public/resource/js/performance_ranking.js
View file @
b3686c5c
...
@@ -52,6 +52,29 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -52,6 +52,29 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
}
}
});
});
$
(
document
).
on
(
'click'
,
'.table-choose'
,
function
(
e
){
// $('.table-choose').click(function(){
console
.
log
(
e
)
if
(
$
(
this
).
hasClass
(
"active"
)){
console
.
log
(
"true"
);
//nothing to change
}
else
{
console
.
log
(
"false"
)
$
(
this
).
parent
().
parent
().
find
(
".active"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
if
(
$
(
this
).
attr
(
id
)
==
"table-title"
)
{
$
(
'#group'
).
hide
();
$
(
'#person'
).
show
();
}
else
{
$
(
'#person'
).
hide
();
$
(
'#group'
).
show
();
}
}
});
},
},
addDark
:
function
(){
addDark
:
function
(){
...
...
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