index.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <view class="orderGoods">
  2. <view class="total">共{{cartInfo.length}}件商品</view>
  3. <view class="goodWrapper">
  4. <view class="item acea-row row-between-wrapper" wx:for="{{cartInfo}}" wx:key="index">
  5. <view class="pictrue">
  6. <image src="{{item.productInfo.attrInfo.image}}" wx:if="{{item.productInfo.attrInfo}}"></image>
  7. <image src="{{item.productInfo.image}}" wx:else></image>
  8. </view>
  9. <view class="text">
  10. <view class="acea-row row-between-wrapper">
  11. <view class='name line1 {{ item.reparation && "font-color"}}'
  12. >{{item.productInfo.store_name + (item.reparation && " -- 已赔付") }}</view
  13. >
  14. <view class="num">x {{item.cart_num}}</view>
  15. </view>
  16. <view class="attr line1" wx:if="{{item.productInfo.attrInfo}}">{{item.productInfo.attrInfo.suk}}</view>
  17. <view class="money font-color" wx:if="{{item.productInfo.attrInfo}}">
  18. ¥{{item.productInfo.attrInfo.price}}</view
  19. >
  20. <view class="money font-color" wx:else>¥{{item.productInfo.price}}</view>
  21. <navigator
  22. class="evaluate font-color"
  23. wx:if="{{item.is_reply==0 && evaluate==3}}"
  24. hover-class="none"
  25. url="/pages/goods_comment_con/index?unique={{item.unique}}&uni={{orderId}}"
  26. >评价</navigator
  27. >
  28. <view class="evaluate" wx:elif="{{item.is_reply==1 && evaluate==3}}">已评价</view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>