2018-03-21 07:45:01 +00:00
|
|
|
<cn>
|
|
|
|
#### 其他字符
|
|
|
|
可以将星星替换为其他字符,比如字母,数字,字体图标甚至中文。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Other Character
|
|
|
|
Replace the default star to other character like alphabet, digit, iconfont or even Chinese word.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-03-21 07:45:01 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<a-rate allowHalf>
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-icon slot="character" type="heart" />
|
2018-03-21 07:45:01 +00:00
|
|
|
</a-rate>
|
|
|
|
<br />
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-rate character="A" allowHalf style="fontSize: 36px" />
|
2018-03-21 07:45:01 +00:00
|
|
|
<br />
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-rate character="好" allowHalf />
|
2018-03-21 07:45:01 +00:00
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
```
|