ShopCommentOrder.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="shop-comment-order-container">
  3. <view class="order-no-status comment-wrapper">
  4. <view class="comment">
  5. <text class="comment-title">我的评论:</text>
  6. {{ item.content }}
  7. </view>
  8. <view class="comment" v-if="item.commentGoods1">
  9. <text class="comment-title">我的追评:</text>
  10. {{ item.commentGoods1 && item.commentGoods1.content }}</view
  11. >
  12. <view class="comment" v-if="item.commentGoods2">
  13. <text class="comment-title">商家回复:</text>
  14. {{ item.commentGoods2.content }}</view
  15. >
  16. </view>
  17. <view class="goods-list" @click="handleToViewOrderDetail(item)">
  18. <view class="goods-item" style="margin-bottom: 0">
  19. <image class="goods-img" :src="item.dtsTfGoods.picUrl" mode="" />
  20. <view class="info">
  21. <view class="name">{{ item.dtsTfGoods.name }}</view>
  22. <view class="good-sp-pr">
  23. <view class="pr"
  24. >¥{{ item.dtsTfGoods.counterPrice }} <text v-if="item.dtsTfGoods.unit">/ {{ item.dtsTfGoods.unit }}</text></view
  25. >
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="goods-ops" style="justify-content: flex-end">
  31. <view class="btns">
  32. <button v-if="!item.commentGoods1" @click="handleCommentAgain(item)" class="uni-btn">追加评价</button>
  33. <button v-else class="uni-btn" style="background-color: transparent; color: #3d3d3d">已追评</button>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {};
  40. </script>
  41. <style lang="scss" scoped></style>