Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • test
  • routers
  • rate.vue
  • update Rate ...
    962c40bd
    update Rate
    梁灏 authored
    2017-01-17 15:30:10 +0800  
    Browse Code »
rate.vue 492 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<template>
    <div style="margin: 100px">
        {{value}}
        <br><br><br>
        <Rate :value.sync="value" :count="5" allow-half></Rate>
        <br><br><br>
        <i-button @click="value++">add</i-button>
        <i-button @click="value--">remove</i-button>
    </div>
</template>
<script>
    export default {
        props: {},
        data () {
            return {
                value: 3.8
            };
        },
        computed: {},
        methods: {}
    };
</script>