Blame view

examples/routers/poptip.vue 907 Bytes
40f8606f   梁灏   add Notice component
1
  <template>
dee03ef3   梁灏   update Poptip demo
2
3
4
5
6
7
8
9
10
11
12
      <div style="margin: 200px">
          <Tabs value="name1">
              <TabPane label="标签一" name="name1">
                  <div style="overflow: auto;width: 200px;height:300px">
                      <Poptip title="提示标题" content="标签一的内容" placement="right" transfer :options="options">
                          <Button id="aaa">右边</Button>
                      </Poptip>
                  </div>
              </TabPane>
              <TabPane label="标签二" name="name2">标签二的内容</TabPane>
          </Tabs>
bf962a69   梁灏   remove Row css - ...
13
      </div>
40f8606f   梁灏   add Notice component
14
15
  </template>
  <script>
40f8606f   梁灏   add Notice component
16
      export default {
dee03ef3   梁灏   update Poptip demo
17
18
19
20
21
22
23
24
25
          data () {
              return {
                  options: {
                      modifiers: {
                          preventOverflow: {
                              boundariesElement: 'body',
                          }
                      }
                  }
2c5faf30   梁灏   init Avatar compo...
26
27
              }
          }
40f8606f   梁灏   add Notice component
28
      }
d6342fe1   jingsam   fixed ie bug
29
  </script>