<view class="bar-bottom sub-evaluate button.button-warn sub" bindtap="submit">提交评论</view>
<view class="page{{datas.atype == 1 ? ' product':''}}">
<block wx:if="{{datas.atype == 0}}">
  <view class="modular modular-pad">
    <view class="modal-label">
      <view class="title">您对此次活动的评价</view>
        <view class="comment-content">
          <view class="star" data-type='star' bindtap="bindstar">
            <image src="{{star >= 1?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="1" />
            <image src="{{star >= 2?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="2" />
            <image src="{{star >= 3?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="3" />
            <image src="{{star >= 4?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="4" />
            <image src="{{star == 5?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="5" />
          </view>
        <view class="star-tit">{{star == 1 ?'非常不满意':star == 2 ?'不满意':star==3?'一般':star==4?'满意':'非常满意'}}</view>
      </view>
    </view>
    <view class="modal-label">
      <view class="title">您对宝大大（客服）这次服务的评价</view>
        <view class="comment-content">
          <view class="star" bindtap="bindstar">
          <image src="{{cusStar >= 1?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="1" />
          <image src="{{cusStar >= 2?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="2" />
          <image src="{{cusStar >= 3?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="3" />
          <image src="{{cusStar >= 4?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="4" />
          <image src="{{cusStar == 5?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="5" />
        </view>
        <view class="star-tit">{{cusStar == 1 ?'非常不满意':cusStar == 2 ?'不满意':cusStar==3?'一般':cusStar==4?'满意':'非常满意'}}</view>
      </view>
    </view>
  </view>
</block>

  <view class="modular modular-pad">
    <view class="modal-label">
      <block wx:if="{{datas.atype == 0}}">
        <view class="recommend-title">综合您和孩子体验，您有多大可能推荐活动给您的朋友？请选择</view>
        <view class="recommend-level"><text>肯定不推荐</text><text>肯定推荐</text></view>
        <view class="recommend">
          <block wx:for="{{recommendArr}}" wx:key="*this">
          <view class='recommend-item {{recomLevel == item ? "active" : ""}}' bindtap='recommend' data-number='{{item}}'>{{item}}</view>
          </block>
        </view>
        <view class="star-option">
          <view class="option {{item.cet?'cet':'opt'}}" wx:for="{{one}}" wx:key="unique" hidden="{{star == 3 || star == 4 || star == 5}}" bindtap="chooseOpt" data-index="{{index}}">{{item.txt}}</view>
          <view class="option {{item.cet?'cet':'opt'}}" wx:for="{{two}}" wx:key="unique" hidden="{{star == 1 || star == 2}}"  bindtap="chooseOpt" data-index="{{index}}">{{item.txt}}</view>
        </view>
      </block>
      <textarea type='text' class='textarea' cursor-spacing="90" placeholder="{{datas.atype == '0'?'参加活动后孩子有什么变化心得，您对活动感受（请认真填写，每次评价后有幸运刮奖哦）':'请输入对商品的评价'}}" placeholder-class="place" value="{{content}}" maxlength="10000" bindblur="bindblur" bindinput='bindblur'></textarea>
      <view class="images">
        <view class="imgbox" wx:for="{{uploadImg}}" wx:key="unique">
          <image class="images-col" src="{{item}}" mode="aspectFill" />
          <view class="delBox" bindtap="delImg" data-index="{{index}}"><view class="del"></view></view>
        </view>
        <view class="add-box" bindtap="chooseImg" hidden="{{uploadImg.length >= 8}}">
          <text class='icon-mini-error'></text>
        </view>
      </view>
      <view class="tip">注：最大仅支持上传10M的图片</view>
    </view>
  </view>
</view>