<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.TLeft
{
float: left;
}
.Border1
{
border: 1px solid #cccccc;
}
.cg1
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg2
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg3
{
float: left;
width: 100px;
height: 36px;
border-right: 1px solid #cccccc;
background-color: #ffffff;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
</style>
<script type="text/javascript">
function cc(i) {
for (t = 1; t <= 3; t++) {
document.getElementById("L" + t).className = "cg1";
document.getElementById("C" + t).style.display = "none";
}
document.getElementById("L" + i).className = "cg3";
document.getElementById("C" + i).style.display = "";
}
</script>
</head>
<body>
<div class="TLeft Border1" style="height:564px; width:100%; margin-top:20px">
<div style="height:35px;width:1000; background-color:#eff8ff; border-bottom: 1px solid #cccccc">
<div id="L1" class="cg3" οnmοusemοve="cc('1')">待付款</div>
<div id="L2" class="cg2" οnmοusemοve="cc('2')">已付款</div>
<div id="L3" class="cg1" οnmοusemοve="cc('3')">已消费</div>
</div>
<div id="C1" style="float: left; width: 730px; height: 380px; margin: 10px; display:block; ">ssss
</div>
<div id="C2" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfddd
</div>
<div id="C3" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfgggddd
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.TLeft
{
float: left;
}
.Border1
{
border: 1px solid #cccccc;
}
.cg1
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg2
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg3
{
float: left;
width: 100px;
height: 36px;
border-right: 1px solid #cccccc;
background-color: #ffffff;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
</style>
<script type="text/javascript">
function cc(i) {
for (t = 1; t <= 3; t++) {
document.getElementById("L" + t).className = "cg1";
document.getElementById("C" + t).style.display = "none";
}
document.getElementById("L" + i).className = "cg3";
document.getElementById("C" + i).style.display = "";
}
</script>
</head>
<body>
<div class="TLeft Border1" style="height:564px; width:100%; margin-top:20px">
<div style="height:35px;width:1000; background-color:#eff8ff; border-bottom: 1px solid #cccccc">
<div id="L1" class="cg3" οnmοusemοve="cc('1')">待付款</div>
<div id="L2" class="cg2" οnmοusemοve="cc('2')">已付款</div>
<div id="L3" class="cg1" οnmοusemοve="cc('3')">已消费</div>
</div>
<div id="C1" style="float: left; width: 730px; height: 380px; margin: 10px; display:block; ">ssss
</div>
<div id="C2" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfddd
</div>
<div id="C3" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfgggddd
</div>
</div>
</body>
</html>