Blame view

test/routers/dropdown.vue 1.02 KB
ab8aaf95   梁灏   add Dropdown comp...
1
  <template>
68e9b100   梁灏   update DatePicker
2
      <Dropdown trigger="click">
871ed4d8   梁灏   init Tabs component
3
          <a href="javascript:void(0)">
68e9b100   梁灏   update DatePicker
4
              北京小吃
871ed4d8   梁灏   init Tabs component
5
6
7
              <Icon type="arrow-down-b"></Icon>
          </a>
          <Dropdown-menu slot="list">
fece7a9a   梁灏   fixed #138
8
9
              <Dropdown-item>驴打滚</Dropdown-item>
              <Dropdown-item>炸酱面</Dropdown-item>
68e9b100   梁灏   update DatePicker
10
11
12
13
14
15
16
17
18
19
20
              <Dropdown-item>豆汁儿</Dropdown-item>
              <Dropdown placement="right-start">
                  <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>
fece7a9a   梁灏   fixed #138
21
              <Dropdown-item>冰糖葫芦</Dropdown-item>
871ed4d8   梁灏   init Tabs component
22
23
          </Dropdown-menu>
      </Dropdown>
ab8aaf95   梁灏   add Dropdown comp...
24
25
26
  </template>
  <script>
      export default {
fc640135   梁灏   Tabs add on-visib...
27
28
29
30
31
          methods: {
              v (data) {
                  console.log(data)
              }
          }
ab8aaf95   梁灏   add Dropdown comp...
32
      }
79633f3c   梁灏   update Dropdown
33
  </script>