<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 || 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.StaffName?it.StaffName:'无'}}</view>
  </view>

  <!-- 项目 -->
  <view class="flex-center item" bindtap="show_goods" data-index="{{index}}">
    <view class="itemlf fs32 flex-level-right" wx:if="{{ftype==5 || ftype==4}}">卡项信息：</view>
    <view class="itemlf fs32 flex-level-right" wx:else>购买商品：</view>
    <block wx:if="{{ftype==5 || ftype==4}}">
      <view class="itemlr fs30 ellipsis-2 go_right" style="position: relative;padding-right: 35rpx;" wx:if="{{it.numberlist}}">{{it.numberlist[0].ItemName}}</view>
      <view class="itemlr fs30 ellipsis-2 go_right" style="position: relative;padding-right: 35rpx;" wx:else>{{it.list[0].WareName?it.list[0].WareName:it.list[0].ItemName}}</view>
    </block>
    <block wx:else>
      <view class="itemlr fs30 ellipsis-2 go_right" style="position: relative;padding-right: 35rpx;">{{it.list[0].WareName?it.list[0].WareName:it.list[0].ItemName}}</view>   
    </block>
  </view>

  <!-- 时间 -->
  <view class="flex-center item">
    <view class="itemlf fs32 flex-level-right" wx:if="{{ftype==5}}">退款时间：</view>
    <view class="itemlf fs32 flex-level-right" wx:else>购买时间：</view>
    <view class="itemlr fs30">{{it.BillDate}}</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>

<block wx:if="{{is_get}}">
<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> 

<block wx:if="{{ftype!=4 || ftype!=5}}">
  <view style="margin: auto;margin-bottom: 30rpx;" class="Submission flex-center" bindtap="evaluate_qt">
    <view>评价其他</view>
  </view>
  <view style="margin: auto;margin-bottom: 30rpx;" class="Submission flex-center" bindtap="evaluate_qt" data-status="1">
    <view>查看已评价的订单</view>
  </view>
</block>
<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 class="show_icon" style="margin-top: 60rpx;">
	  <view class="icon_item" bindtap="goto" data-url="/pages/index/index/index">
		  <view>
		      <image style="width: 60rpx; height: 50rpx;" src="{{iurl}}/miniapp/images/evaluate/store.png"></image>
		      <view>溜街</view>
		   </view>
	  </view>  
	  <view class="icon_item" bindtap="goto" data-url="/packageA/pages/quan_list/quan_list">
		  <view>
	  		   <image  style="width: 70rpx; height: 50rpx;"  src="{{iurl}}/miniapp/images/evaluate/lq.png"></image>
	  		   <view>领券</view>
		   </view>	   
	  </view>  


 
  </view>
  
  <view style="height: 60rpx;"></view>

 </view>
<warn id="warn"></warn>
</block>


<view hidden="{{!sh_pop}}">
	<view class="cover-layer" bindtap="close_pop"></view>
	<view class="show_pop_div">
		<view class="title" wx:if="{{ftype==5 || ftype==4}}">卡项详情</view>
		<view class="title" wx:else>商品详情</view>
		<view style="padding: 0 20rpx;">
      <block wx:if="{{ftype==5 || ftype==4}}">
        <block wx:if="{{beautician.length==1 && beautician[0].numberlist && beautician[0].numberlist.length>0}}">
          <view class="flex jc_sb fs30" style="margin-top: 20rpx;" wx:for="{{beautician[0].numberlist}}">
          <view class="ellipsis-2">{{item.WareName?item.WareName:item.ItemName}}</view>
          <!-- <view>{{item.Qty}}</view> -->
        </view>		
        </block>
        <block wx:else>
          <view class="flex jc_sb fs30" style="margin-top: 20rpx;" wx:for="{{beautician}}">
          <view class="ellipsis-2">{{item.WareName?item.WareName:item.ItemName}}</view>
          <!-- <view>{{item.Qty}}</view> -->
        </view>		
        </block>

      </block>
      <block wx:else>
        <view class="flex jc_sb fs30" style="margin-top: 20rpx;" wx:for="{{show_goods_list}}">
          <view class="ellipsis-2">{{item.WareName?item.WareName:item.ItemName}}</view>
          <!-- <view>{{item.Qty}}</view> -->
        </view>		
      </block>
		</view>
	</view>
</view>

