<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## tagarclist根據標簽獲取文章內容列表 用于**根據標簽獲取文章列表** <blockquote class="danger"><p>HkCms_2.2.4.230206版本起</p></blockquote> ## 參數 | 參數名稱 | 可選值 | 默認值 | 是否必填 | 說明 | | --- | --- | --- | --- | --- | | tid| 標簽ID或0 | - | - | 0-表示獲取所有 | | arcid| 文章ID | - | tid與arcid選一個 | 獲取指定文章包含的標簽 | | model | 模型ID | - | acrid填寫時,該值不能為空 | 指定標簽屬于的模型 | | catid | 欄目ID |- |- | 指定標簽屬于的欄目| | order | - | views desc(點擊量降序) | - |排序| | num|-| -| - |限制結果數量| | where|- |-| -| sql篩選條件 | | page| 1| -| - | 開啟分頁,配合 {hkcms:contentpage /} 分頁標簽 | | id| - | $item| - | 指定循環里的變量名,例如id='obj',模板調用如:{$item.title} 變成 {$obj.title}| | empty | - | - | 否| 為空的時候輸出提示,支持傳入html| | cache| - |3600秒| -|緩存時間,默認3600秒| | currentstyle| - |active|- | css class 類名,用于定義當前選擇狀態樣式| ## 簡單示例. 在標簽頁`tags_list`頁面,獲取文章列表 ~~~ // 在標簽列表頁有$Tags變量,即當前標簽,這里代碼意思是:獲取當前標簽下的文章。里面的字段是文章的字段 {hkcms:tagarclist tid="$Tags['id']" num="6" page="1"} ? ? ? ? <a href="{$item.url}" title="{$item.title}"><img src="{:cdn_url($item.thumb)}" style="object-fit: cover;" alt="{$item.title}"></a> ? ? ? ? ? ? <h5><a href="{$item.url}" title="{$item.title}">{$item.title}</a></h5> ? ? ? ? ? ? <h6>{hkcms:date name="$item['publish_time']" /}</h6> ? ? ? ? ? ? <p class="card-text"><a href="{$item.url}">{$item.description}</a></p> </div> {/hkcms:tagarclist} 配合分頁 {hkcms:contentpage item="home,pre,pageno,next,last,info" mobile_item="pre,pageno,next" pre="&laquo;" next="&raquo;" /} ~~~ 在其他位置獲取,例如你的標簽ID是10,那么獲取文章里面有10的標簽列表 ~~~ // 在標簽列表頁有$Tags變量,即當前標簽,這里代碼意思是:獲取當前標簽下的文章。里面的字段是文章的字段 {hkcms:tagarclist tid="10" num="6" } ? ? ? ? <a href="{$item.url}" title="{$item.title}"><img src="{:cdn_url($item.thumb)}" style="object-fit: cover;" alt="{$item.title}"></a> ? ? ? ? ? ? <h5><a href="{$item.url}" title="{$item.title}">{$item.title}</a></h5> ? ? ? ? ? ? <h6>{hkcms:date name="$item['publish_time']" /}</h6> ? ? ? ? ? ? <p class="card-text"><a href="{$item.url}">{$item.description}</a></p> </div> {/hkcms:tagarclist} ~~~
                  <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>

                              哎呀哎呀视频在线观看