rating.wxml 374 B

1234567891011
  1. <view>
  2. <view class="rating-title" wx:for="{{5}}">
  3. <view class="title">{{title}}</view>
  4. <view class="xing-view">
  5. <view wx:for="{{5}}" wx:key="index" class="xing-box">
  6. <image wx:if="{{item >= score}}" src="/images/xing.png"></image>
  7. <image wx:if="{{item < score}}" src="/images/cur-xing.png"></image>
  8. </view>
  9. </view>
  10. </view>
  11. </view>