Blame view

examples/routers/button.vue 3.42 KB
7fa943eb   梁灏   init
1
  <template>
d47ea998   梁灏   support Button an...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
      <div>
          <h4>基本</h4>
          <br><br>
          <Button-group>
              <Button>取消</Button>
              <Button type="primary">确定</Button>
          </Button-group>
          <Button-group>
              <Button disabled>昨日</Button>
              <Button disabled>今日</Button>
              <Button disabled>明日</Button>
          </Button-group>
          <Button-group>
              <Button type="primary">L</Button>
              <Button>M</Button>
              <Button type="ghost">M</Button>
              <Button type="dashed">R</Button>
          </Button-group>
          <br><br>
          <h4>配合图标</h4>
          <br><br>
          <Button-group>
              <Button type="primary">
                  <Icon type="chevron-left"></Icon>
                  前进
              </Button>
              <Button type="primary">
                  后退
                  <Icon type="chevron-right"></Icon>
              </Button>
          </Button-group>
          <Button-group>
              <Button type="primary" icon="ios-skipbackward"></Button>
              <Button type="primary" icon="ios-skipforward"></Button>
          </Button-group>
          <Button-group>
              <Button type="ghost" icon="ios-color-wand-outline"></Button>
              <Button type="ghost" icon="ios-sunny-outline"></Button>
              <Button type="ghost" icon="ios-crop"></Button>
              <Button type="ghost" icon="ios-color-filter-outline"></Button>
          </Button-group>
          <br><br>
          <h4>圆角</h4>
          <br><br>
          <Button-group shape="circle">
              <Button type="primary">
                  <Icon type="chevron-left"></Icon>
                  前进
              </Button>
              <Button type="primary">
                  后退
                  <Icon type="chevron-right"></Icon>
              </Button>
          </Button-group>
          <Button-group shape="circle">
              <Button type="primary" icon="ios-skipbackward"></Button>
              <Button type="primary" icon="ios-skipforward"></Button>
          </Button-group>
          <Button-group shape="circle">
              <Button type="ghost" icon="ios-color-wand-outline"></Button>
              <Button type="ghost" icon="ios-sunny-outline"></Button>
              <Button type="ghost" icon="ios-crop"></Button>
              <Button type="ghost" icon="ios-color-filter-outline"></Button>
          </Button-group>
          <br><br>
          <h4>尺寸</h4>
          <br><br>
          <Button-group size="large">
              <Button type="ghost">Large</Button>
              <Button type="ghost">Large</Button>
          </Button-group>
          <Button-group>
              <Button type="ghost">Default</Button>
              <Button type="ghost">Default</Button>
          </Button-group>
          <Button-group size="small">
              <Button type="ghost">Small</Button>
              <Button type="ghost">Small</Button>
          </Button-group>
          <br><br>
          <Button-group size="large" shape="circle">
              <Button type="ghost">Large</Button>
              <Button type="ghost">Large</Button>
          </Button-group>
          <Button-group shape="circle">
              <Button type="ghost">Default</Button>
              <Button type="ghost">Default</Button>
          </Button-group>
          <Button-group size="small" shape="circle">
              <Button type="ghost">Small</Button>
              <Button type="ghost">Small</Button>
          </Button-group>
8a83e7c4   梁灏   update Form
94
      </div>
7fa943eb   梁灏   init
95
96
  </template>
  <script>
7fa943eb   梁灏   init
97
      export default {
d6342fe1   jingsam   fixed ie bug
98
  
7fa943eb   梁灏   init
99
100
      }
  </script>