index_search.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <fieldset>
  2. <legend>条件搜索</legend>
  3. <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
  4. <div class="layui-form-item layui-inline">
  5. <label class="layui-form-label">用户账号</label>
  6. <label class="layui-input-inline">
  7. <input name="username" value="{:input('get.username')}" placeholder="请输入用户名" class="layui-input">
  8. </label>
  9. </div>
  10. <div class="layui-form-item layui-inline">
  11. <label class="layui-form-label">联系手机</label>
  12. <label class="layui-input-inline">
  13. <input name="phone" value="{:input('get.phone')}" placeholder="请输入联系手机" class="layui-input">
  14. </label>
  15. </div>
  16. <div class="layui-form-item layui-inline">
  17. <label class="layui-form-label">联系邮箱</label>
  18. <label class="layui-input-inline">
  19. <input name="mail" value="{:input('get.mail')}" placeholder="请输入联系邮箱" class="layui-input">
  20. </label>
  21. </div>
  22. <div class="layui-form-item layui-inline">
  23. <label class="layui-form-label">最后登录</label>
  24. <div class="layui-input-inline">
  25. <input data-date-range name="login_at" value="{:input('get.login_at')}" placeholder="请选择登录时间" class="layui-input">
  26. </div>
  27. </div>
  28. <div class="layui-form-item layui-inline">
  29. <label class="layui-form-label">创建时间</label>
  30. <div class="layui-input-inline">
  31. <input data-date-range name="create_at" value="{:input('get.create_at')}" placeholder="请选择创建时间" class="layui-input">
  32. </div>
  33. </div>
  34. <div class="layui-form-item layui-inline">
  35. <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
  36. </div>
  37. </form>
  38. </fieldset>
  39. <script>form.render()</script>