1

我想在我的导航栏中左对齐以下项目:服务、支持和登录。

这是代码:

<md-whiteframe md-elevation = "1" class = "main-toolbar">
  <md-theme md-name = "teal" >

   <md-toolbar class = "navigation md-primary"  >


<router-link class = "nav-link " :to = " { name: 'Home' }">levi</router-link>



    <router-link class = "nav-link" :to = "{ name: 'Product' }">
        Service 
    </router-link> 

         <router-link class = "nav-link" :to = "{ name: 'Support' }">
        Support
    </router-link>

        <router-link class = "nav-link" :to = "{ name: 'Sign' }">
        Sign in
    </router-link>

</md-toolbar>
    </md-theme>

       </md-whiteframe>

工具栏

上图是现在的样子。我想左对齐除列维项目之外的所有内容。

4

1 回答 1

0

在 Service router-link 之前添加以下代码:

<v-spacer></v-spacer>
于 2018-09-26T02:58:01.697 回答