<view class="container">
  <image class="appointment" src="{{iurl}}/miniapp/images/yyservice/Cosm_appo.png"></image>

  <!-- 总预约 -->
  <view wx:if="{{cosmetology_list.length>0}}">
    <!-- 当个预约 -->
    <view class="single" wx:for="{{cosmetology_list}}" wx:for-item="item">
      <!-- 个人属性 -->
      <view class="flex-vertical-between">
        <view class="flex-vertical">
          <image class="portrait" src="{{(!item.PhotoUrl || item.PhotoUrl=='')?iurl+defimgurl:item.PhotoUrl}}" lazy-load="true" data-errorimg="cosmetology_list[{{index}}].PhotoUrl" binderror="bind_bnerr1"  data-img="cosmetology_list[{{index}}].PhotoUrl"></image>
          <view>
            <!-- 用户名 -->
            <view class="UserName ellipsis-1 fs32">{{item.StaffName}}</view>
            <!-- 评价星数 -->
            <view class="flex" style="margin-top:10rpx;">
              <image class="Stars" src="{{iurl}}{{key<item.Star || item.Star==''?'/miniapp/images/StarsredCk.png':'/miniapp/images/StarswhiteUnCk.png'}}" wx:for="{{item.Star==''?5:5}}" wx:for-index="key" wx:for-item="it"></image>
              <!-- images/StarswhiteUnCk.png//白色星星地址 -->
            </view>
            <!-- 个人标签 -->
            <view class="Labels fs22 flex" wx:if="{{item.EvaluationLabel!=''?true:false}} ">
              <view wx:if="{{lab<3}}" class="flex-center Labelitem itone {{lab==1?'itwo':''}} {{lab==2?'ith':''}}" wx:for="{{item.EvaluationLabel}}" wx:for-item="it" wx:for-index="lab">
                <view class="ellipsis-1">{{it.LabelName}}</view>
              </view>
            </view>
          </view>
        </view>

        <!-- 预约状态 -->
        <navigator class="flex-center gofu go" url="/packageG/pages/user/my_service/beauty_deta?StorageId={{item.StorageId}}&BeauticianID={{item.staffid}}&itemId={{itemId}}&iscos=1&modify=0&projectId={{projectId}}&StaffName={{item.StaffName}}">
          <view class="fs24">预约</view>
        </navigator>
      </view>
      <view class="fs26 information">
        <block wx:if="{{item.Remark1!=''}}">
          <view class="ellipsis-3">{{item.Remark1}}
          </view>
        </block>
        <block wx:else>
          <view>暂无介绍</view>
        </block>
      </view>
    </view>
    <!-- 没有数据 -->
    <!-- 加载完毕并且数据大于=页大小 -->
    <view class="After_all flex-center" wx:if="{{ismore && cosmetology_list.length>=4}}">
      <view class="Line"></view>
      <view class="end fs26 xc-black">到底了</view>
      <view class="Line"></view>
    </view>
  </view>
</view>
<!-- 无美容师 -->
<view class="empty_order" wx:if="{{cosmetology_list.length<1 && is_cosmetology_read}}">
  <view class="flex-level">
    <image src="{{iurl}}miniapp/images/yyservice/no_beauty.png"></image>
  </view>
  <view class="flex-level fs30 xc-ash">暂无美容师</view>
  <view class="flex-level">
    <navigator url="/pages/user/my_service/i_service" bindtap="goto">
      <view class="flex-center fs28 white">其他项目</view>
    </navigator>
  </view>
</view>
<warn id="warn"></warn>