Helius
2021-04-07 c1ec923c1c303efa339ef7bec6d675bc55aadb6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<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>