1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <fieldset>
- <legend>条件搜索</legend>
- <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">订单号</label>
- <div class="layui-input-inline">
- <input name="order_no" value="{$Think.get.order_no|default=''}" placeholder="请输入订单号" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">手机号</label>
- <div class="layui-input-inline">
- <input name="tel" value="{$Think.get.tel|default=''}" placeholder="请输入手机号" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">用户名称</label>
- <div class="layui-input-inline">
- <input name="user_name" value="{$Think.get.user_name|default=''}" placeholder="请输入用户名称" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">订单状态</label>
- <div class="layui-input-inline">
- <select class="layui-select" name="order_status">
- <option value="-1">全部</option>
- {foreach $order_status as $k=>$v}
- {if $v}
- {if $Think.get.order_status eq $k}
- <option selected value="{$k}">{$v}</option>
- {else}
- <option value="{$k}">{$v}</option>
- {/if}
- {/if}
- {/foreach}
- </select>
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
- </div>
- </form>
- <script>form.render()</script>
- </fieldset>
|