Blame view

examples/routers/poptip.vue 1.24 KB
40f8606f   梁灏   add Notice component
1
  <template>
dee03ef3   梁灏   update Poptip demo
2
3
4
      <div style="margin: 200px">
          <Tabs value="name1">
              <TabPane label="标签一" name="name1">
81f88959   梁灏   update Poptip opt...
5
6
                  <div style="width: 200px;height:300px">
                      <Poptip title="提示标题" content="标签一的内容" placement="left" transfer >
e8139eac   huanghong   update popper
7
8
                          <Button id="aaa">左边</Button>
                      </Poptip>
81f88959   梁灏   update Poptip opt...
9
                      <Poptip title="提示标题" content="标签一的内容" placement="right" transfer>
dee03ef3   梁灏   update Poptip demo
10
11
                          <Button id="aaa">右边</Button>
                      </Poptip>
81f88959   梁灏   update Poptip opt...
12
                      <Poptip title="提示标题" content="标签一的内容" placement="top" transfer>
e8139eac   huanghong   update popper
13
14
                          <Button id="aaa">上边</Button>
                      </Poptip>
81f88959   梁灏   update Poptip opt...
15
                      <Poptip title="提示标题" content="标签一的内容" placement="bottom" transfer>
e8139eac   huanghong   update popper
16
17
                          <Button id="aaa">下边</Button>
                      </Poptip>
dee03ef3   梁灏   update Poptip demo
18
19
20
21
                  </div>
              </TabPane>
              <TabPane label="标签二" name="name2">标签二的内容</TabPane>
          </Tabs>
bf962a69   梁灏   remove Row css - ...
22
      </div>
40f8606f   梁灏   add Notice component
23
24
  </template>
  <script>
40f8606f   梁灏   add Notice component
25
      export default {
dee03ef3   梁灏   update Poptip demo
26
27
28
          data () {
              return {
                  options: {
81f88959   梁灏   update Poptip opt...
29
  
dee03ef3   梁灏   update Poptip demo
30
                  }
2c5faf30   梁灏   init Avatar compo...
31
32
              }
          }
40f8606f   梁灏   add Notice component
33
      }
d6342fe1   jingsam   fixed ie bug
34
  </script>