Amazeui implementation of basic layout

代码:

<!DOCTYPE html>
<html>

    <head lang="zh-cn">
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="">
        <meta name="keywords" content="">
        <title>阅卷账号及进度一览表</title>
        <meta name="renderer" content="webkit">
        <!-- No Baidu Siteapp-->
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="alternate icon" type="image/png" href="i/favicon.png">
        <link rel="apple-touch-icon-precomposed" href="i/app-icon72x72@2x.png">
        <meta name="apple-mobile-web-app-title" content="AMUI React" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.min.css" />
        <script src="http://cdn.amazeui.org/react/0.14.3/react.min.js"></script>
        <script src="http://cdn.amazeui.org/react/0.14.3/react-dom.min.js"></script>
        <script src="path/to/amazeui.react.min.js"></script>

        <style type="text/css">
            .wapper * {
                /*font-size: 0.8rem;*/
                font-family: "微软雅黑";
            }

            [class*=am-u-] {
                /*padding: 5px;*/
            }

            .wapper {
                max-width: 969px;
                margin: 30px auto;
            }

            .wapper-top {
                /*font-size: 0.8rem;*/
                max-width: 1200px;
            }

            .wapper .am-form input {
                display: inline-block;
                width: 106px;
                margin-right: 10px;
            }

            .wapper .am-form select {
                display: inline-block;
                width: 200px;
                margin-right: 10px;
            }

            .wapper .cl-title h1 {
                color: green;
                font-size: 28px;
                padding-bottom: 5px;
            }

            table * {
                text-align: center;
            }

            .am-btn {
                border-radius: 5px;
            }
        </style>
    </head>

    <body>

        <div class="wapper wapper-top">
            <form class="am-form">
                <label for="teacherId">姓名:</label>
                <input type="text" id="teacherId" placeholder="请输入姓名">
                <label for="examSubjectId">科目:</label>
                <select name="examSubjectId" style="width: 100px;">
                    <option value="">请选择</option>
                </select>
                <label for="examSchoolId">学校名称:</label>
                <select name="examSchoolId" style="width: 150px;">
                    <option value="">请选择</option>
                </select>
                <label for="examId">考试列表:</label>
                <select name="examId">
                    <option value="">请选择</option>
                </select>
                <label for="percent">进度:</label>
                <select name="percent" style="width: 100px;">
                    <option value="">请选择</option>
                    <option value="1">已完成</option>
                    <option value="0">未完成</option>
                </select>
                <button type="button" class="am-btn am-btn-success">查询</button>
                <button type="button" class="am-btn am-btn-success">重置</button>
            </form>
        </div>
        <div class="wapper">
            <div class="cl-title">
                <h1>德庆2019高中三年级县统考 阅卷账号及进度一览表</h1>
            </div>
        </div>
        <div class="wapper">
            <div class="cl-content">

                <table class="am-table am-table-striped am-table-hover am-table-bordered am-text-nowrap">
                    <thead>
                        <tr>
                            <th>姓名</th>
                            <th>电话</th>
                            <th>单位</th>
                            <th>科目</th>
                            <th>题组</th>
                            <th>任务数</th>
                            <th>完成数</th>
                            <th>完成比例</th>
                            <th>任务类型</th>
                            <th>状态</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>谢栋梁</td>
                            <td>14522662968</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>17组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>莫小妍</td>
                            <td>14542967028</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>19组</td>
                            <td>1095</td>
                            <td>1095</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>徐颜英</td>
                            <td>14522667035</td>
                            <td>孔子中学</td>
                            <td>语文</td>
                            <td>20组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>莫锦平</td>
                            <td>14502999655</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>18组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>陈灼容</td>
                            <td>14527206406</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>21组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>齐文杰</td>
                            <td>14526995058</td>
                            <td>孔子中学</td>
                            <td>语文</td>
                            <td>作文组</td>
                            <td>547</td>
                            <td>547</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>张齐金</td>
                            <td>14518260882</td>
                            <td>孔子中学</td>
                            <td>语文</td>
                            <td>15组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>李朝琴</td>
                            <td>14518543632</td>
                            <td>孔子中学</td>
                            <td>语文</td>
                            <td>19组</td>
                            <td>1094</td>
                            <td>1094</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>何敏琴</td>
                            <td>14500170416</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>13组</td>
                            <td>1095</td>
                            <td>1095</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>黄永红</td>
                            <td>14526182088</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>作文组</td>
                            <td>403</td>
                            <td>403</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>莫森霞</td>
                            <td>14580630737</td>
                            <td>孔子中学</td>
                            <td>语文</td>
                            <td>16组</td>
                            <td>2189</td>
                            <td>2189</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                        <tr>
                            <td>刘秋颜</td>
                            <td>14586940291</td>
                            <td>香山中学</td>
                            <td>语文</td>
                            <td>作文组</td>
                            <td>497</td>
                            <td>497</td>
                            <td>100.00%</td>
                            <td>评卷</td>
                            <td style="color: #999;">离线</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </body>

</html>

效果图:

..

One thought on “Amazeui implementation of basic layout

发表评论

电子邮件地址不会被公开。