tiny-vue/examples/sites/demos/pc/app/rate/threshold-value.vue

25 lines
347 B
Vue

<template>
<tiny-rate
v-model="rate1"
:low-threshold="1"
:high-threshold="4"
show-text
:colors="['#FADB14', '#ff7a45', '#ffa940']"
></tiny-rate>
</template>
<script>
import { Rate } from '@opentiny/vue'
export default {
components: {
TinyRate: Rate
},
data() {
return {
rate1: 3
}
}
}
</script>