iview/test/routers/rate.vue

25 lines
582 B
Vue
Raw Normal View History

<template>
2017-01-17 16:58:03 +08:00
<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>
</template>
<script>
export default {
props: {},
data () {
2017-01-17 15:30:10 +08:00
return {
2017-01-17 16:58:03 +08:00
valueText: 3,
valueCustomText: 3.8
2017-01-17 15:30:10 +08:00
};
},
computed: {},
methods: {}
};
</script>