<!--components/star/star.wxml-->
<view class="starList">
  <view class="starItem {{starType}}" wx:for="{{starsList[starType]}}" id="{{index}}" wx:key="{{starKey+index}}">
    <!-- <view wx:if="{{score-(index+1) >= 0}}">
      <image data-index="{{score%(index+1)}}" style="width: 20rpx;height: 40rpx;" src="{{score-(index+1) >= 0 ? item.bgfImgL : item.bgImgL}}"></image>
      <image style="width: 20rpx;height: 40rpx;" src="{{score-(index+1) >= 0 ? item.bgfImgR : item.bgImgR}}"></image>
    </view>
    <view wx:else>
      <image data-index="{{score%(index+1)}}" style="width: 20rpx;height: 40rpx;" src="{{score-(index+1) > -1 ? item.bgfImgL : item.bgImgL}}"></image>
      <image style="width: 20rpx;height: 40rpx;" src="{{score-(index+1) >= 0 ? item.bgfImgR : item.bgImgR}}"></image>
    </view> -->
    <!-- style="width: {{starType==='cStart'?30:40}}rpx;height: 40rpx;" -->
    <image bindtap="handleClick" data-score="{{index+1}}" style="width:{{size}};height:{{size}};" src="{{score-(index+1)>=0?item.bgImg_all:score-(index+1)>-1?item.bgImg_half:item.bgImg}}"></image>
  </view>
</view>