Commit b3686c5c authored by xinyuandu's avatar xinyuandu

commit

parent 7fa74268
...@@ -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">
......
...@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment