index.wxml 1011 B

1234567891011121314151617181920
  1. <view style="background-color:#fff;padding-top:30rpx;">
  2. <block wx:for='{{data}}' wx:key='{{index}}'>
  3. <view class="top {{index==5?'border':''}}">
  4. <view style="width:260rpx;font-size:26rpx;color:#666;">{{item.title}}</view>
  5. <view class="assess-img">
  6. <view class="assess">
  7. <block wx:for='{{items}}' wx:for-index='ind' wx:for-item='it' wx:key='{{ind}}'>
  8. <image catchtap="assess" wx:if='{{ind<=item.ind}}' data-index="{{index}}" data-ind='{{ind}}' src="/images/ypj.png"></image>
  9. <image catchtap="assess" wx:else data-index="{{index}}" data-ind='{{ind}}' src="/images/wpj.png"></image>
  10. </block>
  11. </view>
  12. <view class="text">{{item.name}}</view>
  13. </view>
  14. </view>
  15. </block>
  16. <view class="content">
  17. <textarea class="textarea" bindinput="textarea" placeholder-class="place" placeholder="您对此次服务有什么宝贵建议,请留在这里吧 ~"></textarea>
  18. </view>
  19. </view>
  20. <button catchtap="submit">提交</button>