jquery实现自定义表格数据分页多选编辑效果代码

代码语言:html

所属分类:表格

代码描述:jquery实现自定义表格数据分页多选编辑效果代码

代码标签: jquery 自定义 表格 分页 多选

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
    <style>
        * {
            padding: 0;
            margin: 0;
            outline: none;
        }

        body {
            font-size: 12px;
            color: #000;
            font-family: "微软雅黑";
        }

        .digital {
            width: 65%;
            margin: 30px auto;
        }

        .digitalTitle {
            height: 60px;
            line-height: 60px;
            font-size: 16px;
        }

        .CAButtonS {
            margin: 20px 0;
        }

        table.dataTable tbody tr, .reseachIput, #tablesLength > label > select, #tablesPageinate .pageinateBtn {
            background: #03152E;
        }

        .requestBtn {
            vertical-align: baseline;
            margin-left: 16px;
        }

        #userImportTable {
            background: #003975;
            color: #fff;
            border: none !important;
            text-align: center;
            margin: 20px 0;
        }

            #userImportTable tr {
                height: 40px;
                line-height: 40px;
            }
        /*自定义表格格式*/
        table tbody tr, .reseachIput, #tablesLength > label > select, #tablesPageinate .pageinateBtn {
            background: #03152E;
        }

        .reseachIputCertificate {
            height: 40px;
            width: 500px;
            background: #03152E;
            border-radius: 4px;
            border: none;
            padding: 0 6px;
            color: #fff;
        }

        .uploadDigital {
            /*border: 1px solid red;*/
        }

        .uploadDigitalLabel {
            /*width: 510px;*/
            float: right;
        }

        .uploadDigitalInput {
            width: 300px;
            background: #03152E;
            border: none;
            height: 40px;
            border-radius: 4px;
            color: #fff;
            padding: 0 6px;
            margin-right: 16px;
            vertical-align: middle;
        }

        .digitalTop {
            margin-bottom: 7px;
        }

        .userImportTableBottom {
            /*color: #fff;*/
        }

            .userImportTableBottom .dataTablesInfo {
                float: left;
            }

            .userImportTableBottom .tablePageinate, .userImportTableBottom .digitalLength {
                float: right;
            }

            .userImportTableBottom .digitalLength {
                float: right;
                padding-top: 0.25em;
                margin-right: 20px;
            }

                .userImportTableBottom .digitalLength select {
                    background: #03152E;
                    border: none;
                    border-radius: 4px;
                    color: #fff;
                    margin: 0 4px;
                    padding: 4px;
                }

        .tablePageinate .pageinateBtn.current {
            width: 30px;
            height: 30px;
            font-size: 12px;
            background: #0589E0;
            text-align: center;
            line-height: 30px;
            border-radius: 4px;
            color: #fff !important;
            border: none !important;
        }

        #pageNext:hover, #pagePrevious:hover, .tablePageinate .pageinateBtn:hover {
            background: #0589E0;
            cursor: pointer;
        }

        .tablePageinate .disabled {
            cursor: no-drop !important;
        }

        #pageNext, #pagePrevious, .tablePageinate .pageinateBtn {
            display: inline-block;
            width: 30px;
            height: 30px;
            margin: 0px 2px;
            font-size: 12px;
            background: #03152E;
            text-align: center;
            line-height: 30px;
            border-radius: 4px;
            color: #fff !important;
            border: none !important;
        }

        .userImport.........完整代码请登录后点击上方下载按钮下载查看

网友评论0