index.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <nav type="back" background-color="#46a9a4" title="评论详情" />
  2. <view class="page-section border-trans">
  3. <view class=" page-section-spacing" wx:if="{{order}}">
  4. <view class="order-number order-row text">
  5. <view class="number ">订单号:{{order.orderNum}}</view>
  6. </view>
  7. <view class="order-content" >
  8. <view class="order-shop order-row">
  9. <image class="order-shop-img " src="{{order.images[0]}}" />
  10. <view class="order-shop-text">
  11. <view class="order-shop-name text">{{order.room.name}}</view>
  12. <view class="order-shop-name text-small grey ellipsis-2">{{order.room.address}}</view>
  13. </view>
  14. </view>
  15. <view class="order-info order-row text">
  16. <view class="time-area">{{order.startTime}}——{{order.endTime}}</view>
  17. <view class="time-day">{{order.day}}晚</view>
  18. <view class="order-price red">¥{{order.price}}</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="comment-detail">
  23. <comment-list comments="{{[order]}}"></comment-list>
  24. </view>
  25. <!-- <view class="reply page-section-spacing text" wx:if="{{order.reply}}">
  26. 商家回复:{{order.reply}}
  27. </view> -->
  28. </view>
  29. <view class="footer" wx:if="{{!order.reply}}">
  30. <van-button class="btn" size="large" color="#46a9a4" bindtap="showModal" round><text class="black">回复</text></van-button>
  31. </view>
  32. <modal width="90%" height="700rpx" show="{{showReplyModal}}" closeable title="回复评论" bind:close="closeModal" bind:enter="replyComment">
  33. <view slot="content" class="reply-modal">
  34. <textarea name="" id="" cols="30" rows="12" bind:input="replyChange" class="reply-textarea">{{reply}}</textarea>
  35. </view>
  36. </modal>