<view class="{{isPickerRender==true?'container':''}}">
  <!-- 点击方法 -->
  <view class="exption flex-vertical-between fs28" wx:if="{{is_nav || hist_List.length>0}}">
    <view class="flex">
      共使用
      <view class="count">{{total}}</view>
      次服务
    </view>
    <view class="flex">
      <view class="Resetfram flex-center" bindtap="his_reset">
        <view class="Reset">重置</view>
        <image class="Resetsub" src="{{iurl}}/miniapp/images/reset.png"></image>
      </view>
      <view class="flex-center" bindtap='pickerShow'>
        <view>筛选</view>
        <view wx:if="{{true}}" class="box"></view>
      </view>
    </view>
  </view>

  <!-- 总的服务列表 -->
  <view class="items">
    <!-- 单个 -->
    <view class="item flex-vertical-between" wx:for="{{hist_List}}">
      <!-- left -->
      <view>
        <view class="flex fs28">
          <view class="itemName ellipsis-1">{{item.ServiceName==''?'匿名':item.ServiceName}}</view>
          <block wx:if="{{item.State==1 || item.State==4}}">
            <view>(服务美容师：</view>
          </block>
          <block wx:else>
            <view>(预约美容师：</view>
          </block>
          <view class="itemUsna ellipsis-1">{{item.BeauticianName}}</view>
          )
        </view>
        <view class="fs24">{{item.ArrangeTime}}</view>
      </view>
      <!-- right -->
      <view class="serState fs32">
        <view wx:if="{{item.State==0}}" >
        <navigator url="/packageG/pages/user/my_service/beauty_deta?BeauticianID={{item.BeauticianID}}&number={{item.Number}}&itemId={{item.ServiceID}}&modify=1&projectId={{item.ProjectID}}">
          <view>未服务</view>
        <view>更改时间</view>
        </navigator>
        </view>
        <view wx:if="{{item.State==1}}">已服务</view>
        <view wx:if="{{item.State==2}}">已过期</view>
        <view wx:if="{{item.State==3}}">已取消</view>
        <view wx:if="{{item.State==4}}">已评价</view>
      </view>
    </view>
    <!-- 没有数据 -->
    <!-- 加载完毕并且数据大于=页大小 -->
    <view class="After_all flex-center" wx:if="{{ismore && hist_List.length>=pageSize}}">
      <view class="Line"></view>
      <view class="end fs26 xc-black">到底了</view>
      <view class="Line"></view>
    </view>
  </view>
</view>
<view wx:if="{{hist_List.length<1 && startTime!=''}}" class="flex-center fs26 slot">
  <view>该时间段无预约记录</view>
</view>
<!-- 无历史服务 -->
<view class="empty_order" wx:if="{{hist_List.length<1 && is_service_read && startTime==''}}">
  <view class="flex-level">
    <image src="{{iurl}}miniapp/images/yyservice/no_history.png"></image>
  </view>
  <view class="flex-level fs30 xc-ash">暂无服务记录</view>
  <view class="flex-level">
    <navigator url="/pages/user/my_service/i_service">
      <view class="flex-center fs32 white">前往使用</view>
    </navigator>
  </view>
</view>


<!-- 引用时间主键 -->
<timePicker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide" bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></timePicker>
<warn id="warn"></warn>