Blame view

examples/routers/dropdown.vue 1.2 KB
ab8aaf95   梁灏   add Dropdown comp...
1
  <template>
2d74744d   梁灏   update Dropdown
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
      <div>
          <Dropdown>
              <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 disabled>豆汁儿</Dropdown-item>
                  <Dropdown-item>冰糖葫芦</Dropdown-item>
                  <Dropdown-item divided>北京烤鸭</Dropdown-item>
              </Dropdown-menu>
          </Dropdown>
          <Dropdown style="margin-left: 20px">
              <Button type="primary">
                  下拉菜单
                  <Icon type="arrow-down-b"></Icon>
              </Button>
              <Dropdown-menu slot="list">
                  <Dropdown-item>驴打滚</Dropdown-item>
                  <Dropdown-item>炸酱面</Dropdown-item>
                  <Dropdown-item disabled>豆汁儿</Dropdown-item>
                  <Dropdown-item>冰糖葫芦</Dropdown-item>
                  <Dropdown-item divided>北京烤鸭</Dropdown-item>
              </Dropdown-menu>
          </Dropdown>
      </div>
ab8aaf95   梁灏   add Dropdown comp...
30
31
32
  </template>
  <script>
      export default {
b1c118d8   梁灏   support Dropdown
33
  
ab8aaf95   梁灏   add Dropdown comp...
34
      }
79633f3c   梁灏   update Dropdown
35
  </script>