ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 列表搜索要求 使用Taglib的 Search.php 的内置标签 ~~~ <div class="filter_area m-b-10"> <!-- 搜索 --> <search:form action="{:url('index')}" method="get" id="search_form"> <search:input title="用户名" name="keywords" value="{$Request.param.keywords}" placeholder="用户名" /> <search:select title="会员等级" name="level_id"> <option value="" <empty name="$Request.param.level_id">selected</empty>>所有等级</option> <volist name="user_level" id="vo"> <option value="{$vo['id']}" <if condition="$Request.param.level_id eq $vo['id']">selected</if>>{$vo['title']}</option> </volist> </search:select> <search:select title="性别" name="sex"> <option value="" <empty name="$Request.param.level_id">selected</empty>>全部</option> <option value="1" <if condition="$Request.param.sex eq '1'">selected</if> >男</option> <option value="0" <if condition="$Request.param.sex eq '0'">selected</if> >女</option> </search:select> <search:input2 title="最新下单时间" start-name="order_start" end-name="order_end" start-value="{$Request.param.order_start}" end-value="{$Request.param.order_end}" /> <search:input2 title="成交量" start-name="deal_start" end-name="deal_end" start-value="{$Request.param.deal_start}" end-value="{$Request.param.deal_end}" /> <search:input2 title="消费总额" start-name="consumption_start" end-name="consumption_end" start-value="{$Request.param.consumption_start}" end-value="{$Request.param.consumption_end}" /> <search:input2 title="注册时间" start-name="register_start" end-name="register_end" start-value="{$Request.param.register_start}" end-value="{$Request.param.register_end}" /> <search:button id="submit" text="搜索" /> </search:form> <!-- 搜索 --> </div> ~~~