<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 功能強大 支持多語言、二開方便! 廣告
                # 模板標簽 作為內容管理框架,ThinkCMF允許app開發者自定義任意標簽,ThinkCMF標簽使用花括號作為定界符,如{$name}。 ThinkCMF系統內置的標簽有: `<php></php>`用來在模板中執行php的代碼,示例代碼: ```html <php>echo "這個是在模板中執行的php程序"</php> ``` `<foreach></foreach>`遍歷標簽,示例代碼: ```html <php>$title=array("簡介","產品","新聞");</php> //遍歷一個一維數組 <foreach name='title' item='vo'> <div style="樣式"> <a href="#">{$vo}</a> </div> </foreach> <php> //遍歷一個二維數組 $article = array ( "0"=>array ( "title"=>"title1", "content"=>"content1", "date"=>"date1", ), "1"=>array ( "title"=>"title2", "content"=>"content2", "date"=>"date2", ) ); </php> <foreach name='article' item='vo'> <div style="樣式"> <a href="#">{$vo.title}</a> <p>{$vo.content}</p> </div> </foreach> ``` `<volist></volist>`按條件遍歷,示例代碼: ```html <php> //遍歷一個二維數組 $article = array ( "0"=>array ( "title"=>"title1", "content"=>"content1", "date"=>"date1", ), "1"=>array ( "title"=>"title2", "content"=>"content2", "date"=>"date2", ) ); </php> <volist name='article' id='vo'> <div style="樣式"> <a href="#">{$vo.title}</a> <p>{$vo.content}</p> </div> </volist> ``` `<for></for>`循環標簽,實例代碼: ```html <for start="開始值" end="結束值" name="循環變量名" > 循環語句。。。 </for> ```
                  <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>

                              哎呀哎呀视频在线观看