Blame view

test/routers/rate.vue 582 Bytes
49d380cf   梁灏   init Rate component
1
  <template>
6bfdf8f8   梁灏   release 0.9.16
2
3
4
5
6
7
8
9
10
11
      <Row>
          <i-col span="12">
              <Rate show-text :value.sync="valueText"></Rate>
          </i-col>
          <i-col span="12">
              <Rate show-text :value.sync="valueCustomText">
                  <span style="color: #f5a623">{{ valueCustomText }}</span>
              </Rate>
          </i-col>
      </Row>
49d380cf   梁灏   init Rate component
12
13
14
15
16
  </template>
  <script>
      export default {
          props: {},
          data () {
962c40bd   梁灏   update Rate
17
              return {
6bfdf8f8   梁灏   release 0.9.16
18
19
                  valueText: 3,
                  valueCustomText: 3.8
962c40bd   梁灏   update Rate
20
              };
49d380cf   梁灏   init Rate component
21
22
23
24
25
          },
          computed: {},
          methods: {}
      };
  </script>