<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                > ### 全局搜索標簽代碼 > 適用范圍:網站全局均可使用,用于搜索產品和新聞的信息列表 ``` 示例代碼(搜索框): /*搜索框必須為form表單框且地址為固定寫法*/ <form action="{:url('index/search/index')}" method="get"> <div class="input-group"> /*搜索input框*/ <input type="text" name="keywords" class="form-control index-search-input" placeholder="輸入搜索關鍵詞……"/> /*搜索傳入控制條數條件*/ <input type="hidden" name="limit" value="10"><!-- 根據控制value的值控制每頁顯示的條數 --> /*搜索按鈕*/ <span class="input-group-btn"> <button class="btn btn-danger index-search-btn" type="submit" name="buttons" id="buttons"> <img src="__PUBLIC__img/searchbtn.png" alt="" /> </button> </span> </div> </form> ``` ``` 示例代碼(搜索結果展示頁面) <!-- 內頁info if判斷是否搜索到結果--> {if condition="$p neq null"} /*搜索到結果展示代碼*/ <section class="container"> <div class=" nei-news-box clearfloat"> <ul class="news-list-ul"> <li class="index-new-list"><h1>搜索結果:</h1></li> {foreach name='$p->data' id='v'} <li class="index-new-list"><a href="{$v.url}">{$v.title}</a></li> {/foreach} </ul> </div> <!-- 分頁 --> <div class="my_page wrap">{:htmlspecialchars_decode($p->render)}</div> <!-- 分頁end --> </section> {else} /*未搜索到結果展示代碼*/ <section class="container"> <div class=" nei-news-box"> <ul class="news-list-ul"> <li class="index-new-list" ><h1>搜索結果:</h1></li> <li class="index-new-list" ><p>對不起,沒有相關內容。</p></li> </ul> </div> </section> {/if} ``` 使用說明:除獲取數據的標簽固定和搜索框代碼固定外,樣式和其他代碼均可自有定義,以上示例僅供參考!
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看