Blame view

examples/routers/dropdown.vue 948 Bytes
ab8aaf95   梁灏   add Dropdown comp...
1
  <template>
3e4bab96   梁灏   Dropdown add tran...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
      <Dropdown transfer>
          <a href="javascript:void(0)">
              北京小吃
              <Icon type="arrow-down-b"></Icon>
          </a>
          <Dropdown-menu slot="list">
              <Dropdown-item>驴打滚</Dropdown-item>
              <Dropdown-item>炸酱面</Dropdown-item>
              <Dropdown-item>豆汁儿</Dropdown-item>
              <Dropdown placement="right-start" transfer>
                  <Dropdown-item>
                      北京烤鸭
                      <Icon type="ios-arrow-right"></Icon>
                  </Dropdown-item>
                  <Dropdown-menu slot="list">
                      <Dropdown-item>挂炉烤鸭</Dropdown-item>
                      <Dropdown-item>焖炉烤鸭</Dropdown-item>
                  </Dropdown-menu>
              </Dropdown>
              <Dropdown-item>冰糖葫芦</Dropdown-item>
          </Dropdown-menu>
      </Dropdown>
ab8aaf95   梁灏   add Dropdown comp...
24
25
26
  </template>
  <script>
      export default {
3e4bab96   梁灏   Dropdown add tran...
27
  
ab8aaf95   梁灏   add Dropdown comp...
28
      }
79633f3c   梁灏   update Dropdown
29
  </script>