index.wxml 1.2 KB

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