Blame view

examples/routers/breadcrumb.vue 1.02 KB
c06e99d0   huixisheng   Support Breadcrumb
1
2
3
4
5
6
7
8
9
  <style>
      .demo-breadcrumb-separator{
          color: #ff5500;
          padding: 0 5px;
      }
  </style>
  <template>
  <div>
      <Breadcrumb separator="<b class='demo-breadcrumb-separator'>=></b>">
32a17436   梁灏   Breadcrumb update...
10
11
          <Breadcrumb-item to="/button">Home4</Breadcrumb-item>
          <Breadcrumb-item :to="{name: 'icon', params: { userId: 123 }}">Components</Breadcrumb-item>
c06e99d0   huixisheng   Support Breadcrumb
12
13
14
15
16
17
18
19
20
          <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>
05265bee   梁灏   fixed #2214
21
          <Breadcrumb-item href="/components/page">
c06e99d0   huixisheng   Support Breadcrumb
22
23
24
25
26
27
28
29
30
31
32
33
34
35
              <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>