- <view class="cat-rate custom-class">
- <view class="cat-rate__level">
- <block wx:for="{{ count }}" wx:key="key">
- <text class="cat-icon {{ index < value ? 'active' : '' }}" bindtap="onChange" data-index="{{ index }}"></text>
- </block>
- </view>
- <view class="cat-rate__label" hidden>{{ label[value - 1] }}</view>
- </view>
|