<view class='wrap {{inputFocus?"focus":""}}' wx:if='{{show}}'>
  <view class='icon-hidden' bindtap='close'></view>
  <view class="page" >
    <view class='activity' wx:if="{{!detailStatus}}">
      <view class='activity-name'>
        <view class="title subtitleColor">感谢儿童参加</view>
        <view class="title">{{title}}</view>
        <text class='sname'>{{sname}}</text>
      </view>
      <view class="title subtitleColor ">您的评价让我们做的更好！</view>
    </view>
    
    <view class="title">您对此次活动的总体评价</view>
    <view class="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>
    <!-- detail start -->
    <view wx:if="{{detailStatus}}">
      <view  class="star-tit">{{star == 1 ?'非常不满意':star == 2 ?'不满意':star==3?'一般':star==4?'满意':'非常满意'}}</view>
      <view class="recommend-title">综合您和孩子体验，您有多大可能推荐活动给您的朋友？请选择</view>
      <view class="recommend-level"><text>肯定不推荐</text><text>肯定推荐</text></view>
      <view class="recommend">
        <view class='recommend-item {{recomLevel==item?"subtitleColor-bg":""}}' wx:for="{{recommendArr}}" wx:key="{{item}}" bindtap='recommend' data-number='{{item}}' >{{item}}</view>
      </view>
      <!-- 文案 start -->
      <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>
    <!-- 文案 end -->
    <!-- 评语 start -->
      <textarea class='textarea'  placeholder="请填写您的评分原因及活动后孩子和您的心得感受、意见建议等（请认真填写，提交后有幸运刮奖哦）" placeholder-class="place" value="{{content}}" maxlength="200" bindblur="bindblur" bindinput='bindinput' bindfocus='bindfocus' adjust-position></textarea>
      <!-- 评语 end -->
      <!-- 图片 start -->
      <view class="images">
        <view class="images-col 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="images-col add-box" bindtap="chooseImg" hidden="{{uploadImg.length >= 8}}"></view>
      </view>
      <!-- 图片 end -->
      <view class="bar-bottom button.button-warn sub" bindtap="submit">提交评价</view>
    </view>
    <!-- detail end -->
  </view>
</view>
<view class='nps' wx:if='{{show}}'></view>