vuf-qin-d
v1.0.0
Published
A Vue.js component
Downloads
2
Readme
vuf-star
a component in vueJs to show star for shop
Build Setup
# npm install --save-dev [email protected]
API:
<vuf-star :size="this.starSize" :score="this.starScore">
</vuf-star>
export default () {
data(){
return: {
starSize: 36,
starScore: 3.5
}
}
}
参数:
图片大小 分数
24/26/48 1~5
评分机制:大于0.5分算1分,小于0.5分不算分