12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <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">
- <select class="layui-select" name="appid" lay-filter="appid" lay-search>
- <!--{foreach $wechats as $k=>$v}-->
- <!--{if $k eq $appid}-->
- <option selected value="{$k}">{$v}</option>
- <!--{else}-->
- <option value="{$k}">{$v}</option>
- <!--{/if}-->
- <!--{/foreach}-->
- </select>
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">微信昵称</label>
- <div class="layui-input-inline">
- <input name="nickname" value="{$Think.get.nickname|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="subscribe">
- {foreach [''=>'-- 全部 --','0'=>'显示未关注的粉丝','1'=>'显示已关注的粉丝'] as $k=>$v}
- {eq name='Think.get.subscribe' value='$k.""'}
- <option selected value="{$k}">{$v}</option>
- {else}
- <option value="{$k}">{$v}</option>
- {/eq}
- {/foreach}
- </select>
- </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="is_black">
- {foreach [''=>'-- 全部 --','0'=>'显示未拉黑的粉丝','1'=>'显示已拉黑的粉丝'] as $k=>$v}
- {eq name='Think.get.is_black' value='$k.""'}
- <option selected value="{$k}">{$v}</option>
- {else}
- <option value="{$k}">{$v}</option>
- {/eq}
- {/foreach}
- </select>
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">关注时间</label>
- <div class="layui-input-inline">
- <input data-date-range name="subscribe_at" value="{$Think.get.subscribe_at|default=''}" placeholder="请选择关注时间" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <button id="SearchButton" class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
- </div>
- </form>
- </fieldset>
- <script>
- form.render();
- form.on('select(appid)', function () {
- $('#SearchButton').trigger('click');
- });
- </script>
|