mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
parent
1edbbd18af
commit
60ecf66954
2
dist/rate/index.wxml
vendored
2
dist/rate/index.wxml
vendored
@ -12,6 +12,7 @@
|
||||
>
|
||||
<van-icon
|
||||
name="{{ index + 1 <= innerValue ? icon : voidIcon }}"
|
||||
size="{{ size }}"
|
||||
class="van-rate__icon"
|
||||
custom-class="icon-class"
|
||||
data-score="{{ index }}"
|
||||
@ -21,6 +22,7 @@
|
||||
|
||||
<van-icon
|
||||
wx:if="{{ allowHalf }}"
|
||||
size="{{ size }}"
|
||||
name="{{ index + 0.5 <= innerValue ? icon : voidIcon }}"
|
||||
class="{{ utils.bem('rate__icon', ['half']) }}"
|
||||
custom-class="icon-class"
|
||||
|
@ -21,7 +21,7 @@
|
||||
custom-class="van-rate"
|
||||
data-key="value3"
|
||||
value="{{ value3 }}"
|
||||
size="{{ 25 }}"
|
||||
size="{{ 250 }}"
|
||||
color="#ee0a24"
|
||||
void-color="#eee"
|
||||
void-icon="star"
|
||||
|
@ -12,6 +12,7 @@
|
||||
>
|
||||
<van-icon
|
||||
name="{{ index + 1 <= innerValue ? icon : voidIcon }}"
|
||||
size="{{ size }}"
|
||||
class="van-rate__icon"
|
||||
custom-class="icon-class"
|
||||
data-score="{{ index }}"
|
||||
@ -21,6 +22,7 @@
|
||||
|
||||
<van-icon
|
||||
wx:if="{{ allowHalf }}"
|
||||
size="{{ size }}"
|
||||
name="{{ index + 0.5 <= innerValue ? icon : voidIcon }}"
|
||||
class="{{ utils.bem('rate__icon', ['half']) }}"
|
||||
custom-class="icon-class"
|
||||
|
@ -12,6 +12,7 @@
|
||||
>
|
||||
<van-icon
|
||||
name="{{ index + 1 <= innerValue ? icon : voidIcon }}"
|
||||
size="{{ size }}"
|
||||
class="van-rate__icon"
|
||||
custom-class="icon-class"
|
||||
data-score="{{ index }}"
|
||||
@ -21,6 +22,7 @@
|
||||
|
||||
<van-icon
|
||||
wx:if="{{ allowHalf }}"
|
||||
size="{{ size }}"
|
||||
name="{{ index + 0.5 <= innerValue ? icon : voidIcon }}"
|
||||
class="{{ utils.bem('rate__icon', ['half']) }}"
|
||||
custom-class="icon-class"
|
||||
|
Loading…
x
Reference in New Issue
Block a user