Blame view

examples/routers/menu.vue 1.57 KB
e05d7289   梁灏   update Menu
1
  <template>
b71a171d   梁灏   fixed Menu bug in...
2
      <Menu active-name="1-2" :open-names="['1']" theme="dark">
444907c4   梁灏   update Vue
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
          <Submenu name="1">
              <template slot="title">
                  <Icon type="ios-analytics"></Icon>
                  Navigation One
              </template>
              <MenuGroup title="Item 1">
                  <MenuItem name="1-1">Option 1</MenuItem>
                  <MenuItem name="1-2">Option 2</MenuItem>
              </MenuGroup>
              <MenuGroup title="Item 2">
                  <MenuItem name="1-3">Option 3</MenuItem>
                  <MenuItem name="1-4">Option 4</MenuItem>
              </MenuGroup>
          </Submenu>
          <Submenu name="2">
              <template slot="title">
                  <Icon type="ios-filing"></Icon>
                  Navigation Two
              </template>
              <MenuItem name="2-1">Option 5</MenuItem>
              <MenuItem name="2-2">Option 6</MenuItem>
c708835c   梁灏   update Menu to su...
24
              <Submenu name="3">
444907c4   梁灏   update Vue
25
26
27
                  <template slot="title">Submenu</template>
                  <MenuItem name="3-1">Option 7</MenuItem>
                  <MenuItem name="3-2">Option 8</MenuItem>
c708835c   梁灏   update Menu to su...
28
              </Submenu>
444907c4   梁灏   update Vue
29
30
31
32
33
34
35
36
37
38
39
40
          </Submenu>
          <Submenu name="4">
              <template slot="title">
                  <Icon type="ios-gear"></Icon>
                  Navigation Three
              </template>
              <MenuItem name="4-1">Option 9</MenuItem>
              <MenuItem name="4-2">Option 10</MenuItem>
              <MenuItem name="4-3">Option 11</MenuItem>
              <MenuItem name="4-4">Option 12</MenuItem>
          </Submenu>
      </Menu>
e05d7289   梁灏   update Menu
41
42
43
  </template>
  <script>
      export default {
444907c4   梁灏   update Vue
44
45
  
      }
fc3ffbe0   梁灏   publish 0.9.10-rc-2
46
  </script>