|
@@ -0,0 +1,98 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <title>Layui</title>
|
|
|
+ <meta name="renderer" content="webkit">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
+ <link href="/static/css/style.css?v=4.1.0" rel="stylesheet">
|
|
|
+ <link href="/static/css/plugins/layui/layui.css" rel="stylesheet">
|
|
|
+ <link href="/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
|
|
|
+ <link href="/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
|
|
|
+ <link href="/static/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
|
|
|
+ <link href="/static/css/plugins/validate/bootstrapValidator.min.css" rel="stylesheet">
|
|
|
+ <script src="/static/js/jquery.min.js?v=2.1.4"></script>
|
|
|
+ <script src="/static/js/bootstrap.min.js?v=3.3.6"></script>
|
|
|
+ <script src="/static/js/plugins/validate/bootstrapValidator.min.js"></script>
|
|
|
+ <!-- 注意:如果你直接复制所有代码到本地,上述css路径需要改成你本地的 -->
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+
|
|
|
+<div style="margin: 0 auto; max-width: 1140px;padding: 20px">
|
|
|
+ <h2 style="text-align: center;margin-top: 20px">
|
|
|
+ 商家核验
|
|
|
+ </h2>
|
|
|
+ <form class="m-t" action="/index/shop/index" id="query" method="post">
|
|
|
+
|
|
|
+ <div class="rowGroup form-group">
|
|
|
+ <label class="control-label spacing td-label">人才姓名</label>
|
|
|
+ <input type="text" class="form-control" id="name" name="name" value=""/>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup form-group">
|
|
|
+ <label class=" control-label spacing td-label">证件类型</label>
|
|
|
+ <select class="form-control" id="card_type" name="card_type" value="">
|
|
|
+ <option value="">请选择</option>
|
|
|
+ <option value="1">身份证</option>
|
|
|
+ <option value="2">通行证</option>
|
|
|
+ <option value="3">护照</option>
|
|
|
+ <option value="4">人才证号</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup form-group">
|
|
|
+ <label class=" control-label spacing td-label">证件号码</span></label>
|
|
|
+ <input class="form-control" id="card_number" name="card_number" value="">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="col-sm-8" style="padding-left: 0px; padding-right: 0px;">
|
|
|
+ <input class="form-control" type="text" name="captcha" placeholder="验证码" required="">
|
|
|
+ </div>
|
|
|
+ <div class="col-sm-4" style="padding-left: 0px; padding-right: 0px;">
|
|
|
+ <img src="{:captcha_src()}" id="captcha" width="100%" height="100%"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup " style="margin-top: 20px">
|
|
|
+ <button type="submit" class="btn btn-primary">提交</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+</div>
|
|
|
+
|
|
|
+<script>
|
|
|
+ $(function(){
|
|
|
+
|
|
|
+ $('form').bootstrapValidator({
|
|
|
+ message: 'This value is not valid',
|
|
|
+ feedbackIcons: {
|
|
|
+ valid: 'glyphicon glyphicon-ok',
|
|
|
+ invalid: 'glyphicon glyphicon-remove',
|
|
|
+ validating: 'glyphicon glyphicon-refresh'
|
|
|
+ },
|
|
|
+ fields: {
|
|
|
+ name: {
|
|
|
+ message: '真实姓名验证失败',
|
|
|
+ validators: {
|
|
|
+ notEmpty: {
|
|
|
+ message: '姓名不能为空'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ card_type: {
|
|
|
+ validators: {
|
|
|
+ notEmpty: {
|
|
|
+ message: '证件类型必须选择'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ card_number: {
|
|
|
+ validators: {
|
|
|
+ notEmpty: {
|
|
|
+ message: '证件号码必须填写'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|