html页面生成Tab卡

资金管理系统全景图页面

 ================================================================================================

<!-- 页面tab 样式-->
<style type="text/css">
    .ullu{width: 100%;border-bottom: 2px solid #62a9eb;height: 37px;margin: 15px 0;}
    .ullu li{float: left;height: 35px;width: 95px;color: #62a9eb;border-radius:6px 6px 0 0;line-height: 35px;text-align: center;background: #fff;}
    .blueli{color: #fff !important;background: #62a9eb !important;}
    .ullu li:hover{color: #fff !important;background: #62a9eb !important;}
</style>

================================================================================================

<ul class="ullu" id="ullu">
    <li class="blueli" οnclick="tabone()" id="aa">基本信息</li>
    <li οnclick="tabtwo()" id="bb">损益情况</li>
    <li οnclick="tabthree()" id="cc">分红情况</li>
    <li οnclick="tabfour()" id="dd">流程历史</li>
    <li οnclick="tabfive()" id="ee">流程图</li>
    <!--<li οnclick="tabfour()" id="dd">附件列表</li>-->
</ul>

 ================================================================================================

<!-- tab页面控制显示隐藏-->
function tabone() {
    $("#tableone").show();
    $("#tabletwo").hide();
    $("#tablethree").hide();
    $("#tablefour").hide();
    $("#tablefive").hide();
    $("#aa").addClass('blueli').siblings().removeClass('blueli');
};
function tabtwo() {
    $("#tableone").hide();
    $("#tabletwo").show();
    $("#tablethree").hide();
    $("#tablefour").hide();
    $("#tablefive").hide();
    $("#bb").addClass('blueli').siblings().removeClass('blueli');
};
function tabthree() {
    $("#tableone").hide();
    $("#tabletwo").hide();
    $("#tablethree").show();
    $("#tablefour").hide();
    $("#tablefive").hide();
    $("#cc").addClass('blueli').siblings().removeClass('blueli');
};
function tabfour() {
    $("#tableone").hide();
    $("#tabletwo").hide();
    $("#tablethree").hide();
    $("#tablefour").show();
    $("#tablefive").hide();
    $("#dd").addClass('blueli').siblings().removeClass('blueli');
};
function tabfive() {
    $("#tableone").hide();
    $("#tabletwo").hide();
    $("#tablethree").hide();
    $("#tablefour").hide();
    $("#tablefive").show();
    $("#ee").addClass('blueli').siblings().removeClass('blueli');
};
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值