<!--搜索框--> <form action="app.php?m=Infomation&a=index&branch_id={$smarty.get.branch_id}" method="get"> <div class="status"> <div class="demoTable" style="margin:5px auto;"> <input type="hidden" value="Infomation" name="m"> <input type="hidden" value="index" name="a"> <input type="hidden" value="{$smarty.get.branch_id}" name="branch_id"> <div class="layui-input-inline"><input type="text" class="layui-input" placeholder="关键词" name="keys" id="keys" autocomplete="off"></div> <div class="layui-input-inline"><button class="layui-btn layui-btn-normal" data-type="reload">查询</button></div> </div> <!--提示框--> <div style="width: 94%;text-align: center;margin-top: 10px;"></div> </div> </form>
其中:<input type="hidden" value="Infomation" name="m">
,<input type="hidden" value="index" name="a">
必须作为参数传递,否则将无法跳转到对应的页面信息。
lockdatav Done!