<!-- nova-lesson/pages/lesson-detail/write-comment/index.wxml -->
<nav type="back" title="撰写评论" background-color="{{activeColor ? activeColor : '#ffffff'}}"front-color="{{titleColor ? titleColor : '#000000'}}"></nav>
<view class="write_info">
    <view class="write_top">
        <view class="cencle" bind:tap="confirm" data-type="cencle">取消</view>
        <view class="submit" bind:tap="confirm" data-type="submit">提交评价</view>
    </view>
    <view class="rate_info">
        <van-rate value="{{rate}}" bind:change="onChange" size="{{ 30 }}" color="#ffd21e" void-icon="star" void-color="#eee" />
        <view class="choose">点击星星来评价</view>
    </view>
    <textarea class="textarea" data-name="content" value="{{content}}" bindinput="blur" maxlength="250" placeholder="评价内容（请输入5-250字）" placeholder-style="font-size:30rpx;"></textarea>
    <view class="c_logo">
        <view class="label">上传图片：</view>
        <upload bind:onChangeFile="changeFile" fileList="{{fileList}}" accept="all" maxCount="9" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
    </view>
</view>