Blame view

examples/routers/breadcrumb.vue 1 KB
c06e99d0   huixisheng   Support Breadcrumb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  <style>
      .demo-breadcrumb-separator{
          color: #ff5500;
          padding: 0 5px;
      }
  </style>
  <template>
  <div>
      <Breadcrumb separator="<b class='demo-breadcrumb-separator'>=></b>">
          <Breadcrumb-item href="/">Home4</Breadcrumb-item>
          <Breadcrumb-item href="/components/breadcrumb">Components</Breadcrumb-item>
          <Breadcrumb-item>Breadcrumb</Breadcrumb-item>
      </Breadcrumb>
      <Breadcrumb separator="">
          <Breadcrumb-item href="/">
              <template>Home</template>
              <template slot="separator">
                  <b style="color: #ff5500;">-></b>
              </template>
          </Breadcrumb-item>
          <Breadcrumb-item href="/components/breadcrumb">
              <template>Breadcrumb</template>
              <template slot="separator">
                  <b style="color: #ff5500;">-></b>
              </template>
          </Breadcrumb-item>
          <Breadcrumb-item>Breadcrumb</Breadcrumb-item>
      </Breadcrumb>
  </div>
  </template>
  <script>
      export default {
  
      }
  </script>