原生js实现分页查询搜索效果

代码语言:html

所属分类:布局界面

代码描述:原生js实现分页查询搜索效果

代码标签: 分页 查询 搜索 效果

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

<!DOCTYPE html>
<html lang="en">
<head>
   
<meta charset="UTF-8">
   
<meta name="viewport" content="width=device-width, initial-scale=1.0">
   
<meta http-equiv="X-UA-Compatible" content="ie=edge">
   
<title>简单JS实现分页</title>
   
<style>
        table {
            width: 100%;
            border: 1px solid #000;
            border-collapse: collapse;
            margin: 0 auto;
        }
        tr,td,th {
            border: 1px solid #000;
            text-align: center;
            height: 23px;
        }

        input {
            width: 60px;
        }

        .search {
            width: 600px;
            margin: 20px auto;
        }
        .asc {
            display: inline-block;
            font-size: 10px;
            cursor: pointer;
            padding-left: 10px;
        }
        .desc {
            display: inline-block;
            font-size: 10px;
            cursor: pointer;
            margin-left: 10px;
        }
        ol {
            list-style: none;
            text-align: center;
            position: absolute;
            margin: 0;
            top: 220px;
            width: 400px;
            margin-left: -200px;
            left: 50%;
        }
        ol li {
            cursor: pointer;
            line-height: 30px;
            height: 30px;
            float: left;
            margin-left: 6px;
            border: 1px solid #ccc;
            color: #09f;
        }
        ol li:nth-child(1) {
            margin-left: 0;
        }
        ol li p {
            display: inline-block;

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

网友评论0