<nav type="back" background-color="#ffffff" title="评价" />
<view class="score">
  <view class="hred-top">
    <image class="hrde-top-img" src="{{order.image}}" mode="aspectFit" />
    <view class="hrde-top-right">
      <view class="right-row">{{order.name}}</view>
      <view class="right-row-cont">{{order.desc}}</view>
    </view>
  </view>
  <view class="rate">
    产品评价
    <van-rate value="{{ value }}" allow-half void-icon="star" void-color="#eee" bind:change="onChange" />
    <view class="tips" wx:if="{{value >= 5}}">非常好</view>
    <view class="tips" wx:elif="{{value >= 4}}">好</view>
    <view class="tips" wx:elif="{{value >= 3}}">一般</view>
    <view class="tips" wx:elif="{{value >= 2}}">差</view>
    <view class="tips" wx:else>极差</view>
  </view>
  <view class="content">
    <textarea maxlength="500" model:value="{{content}}" placeholder="填写您的评价!" />
  </view>
  <view class="alboum">
    <view class="alboum-text">评价图片</view>
    <upload bind:onChangeFile="changeFile" fileList="{{fileList}}" accept="all" maxCount="6" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}" />
  </view>
  <view class="anonymous">
    <van-checkbox value="{{ checked }}" bind:change="onOpen">公开</van-checkbox>
    <view class="anonymous-tip">公开头像昵称</view>
  </view>
</view>
<view class="btn" bind:tap="submit">评价</view>