update Rate #3853
This commit is contained in:
parent
b9ecbd5384
commit
29a2cb0c60
1 changed files with 8 additions and 12 deletions
|
@ -11,18 +11,14 @@
|
||||||
<span :class="[prefixCls + '-star-content']" type="half"></span>
|
<span :class="[prefixCls + '-star-content']" type="half"></span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="character !== ''">
|
<span :class="[prefixCls + '-star-first']" type="half">
|
||||||
<span :class="[prefixCls + '-star-first']" type="half">{{ character }}</span>
|
<template v-if="character !== ''">{{ character }}</template>
|
||||||
<span :class="[prefixCls + '-star-second']">{{ character }}</span>
|
<i v-else :class="iconClasses" type="half"></i>
|
||||||
</template>
|
</span>
|
||||||
<template v-else>
|
<span :class="[prefixCls + '-star-second']">
|
||||||
<span :class="[prefixCls + '-star-first']" type="half">
|
<template v-if="character !== ''">{{ character }}</template>
|
||||||
<i :class="iconClasses" type="half"></i>
|
<i v-else :class="iconClasses"></i>
|
||||||
</span>
|
</span>
|
||||||
<span :class="[prefixCls + '-star-second']">
|
|
||||||
<i :class="iconClasses"></i>
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div :class="[prefixCls + '-text']" v-if="showText" v-show="currentValue > 0">
|
<div :class="[prefixCls + '-text']" v-if="showText" v-show="currentValue > 0">
|
||||||
|
|
Loading…
Add table
Reference in a new issue