Blame view

test/routers/dropdown.vue 1.64 KB
ab8aaf95   梁灏   add Dropdown comp...
1
  <template>
fece7a9a   梁灏   fixed #138
2
      <Dropdown>
871ed4d8   梁灏   init Tabs component
3
          <a href="javascript:void(0)">
fece7a9a   梁灏   fixed #138
4
              下拉菜单
871ed4d8   梁灏   init Tabs component
5
6
7
              <Icon type="arrow-down-b"></Icon>
          </a>
          <Dropdown-menu slot="list">
fece7a9a   梁灏   fixed #138
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
              <Dropdown-item>驴打滚</Dropdown-item>
              <Dropdown-item>炸酱面</Dropdown-item>
              <Dropdown-item disabled>豆汁儿</Dropdown-item>
              <Dropdown-item>冰糖葫芦</Dropdown-item>
              <Dropdown-item divided>北京烤鸭</Dropdown-item>
              <Dropdown-item>驴打滚</Dropdown-item>
              <Dropdown-item>炸酱面</Dropdown-item>
              <Dropdown-item disabled>豆汁儿</Dropdown-item>
              <Dropdown-item>冰糖葫芦</Dropdown-item>
              <Dropdown-item divided>北京烤鸭</Dropdown-item>
              <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">
          <i-button type="primary">
              下拉菜单
              <Icon type="arrow-down-b"></Icon>
          </i-button>
          <Dropdown-menu slot="list">
              <Dropdown-item>驴打滚</Dropdown-item>
871ed4d8   梁灏   init Tabs component
32
              <Dropdown-item>炸酱面</Dropdown-item>
fece7a9a   梁灏   fixed #138
33
              <Dropdown-item disabled>豆汁儿</Dropdown-item>
871ed4d8   梁灏   init Tabs component
34
              <Dropdown-item>冰糖葫芦</Dropdown-item>
fece7a9a   梁灏   fixed #138
35
              <Dropdown-item divided>北京烤鸭</Dropdown-item>
871ed4d8   梁灏   init Tabs component
36
37
          </Dropdown-menu>
      </Dropdown>
ab8aaf95   梁灏   add Dropdown comp...
38
39
40
  </template>
  <script>
      export default {
fece7a9a   梁灏   fixed #138
41
  
ab8aaf95   梁灏   add Dropdown comp...
42
      }
79633f3c   梁灏   update Dropdown
43
  </script>