<view class="itemBox  ">
  <navigator url="/pages/yuyue/choseShop">
    <view class="iconfont icondianpu ic fl"></view>
    <text class="shop fl">{{shopInfo.shopShortName}}</text>
    <view class="iconfont iconright  fr"></view>
    <text class="info fr">{{shopInfo.shopTel}}</text>
    
  </navigator>
</view>

<view class="weekDayBox flex-box ">
  <view class="weekDay flex-item" wx:for="{{weeks}}" wx:key  bindtap="changeWeeks" data-index="{{index}}"  >
    <text>{{item.week}}</text>
    <text>{{item.day}}</text>
     <view wx:if="{{currentHoursIndex==index}}" class="triangle-down"></view>
  </view>
  
  <view class="weekDay flex-item" bindtap="openTc">
    <text class="iconfont iconrili"></text>
    <text>更多</text>
  </view>


</view>

<scroll-view class="timeBox" scroll-y="true">
 
  <view class="hour" wx:for="{{hours}}" wx:key >
    <view class="top active" wx:if="{{item.status==3}}" data-index="{{index}}" bindtap="chooseTime"   >{{item.hour}}</view>
    <view class="top over" wx:if="{{item.status==2}}"  >{{item.hour}}</view>
    <view class="top " wx:if="{{item.status==1}}" data-index="{{index}}" bindtap="chooseTime" >{{item.hour}}</view>
    <view class="atlable" wx:if="{{item.atlable.length>0}}"> {{item.atlable}}  </view>
  </view>
 
</scroll-view>


<view class="itemBox" wx:if="{{isLogin && hasChooseService}}" bindtap="chooseService"  >
  <view class="iconfont iconxiangmu ic fl"></view>
  <text class="shop fl">{{service.title}} </text>
   <view class="iconfont iconright  fr"></view>
  <!--<text class="info fr">￥{{service.price}}</text>-->
</view>

<view class="itemBox" wx:if="{{isLogin && !hasChooseService}}" bindtap="chooseService"  >
  <view class="iconfont iconxiangmu ic fl"></view>
  <text class="shop fl">选择服务</text>
   <view class="iconfont iconright  fr"></view>
    <text class="info fr"></text>
</view>


<view class="itemBox  " wx:if="{{isLogin}}" bindtap="chooseMasseuse" >
  
  <view class="iconfont iconyonghu ic fl"></view>
  <text class="shop fl" >选择技师</text>
  <view class="iconfont iconright  fr"></view>
    <text class="info fr" wx:if="{{hasChooseMasseuse}}" >{{masseuse.suName}}</text>
    <text class="info fr" wx:if="{{unneededMasseuse}}" >到店安排</text>
</view>


<view class=" bgbtn " bindtap="continueYuyue" wx:if="{{isLogin}}" >
  下一步
</view>
<navigator url="/pages/welcome/welcome?url=/pages/yuyue/khyuyue" class=" bgbtn "  wx:if="{{!isLogin}}" >
  先登录后预约
</navigator>


<scroll-view scroll-y="true" style="" class="tc "  wx:if="{{opentc}}">

  <view class="tc-title">


    <view class="tc-yytitle">请选择预约日期</view>
    <view bindtap="closeTc" class="iconfont iconguanbi"></view>


    <view class="tc-week">
      <text>日</text>
      <text>一</text>
      <text>二</text>
      <text>三</text>
      <text>四</text>
      <text>五</text>
      <text>六</text>
    </view>
  </view>
  <view class="tc-monthbox">
    <block wx:for="{{months}}">
      <view class="tc-month">{{item.year}}年{{item.month}}月</view>
      <view class="tc-days">
        <block wx:for="{{item.dates}}" wx:for-item="day" wx:for-index="dayIndex" >
          <text class="tc-day tc-block" wx:if="{{day.status==0}}">{{day.day}}</text>
          <text bindtap="chooseDay" data-node="{{day}}" data-day="{{item.year+'-'+item.month+'-'+day.day}}"  data-monindex="{{index}}"   data-dayindex="{{dayIndex}}"     class="tc-day tc-use" wx:if="{{day.status==1}}">{{day.day}}</text>
          <text class="tc-day tc-gq" wx:if="{{day.status==2}}">{{day.day}}</text>
          <text class="tc-day tc-chose" wx:if="{{day.status==3}}">{{day.day}}</text>
        </block>
      </view>
    </block>
  </view>


</scroll-view>