太阳成游戏网站

联系官方销售客服

QQ1835022299

028-61286886

POSCMS 版主:POSCMS负责人
如何在模块的搜索页面,只显示一个搜索框
类型:POSCMS 更新时间:2019-04-22 09:06:05

如何在模块的搜索页面,只显示一个搜索框,当有搜索的时候才显示下面的列表内容


现在的结果是,点击搜索页面的时候,就会出来列表


  {if $searchid}
                                {search order=$params.order id=$searchid total=$sototal catid=$catid page=1 pagesize=10 urlrule=$urlrule}
                               


                                   

                                   

                                       

                                           

{$t['title']}


                                           

{dr_strcut($t.description, 130)}


                                       

                                   

                               

                                {/search}
                                {else}
                               

                                   

没有搜索到数据


                               

                                {/if}

图片.png


回帖
  • NuBia
    #1楼    NuBia
    2019-04-22 08:49:25
    0
    {if $keyword}显示xxxxxxxxxxxxxxxx{/if}
    满意答案
  • 张海峰
    #2楼    张海峰
    2019-04-22 09:06:05
    0
    @NuBia:早上好,谢谢你,搞定