index.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <nav type="back" background-color="#46a9a4" title="提交评价" />
  2. <view class="box">
  3. <view class="order-txt">
  4. <image class="order-image" src="{{order.room.images[0]}}" />
  5. <view class="order-name">
  6. <view>{{order.room.name}}</view>
  7. <view class="order-price">¥{{order.room.price}}</view>
  8. </view>
  9. </view>
  10. <view class="order-times">
  11. <view class="order-date">
  12. <view class="date">{{orderTime}}——{{Time}}</view>
  13. <view class="sky">{{day}}晚</view>
  14. </view>
  15. <view class="price">¥{{order.price}}</view>
  16. </view>
  17. </view>
  18. <view class="evaluation">
  19. <view class="score">
  20. <view class="">评价</view>
  21. <view class="evaluation-score">
  22. <van-rate value="{{ value }}" allow-half void-icon="star" void-color="#eee" color="#46a9a4" size="20" bind:change="onChange" />
  23. </view>
  24. <view>{{value}}</view>
  25. </view>
  26. <view class="goods-evaluation">商品评价</view>
  27. <textarea bindinput="blur" data-name="content" value="{{content}}" autosize placeholder="请填写商品评价内容" />
  28. </view>
  29. <view class="evaluation">
  30. <view class="evaluation-image">上传图片</view>
  31. <upload bind:onChangeFile="changeFile" fileList="{{fileList}}" accept="all" maxCount="9" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
  32. </view>
  33. <view class="bottom">
  34. <view class="submit" bindtap="submit">提交评价</view>
  35. </view>