index_search.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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="order_no" value="{$Think.get.order_no|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="tel" value="{$Think.get.tel|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. <input name="user_name" value="{$Think.get.user_name|default=''}" placeholder="请输入用户名称" class="layui-input">
  20. </div>
  21. </div>
  22. <div class="layui-form-item layui-inline">
  23. <label class="layui-form-label">订单状态</label>
  24. <div class="layui-input-inline">
  25. <select class="layui-select" name="order_status">
  26. <option value="-1">全部</option>
  27. {foreach $order_status as $k=>$v}
  28. {if $v}
  29. {if $Think.get.order_status eq $k}
  30. <option selected value="{$k}">{$v}</option>
  31. {else}
  32. <option value="{$k}">{$v}</option>
  33. {/if}
  34. {/if}
  35. {/foreach}
  36. </select>
  37. </div>
  38. </div>
  39. <div class="layui-form-item layui-inline">
  40. <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
  41. </div>
  42. </form>
  43. <script>form.render()</script>
  44. </fieldset>