<view class="container" wx:for="{{beautician}}" wx:if="{{index<1}}" wx:for-item="it">

  <!-- 头像 -->
  <view class="flex-center head">
 
    <image class="headimg" src="{{it.PhotoUrl==''?iurl+defimgurl:it.PhotoUrl}}" lazy-load="true" data-errorimg="beautician[{{index}}].PhotoUrl" binderror="bind_bnerr1"  data-img="beautician[{{index}}].PhotoUrl"></image>
  </view>

  <!-- 姓名 --> 
  <view class="flex-level item">
    <view class="itemlf flex-level-right">
      <view class="fs32">服务美容师：</view>
    </view>
    <view class="itemlr fs30 ellipsis-1">{{it.BeauticianName}}</view>
  </view>

  <!-- 项目 -->
  <view class="flex-center item">
    <view class="itemlf fs32 flex-level-right">服务项目：</view>
    <view class="itemlr fs30 ellipsis-1">{{it.ServiceName}}</view>
  </view>

  <!-- 时间 -->
  <view class="flex-center item">
    <view class="itemlf fs32 flex-level-right">服务时间：</view>
    <view class="itemlr fs30">{{it.WriteTime}}</view>
  </view>

  <!-- 评价时间 -->
  <view class="flex-center" wx:if="{{is_evaluate==1}}">
    <view class="itemlf fs32 flex-level-right">评价时间：</view>
    <view class="itemlr fs30">{{EvaluateDatetime}}</view>
  </view>

  <!-- 设置虚线 -->

  <view class="flex-center">
    <view class="starss">
      <image class="stars" src="{{iurl}}{{key<=stars_index?'/miniapp/images/StarsredCk.png':'/miniapp/images/StarswhiteUnCk.png'}}" wx:for="{{5}}" bindtap="check_stars" data-index="{{key}}" wx:for-index="key"></image>
    </view>
  </view>
  <view class="tea_labs">
    <view class="flex-center fs26">
      <block wx:if="{{is_evaluate==0}}">
        <textarea class="rel textarea" placeholder="写其他意见和建议" placeholder-class="fs24" maxlength="{{proposal_size}}" bindinput="input_proposal" value="{{proposal}}">
          <!-- 提示已输入多少数字 -->
          <view if="{{is_evaluate==0}}" class="proposal abs">{{proposal.length}}/{{proposal_size}}</view>
        </textarea>
      </block>
      <block wx:else>
        <view wx:if="{{proposal!=''}}" class="textarea">
          {{proposal}}
        </view>
      </block>
    </view>

    <view wx:if="{{labels.length>0 && is_evaluate==0}}" class="labels flex fs24 ellipsis-3">
      <view class="label {{item.check==1?'checklabel':''}} flex-center" wx:for="{{labels}}" bindtap="check_label" data-index="{{key}}" wx:for-index="key">
        <view class="ellipsis-1">{{item.LabelName}}</view>
      </view>

    </view>
    <view wx:if="{{labels.length>0 && is_evaluate==1}}" class="{{labels.length==1 || labels.length==2?'flex-center':''}}" style="width:100%;">
      <view class="labels flex fs24 ellipsis-3">
        <view class="label checklabel flex-center" wx:for="{{labels}}" bindtap="check_label" data-index="{{key}}" wx:for-index="key">
          <view class="ellipsis-1">{{item.LabelName}}</view>
        </view>

      </view>
    </view>

  </view>

  <view wx:if="{{is_evaluate==0}}" class="feedback flex-center fs28">
    <view>满意的话请打五星噢，谢谢您的支持!</view>
  </view>

  <block wx:if="{{sub_evaluate}}">
    <view class="subSuccess">
      <view class="flex-center">
        <image class="Success" src="{{iurl}}/miniapp/images/yyservice/Success.png"></image>
      </view>
      <view class="fs36 flex-center">
        <view>评价成功</view>
      </view>
    </view>
  </block>
</view>
<navigator wx:if="{{is_evaluate==0}}" class="Subs fs32 flex-center">
  <view class="Submission flex-center" bindtap="evaluate_save">
    <view>确认提交</view>
  </view>
</navigator>
<view wx:else> 


<view style="margin: auto;margin-bottom: 30rpx;" class="Submission flex-center" bindtap="evaluate_qt">
    <view>评价其他</view>
  </view>
 
  <view wx:if="{{is_act==1}}" style="margin: auto;margin-bottom: 30rpx;"  class="Submission flex-center yellow-b" bindtap="clike_lb">
    <view>点击领取礼品</view>
  </view>
 </view>
<warn id="warn"></warn>