Blame view

src/ui/vant-weapp/rate/index.wxml 385 Bytes
simon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<view
  class="van-rate custom-class"
  bind:touchmove="onTouchMove"
>
  <van-icon
    wx:for="{{ list }}"
    wx:key="index"
    class="van-rate__item"
    custom-class="icon-class"
    size="{{ size }}px"
    data-index="{{ index }}"
    name="{{ item ? icon : voidIcon }}"
    color="{{ disabled ? disabledColor : item ? color : voidColor }}"
    bind:click="onSelect"
  />
</view>