ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 官方已回 “欄目模型字段” 搜索字段出不來,如何寫才能匹配 2 0
迅睿CMS版本:4.3.7

“欄目模型字段”新建了“文本字段” 默認的模塊搜索字段出不來,如何寫才能匹配

              <input class="input" onkeypress="if(event.keyCode==13) {dr_module_search('search_keyword');return false;}" name='keyword' value='{$keyword}' id='search_keyword' placeholder="此處輸入查詢的標準名稱(標準號)" type="text"  />
 
            <button type="button"   onclick="dr_module_search('search_keyword')"  >提交查詢</button>
 
          <script>
                                    // 這段js是用來執行搜索的
                                    function dr_module_search(name) {
                                        var url="{Router::search_url($params, 'keyword', 'dayruicom')}";
                                        var value = $("#"+name).val();
                                        if (value) {
                                            location.href=url.replace('dayruicom', value);
                                        } else {
                                            $("#"+name).focus()
                                            dr_tips(0, "輸入關鍵字");
                                        }
                                        return false;
                                    }
        </script>


image


image

解決方案