<!-- 背景图片 -->
<view catchtap="close">
  <image class="backimage" src="{{iurl}}/miniapp/images/yyservice/backimage.png" lazy-load="true"></image>
	<navigator class="History fs26" url="/packageA/pages/service_record/service_record?userid={{options.UserId}}" style="left:10px;right:auto;">服务记录</navigator>
	<navigator class="History fs26" url="/packageA/pages/my_service/hist_service?userid={{options.UserId}}">历史预约</navigator>
</view>




<!-- 预约内容 -->
<!-- 项目框架 -->
<view class="Serviceitems" catchtap="close">
  <!-- 单个项目 -->
  <view class="rel" wx:for="{{service_List}}">
    <view class="abs">
      <!-- 皇冠log -->
      <block wx:if="{{item.BuyType==4}}">
        <image class="equity_money" src="{{iurl}}/miniapp/images//yyservice/equity.png" lazy-load="true"></image>
      </block>
      <!-- 金钱log -->
      <block wx:if="{{item.BuyType==1 || item.BuyType==2 }}">
        <image class="equity_money" src="{{iurl}}/miniapp/images/yyservice/money.png" lazy-load="true"></image>
      </block>
      <!-- 礼包log -->
      <block wx:if="{{item.BuyType==3}}">
        <image class="equity_money" src="{{iurl}}/miniapp/images/yyservice/giftpackage.png" lazy-load="true"></image>
      </block>
    </view>
    <view>
      <view class="flex-center">
        <image class="itemimage" src="{{item.ImageUrl==''?iurl+defimgurl:item.ImageUrl}}" lazy-load="true" data-errorimg="service_List[{{index}}].ImageUrl" binderror="bind_bnerr1" data-img="{{item.ImageUrl}}"></image>
      </view>

      <view class="flex-center itemName">
        <view class="fs32 Name ellipsis-1">{{item.ServiceName}}</view>
      </view>

      <view class="flex-center fs24 itemCount">
        <view>剩余次数：</view>
        <view>{{item.ObtainTimes}}</view>
      </view>

      <view class="flex-center fs24 itemEffective">
        <view>有效期至</view>
        <view class="Date">{{item.Validay==""?"长期有效":item.Validay}}</view>
      </view>

    </view>
		
		
		<view class="flex-center fs28 functionMax">
		  <view class="flex-level btn" data-url="/packageA/pages/my_service/appment_main?service_id={{item.ServiceID}}&BuyType={{item.BuyType}}&ProjectID={{item.ProjectID}}&Validay={{item.Validay}}&userid={{options.UserId}}&usercode={{options.UserCode}}&firstleader={{options.first_leader}}" bindtap="correcting" data-service_id="{{item.ServiceID}}" data-project_id="{{item.ProjectID}}">
		    <view>帮你预约</view>
		  </view>
		</view>
  </view>
  <!-- 没有数据 -->
  <!-- 加载完毕并且数据大于=页大小 -->
  <!-- <view class="After_all flex-center" wx:if="{{ismore && service_List.length>=6}}">
    <view class="Line"></view>
    <view class="end fs26 xc-black">到底了</view>
    <view class="Line"></view>
  </view> -->
</view>


<view class="table flex">
	<view class="left t-c">
		<view class="td">时间</view>
		<view class="td">8:00</view>
		<view class="td">9:00</view>
	</view>
	<scroll-view scroll-x class="right">
		<view class="flex t-c">
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
			<view>
				<view class="td blue">张三</view>
				<view class="td">100</view>
				<view class="td">200</view>
			</view>
		</view>
	</scroll-view>
</view>
<!-- 无服务项目 -->
<!-- <view wx:if="{{service_List.length<1 && is_service_read}}">
  <view class="cover"></view>
  <view class="empty_order" wx:if="{{true}}">
    <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 data-url="/pages/user/index/index" bindtap="goto">
        <view class="flex-center fs28 white">回到首页</view>
      </navigator>
    </view>
  </view>
</view> -->
<!--  制作一个圆球导航  -->
<!-- <nav_b id="nav_b"></nav_b> -->
<!-- 弹出框扫描 -->
<!-- <qr_code id="qc_com"></qr_code>
<warn id="warn"></warn>
<my_confirm id="my_confirm"></my_confirm> -->
