Blame view

examples/routers/button.vue 5 KB
7fa943eb   梁灏   init
1
  <template>
d47ea998   梁灏   support Button an...
2
      <div>
b6af2c2a   梁灏   update Button styles
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
          <Button>Default</Button>
          <Button type="primary">Primary</Button>
          <Button type="ghost">Ghost</Button>
          <Button type="dashed">Dashed</Button>
          <Button type="text">Text</Button>
          <br><br>
          <Button type="info">Info</Button>
          <Button type="success">Success</Button>
          <Button type="warning">Warning</Button>
          <Button type="error">Error</Button>
          <br><br>
          <Button type="primary" shape="circle" icon="ios-search"></Button>
          <Button type="primary" icon="ios-search">Search</Button>
          <Button type="primary" shape="circle" icon="ios-search">Search</Button>
          <Button type="primary" shape="circle">Circle</Button>
          <br><br>
          <Button type="ghost" shape="circle" icon="ios-search"></Button>
          <Button type="ghost" icon="ios-search">Search</Button>
          <Button type="ghost" shape="circle" icon="ios-search">Search</Button>
          <Button type="ghost" shape="circle">Circle</Button>
          <br><br>
          <Button>Default</Button>
          <Button disabled>Default(Disabled)</Button>
          <br>
          <Button type="primary">Primary</Button>
          <Button type="primary" disabled>Primary(Disabled)</Button>
          <br>
          <Button type="ghost">Ghost</Button>
          <Button type="ghost" disabled>Ghost(Disabled)</Button>
          <br>
          <Button type="dashed">Dashed</Button>
          <Button type="dashed" disabled>Dashed(Disabled)</Button>
          <br>
          <Button type="text">Text</Button>
          <Button type="text" disabled>Text(Disabled)</Button>
          <br><br>
  
          <br><br>
d47ea998   梁灏   support Button an...
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
          <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
132
      </div>
7fa943eb   梁灏   init
133
134
  </template>
  <script>
7fa943eb   梁灏   init
135
      export default {
d6342fe1   jingsam   fixed ie bug
136
  
7fa943eb   梁灏   init
137
138
      }
  </script>