<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國際加速解決方案。 廣告
                # 自定義站點管理端控制臺頁面樣式 開發者在開發插件的時候,有的時候需要修改后臺管理端的入口頁面(默認頁面)替代框架的默認頁面,這樣會讓系統看起來更專業。niucloud-admin框架為您提供了實現方案。 ![](https://img.kancloud.cn/fc/cb/fccb6e1e91749759bc2687cfedfe63a3_1920x970.png) <br> ***** 下面是具體的實現步驟 1. 在插件的`app\listener\SiteIndexListener.php` 監聽文件中,做如下定義定義 ``` class SiteIndexListener { public function handle() { return [ [ "name" => get_lang("dict_site_index.tourism"), "view_path" => "tourism/site_index" ], ]; } } ``` `name`字段為名字 `view_path` 視圖頁面的路徑 ![](https://img.kancloud.cn/5e/a4/5ea4e2ba0b2bf050766c53bd9d528f2d_1049x709.png) <br> 2. 在app\event.php 中,添加定義如下 ``` return [ 'listen' => [ 'SiteIndex' => ['addon\tourism\app\listener\SiteIndexListener'], ] ]; ``` ![](https://img.kancloud.cn/90/cf/90cfc776145d1cf74757183ba523ad38_1255x717.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>

                              哎呀哎呀视频在线观看