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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # index.php里 ## 輸出語法: ## $this->assign('自定義名稱',變量或者常量); ``` $this->assign('data',$data); //這里的'data' 在.html文件里為{$data} ``` ## 代碼案例: ``` <?php namespace app\index\controller; use think\Controller; use think\Db; use app\index\model\Maik; use app\index\controller\Admin; class Index extends controller { public function index(){ $data=new Maik(); $data=$data->usenameinfo(); $this->assign('data',$data); //輸出 return $this->fetch(); //渲染到模板 } } ``` ![](https://img.kancloud.cn/1b/53/1b53dc36d38b31f26c01a81d8d930849_813x550.png) # idnex.html里 ``` {$data.name} .語法是數組輸出 {$data:name} : 語法是輸出對象 ``` ``` <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>第一個頁面</title> </head> <body> <div>你好呀</div> <div> <p>姓名:{$data.name}</p> <p>年齡:{$data.age}</p> <p>職業:</p> </div> </body> </html> ``` ![](https://img.kancloud.cn/af/28/af284c28c3a1e02cd63368a49513776c_684x496.png)
                  <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>

                              哎呀哎呀视频在线观看