index_search.html 2.2 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. <div class="layui-input-inline">
  7. <input name="keyword" value="{$Think.get.keyword|default=''}" placeholder="请输入关键词" class="layui-input">
  8. </div>
  9. </div>
  10. <div class="layui-form-item layui-inline">
  11. <label class="layui-form-label">会员手机</label>
  12. <div class="layui-input-inline">
  13. <input name="phone" value="{$Think.get.phone|default=''}" placeholder="请输入会员手机" class="layui-input">
  14. </div>
  15. </div>
  16. <div class="layui-form-item layui-inline">
  17. <label class="layui-form-label">状态</label>
  18. <div class="layui-input-inline">
  19. <select class="layui-select" name="status">
  20. {foreach [''=>'- 全部会员 -','1'=>'正常','0'=>'禁用'] as $k=>$v}
  21. {eq name='Think.get.status' value='$k.""'}
  22. <option selected value="{$k}">{$v}</option>
  23. {else}
  24. <option value="{$k}">{$v}</option>
  25. {/eq}
  26. {/foreach}
  27. </select>
  28. </div>
  29. </div>
  30. <div class="layui-form-item layui-inline">
  31. <label class="layui-form-label">注册时间</label>
  32. <div class="layui-input-inline">
  33. <input name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择发送时间" class="layui-input">
  34. </div>
  35. </div>
  36. <div class="layui-form-item layui-inline">
  37. <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
  38. <button type="button" data-export-list class="layui-btn layui-btn-primary layui-hide"><i class="layui-icon layui-icon-export"></i> 导 出</button>
  39. </div>
  40. </form>
  41. <script>
  42. form.render();
  43. laydate.render({range: true, elem: '[name="create_at"]'})
  44. </script>
  45. </fieldset>