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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                #### 公共標簽 #### 1、模板文件嵌套引用 `{include file=***.html}` 使用說明: 可以嵌套使用,如:index.html 嵌套一個head.html,同時head.html中嵌套comm.html 支持使用子目錄,如:{include file=comm/\*\*\*.html} #### 2、時間格式化標簽 style=* 如:內容列表時間格式化[list:date style=Y-m-d]、內容詳情頁時間格式化{content:date style=Y-m-d} 使用說明: 時間格式化標簽和PHP時間格式化語法一致,分別用不同字母代替,中間可以穿插任意字符,如:Y-m-d、Y/m/d、Y年m月d日等等 注意:Y代表完整年份,y代表簡化年份,m代表月份,d代表日,H代表小時,i代表分,s代表秒,如完整時間:style='Y-m-d H:i:s',更多請參考PHP時間格式化語法 ,參考鏈接 :http://php.net/manual/zh/function.date.php #### 3、HTML去除標簽 drophtml=1 如:內容列表內容[list:content drophtml=1]、內容詳情頁內容{content:content drophtml=1} 使用說明: 一般在首頁等特殊位置需要調取正文一段純文本時使用,這時一般會配合下面的內容截取標簽一起使用 #### 4、內容截取標簽 長度截取使用len=* 或 lencn=* ,使用第二個將避免中英文長度不統一問題,一個英文字符算半個字 (V1.3.5+)內容截取時可使用more='*'設置省略號內容,設置more=''則不顯示省略號 如:內容列表標題截取[list:title len=10] substr=x,y 截取一段 substr截取字符串長度,傳遞兩個數字,第一個為起始位置,第二個為截取長度,如只有一個數字則截取此數字起后面全部 使用說明: 使用內容截取時要注意如果是html內容需要先去除html再截取,否則可能導致html錯位,如:\[list:content drophtml=1 len=50\] #### 5、其它格式化標簽 dropblank=1 ,去除空白字符,如換行符、制表符等 decode=1 解碼數據html字符,如果等于0.則不解碼(包括源碼已經解碼的),此標簽一般不使用 decimal=* 小數點位數 unit=* 容量單位,可以是kb,mb,gb,tb,pb,eb operate=** (V2.0.4新增)數字運算(支持+-*/%),如訪問量加1000[list:visits operate=+1000] 、序號求余[list:i operate=%2] lfield="a,b" (V2.0.5新增)限制列表數據查詢字段,提高大數據性能,如lfield="title,content" mark=1 (V2.0.5新增)對搜索結果關鍵字進行標紅,如:[search:title mark=1]; #### 6、自定義標簽 {label:***} ` 使用說明: 在后臺”全局配置>定制標簽“中定義,前臺使用對應名字進行調用即可 #### 7、面包屑標簽 `{pboot:position}` 參數說明: separator=\* 分隔符,非必填,默認為>> separatoricon=\* 分割圖標,非必填,如使用圖標字體:separatoricon='fa fa-angle-double-right' indextext=\* 首頁文本,非必填,默認為"首頁" indexicon=\* 首頁圖標,非必填,如使用圖標字體:indexicon='fa fa-home' #### 8、當前網址 `{pboot:httpurl}` 使用說明: 自適應獲取當前訪問網址,主要用于需要使用網站路徑前綴的情況,如輸出:https://www.pbootcms.com #### 9、當前頁面 `{pboot:pageurl}` 使用說明: 自適應獲取當前訪問頁面完整地址 #### 10、二維碼生成標簽 `{pboot:qrcode string=***}` 使用說明: 用于生成對應文本的二維碼圖片,可用于產品列表頁或詳情頁為每個產品生成二維碼 :{pboot:qrcode string={pboot:httpurl}{content:link}}或{pboot:qrcode string={pboot:pageurl} #### 11、程序運行時間 `{pboot:runtime@}` 使用時@去掉 使用說明: 用于輸出頁面運行時間/緩存時間,使用時請將反斜杠去掉。 #### 12、留言驗證碼開關狀態 `{pboot:checkcodestatus}` 使用說明: 用于判斷留言驗證碼是否開啟狀態,方便頁面控制驗證碼圖標的顯示。 #### 13、站點地圖 http://www.xxx.com/sitemap http://www.xxx.com`/sitemap.xml http://www.xxx.com/sitemap.txt 使用說明: 系統使用動態站點地圖,不需要生成,訪問地址即為實時地圖,輸出格式為xml 或 txt,當然你也可以打開后另存為一個地圖文件。 使用以上地址需要已經開啟偽靜態,否則域名后帶問號才可以訪問。 #### 14、圖片縮放及裁剪(v1.3.5+) 圖片縮放及裁剪總共四個參數: 參數:width=* height=* maxwidth=* ?maxheight=* 使用方式,如:[list:ico width=100] 使用說明: 四個參數可以組合使用,此處會生成改變了圖片大小的緩存圖片,緩存圖片是裁切過后的圖片,但原上傳的圖片不變。 如果不想改變大小及裁切圖片,只是想縮放顯示,那么請使用CSS進行控制即可。
                  <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>

                              哎呀哎呀视频在线观看