<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國際加速解決方案。 廣告
                命名視圖可以用來代替frame框架,實現在指定view里展示內容。 在多級導航下效果非常好。 下面出示個簡單demo ![](images/Video_2018-10-09_092115.gif) 完整代碼 ``` <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="https://unpkg.com/vue/dist/vue.js"></script> <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script> <style type="text/css"> .router-link{margin: 10px;} .view-box{display: flex;} .view-item{flex: 1;padding: 20px;border-style: solid;border-width: 1px;margin: 0 10px;} .view-item:nth-of-type(1){border-color: red;} .view-item:nth-of-type(2){border-color: blue;} .view-item:nth-of-type(3){border-color: orange;} </style> </head> <body> <div id="js_app"> <div class="router-link"> <router-link to="/foo">Foo</router-link> <router-link to="/bar">Bar</router-link> </div> <div class="view-box"> <div class="view-item"> <p>默認視頻</p> <router-view></router-view> </div> <div class="view-item"> <p>view_one</p> <router-view name="view_one"></router-view> </div> <div class="view-item"> <p>view_two</p> <router-view name="view_two"></router-view> </div> </div> </div> <script type="text/javascript"> const Foo = { template: '<strong>foo</strong>' }; const Bar = { template: '<strong>bar</strong>', beforeRouteEnter(to, from, next) { next(); } }; const routes = [ { path: '/', components: { default: Foo } }, { path: '/foo', components: { view_one: Foo } }, { path: '/bar', components: { view_two: Bar } } ]; const router = new VueRouter({ routes }); var app = new Vue({ router }).$mount('#js_app'); </script> </body> </html> ```
                  <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>

                              哎呀哎呀视频在线观看