evaluate.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view>
  2. <view class="good-card">
  3. <view class="good">
  4. <image src="{{order_goods.goods_images}}"></image>
  5. <text>{{order_goods.name+' '+order_goods.option_str}}</text>
  6. </view>
  7. <view class="evaluate-content">
  8. <textarea bindinput="textinput" foucs="{{focus}}" maxlength="5000" Class="placeholder-class" placeholder="{{placeholder}}"></textarea>
  9. <view class="img-group">
  10. <view class="img-item" wx:if="{{imgGroup.length}}" wx:for="{{imgGroup}}" wx:key="id">
  11. <view bindtap="choseImg" class="close" data-idx="{{index}}">
  12. <image src="../../images/img-close.png"></image>
  13. </view>
  14. <image bindtap="bigImg" data-list="{{imgGroup}}" data-src="{{item}}" mode="aspectFill" src="{{item}}"></image>
  15. <view class="progress {{progressList[index]===100?'hide-progress':''}}" style="display:none;">
  16. <span style="width: {{progressList[index]}}%;"></span>
  17. </view>
  18. </view>
  19. <view bindtap="addImg" class="img-item img-add" wx:if="{{imgGroup.length<imgMax}}">
  20. <image class="cameraImg" src="../../images/icon-camera.png"></image>
  21. <text>{{imgGroup.length?imgGroup.length+'/'+imgMax:'上传图片'}}</text>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class='desc' wx:if="{{open_comment_gift==1}}">
  27. <view class='h2'>说明:</view>
  28. <view class="wxParse">
  29. <parser html="{{comment_gift_publish}}" />
  30. </view>
  31. </view>
  32. <label class="submit {{isIpx?'mb20':''}}">提交评价
  33. <button hidden bindtap="sub_comment"></button>
  34. </label>
  35. </view>