Rate component can be used to show evaluation, and it provide a quick rating operation on something.
The simplest usage.
<rate />
Set the disabled
attribute to disable mouse interaction.
<rate value="2" disabled="disabled" />
The default number of stars is 5, you can set it with the count
attribute.
<rate count="10" />
Replace the default star to other iconfont.
<rate icon="heart" void-icon="heart-outline" />
<w class="mb-2" />
<rate icon="emoticon-happy" void-icon="emoticon-neutral-outline" />
Replace the default star to other character like alphabet, digit or even Chinese word.
<rate character="A" />
<w class="mb-2" />
<rate character="好" />