Blame view

local/routers/notice.vue 1.08 KB
7570318b   梁灏   fixed Tooltip pla...
1
2
  <style>
      .tooltip_out{
4dfacfca   梁灏   publish Tooltip c...
3
          padding: 150px;
7570318b   梁灏   fixed Tooltip pla...
4
5
      }
      body{
bf962a69   梁灏   remove Row css - ...
6
          height: 1000px;
7570318b   梁灏   fixed Tooltip pla...
7
8
9
          padding: 10px;
      }
  </style>
40f8606f   梁灏   add Notice component
10
  <template>
7570318b   梁灏   fixed Tooltip pla...
11
      <div class="tooltip_out">
bf962a69   梁灏   remove Row css - ...
12
          123
7570318b   梁灏   fixed Tooltip pla...
13
      </div>
bf962a69   梁灏   remove Row css - ...
14
      <div class="tooltip_out">
4dfacfca   梁灏   publish Tooltip c...
15
16
          <Tooltip content="Tooltip 文字提示" placement="top">
              <strong><a href="#">Link</a></strong>
755df66c   梁灏   update Tooltip
17
          </Tooltip>
bf962a69   梁灏   remove Row css - ...
18
19
20
21
22
23
24
25
26
27
28
29
30
      </div>
      <Row>
          <i-col span="12">
              <Tooltip content="Top Left 提示文字" placement="top-start">
                  <Button>上面的左面</Button>
              </Tooltip>
          </i-col>
          <i-col span="12">
              <Tooltip content="Top Left 提示文字" placement="top-start">
                  <Button>上面的左面</Button>
              </Tooltip>
          </i-col>
      </Row>
40f8606f   梁灏   add Notice component
31
32
  </template>
  <script>
bf962a69   梁灏   remove Row css - ...
33
      import { Tooltip, Button, Row, iCol } from 'iview';
40f8606f   梁灏   add Notice component
34
35
  
      export default {
bf962a69   梁灏   remove Row css - ...
36
          components: { Tooltip, Button, Row, iCol },
40f8606f   梁灏   add Notice component
37
38
39
40
41
          props: {
          
          },
          data () {
              return {
dce3e753   梁灏   add Tooltip compo...
42
  
40f8606f   梁灏   add Notice component
43
44
45
46
47
48
              }
          },
          computed: {
          
          },
          methods: {
40f8606f   梁灏   add Notice component
49
  
40f8606f   梁灏   add Notice component
50
51
52
          }
      }
  </script>