index.wxml 1.5 KB

12345678910111213141516171819202122232425
  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"}}'>{{item.productInfo.store_name +
  12. (item.reparation && " -- 已赔付") }}</view>
  13. <view class='num'>x {{item.cart_num}}</view>
  14. </view>
  15. <view class='attr line1' wx:if="{{item.productInfo.attrInfo}}">{{item.productInfo.attrInfo.suk}}</view>
  16. <view class='money font-color' wx:if="{{item.productInfo.attrInfo}}">
  17. ¥{{item.productInfo.attrInfo.price}}</view>
  18. <view class='money font-color' wx:else>¥{{item.productInfo.price}}</view>
  19. <navigator class='evaluate font-color' wx:if='{{item.is_reply==0 && evaluate==3}}' hover-class="none"
  20. url='/pages/goods_comment_con/index?unique={{item.unique}}&uni={{orderId}}'>评价</navigator>
  21. <view class='evaluate' wx:elif='{{item.is_reply==1 && evaluate==3}}'>已评价</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>