Blame view

examples/routers/radio.vue 1 KB
7fa943eb   梁灏   init
1
2
  <template>
      <div>
3f281d6c   梁灏   update RadioGroup
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
          <Radio-group v-model="phone">
              <Row>
                  <i-col span="8">
                      <Radio label="apple">
                          <Icon type="social-apple"></Icon>
                          <span>Apple</span>
                      </Radio>
                  </i-col>
                  <i-col span="8">
                      <Radio label="android">
                          <Icon type="social-android"></Icon>
                          <span>Android</span>
                      </Radio>
                  </i-col>
                  <i-col span="8">
                      <Radio label="windows">
                          <Icon type="social-windows"></Icon>
                          <span>Windows</span>
                      </Radio>
                  </i-col>
              </Row>
7d7221ec   梁灏   optimize Radio si...
24
          </Radio-group>
7fa943eb   梁灏   init
25
      </div>
7fa943eb   梁灏   init
26
27
  </template>
  <script>
7fa943eb   梁灏   init
28
      export default {
7fa943eb   梁灏   init
29
30
          data () {
              return {
4925f85f   梁灏   add Radio UI
31
                  phone: 'apple',
3f281d6c   梁灏   update RadioGroup
32
                  animal: '爪哇犀牛'
7fa943eb   梁灏   init
33
              }
7fa943eb   梁灏   init
34
35
          }
      }
e1134de2   jingsam   not bundle vue in...
36
  </script>