yysj.html
6.56 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style></style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的预约-预约时间</title>
<script type="text/javascript" src="../staticJs/head.js"></script>
<link rel="stylesheet" href="../staticCss/swiper-bundle.min.css" />
<link
rel="stylesheet"
type="text/css"
href="../staticCss/progressBar.css"
/>
<link rel="stylesheet" type="text/css" href="../staticCss/yysj.css" />
<link
rel="stylesheet"
type="text/css"
href="../staticCss/layuiDialog.css"
/>
</head>
<body>
<div class="yysj_main">
<div class="navigation_crumbs">
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html" title="首页">首页</a>
<a href="./grzx.html" title="个人中心">个人中心</a>
<a title="预约时间"><cite>预约时间</cite></a>
</span>
</div>
</div>
<!-- ----------------------------------内容模块的开始----------------------------------------------- -->
<div class="central_area">
<div class="progressBar contentBox">
<ul class="app_progress">
<li>
<p class="active"></p>
<h5>预约须知</h5>
</li>
<div class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</div>
<li>
<p class="active"></p>
<h5>选择区域</h5>
</li>
<div class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</div>
<li>
<p class="activeing"></p>
<h5 class="activeingtext">预约时间</h5>
</li>
<div class="layui-progress">
<div class="layui-progress-bar" lay-percent="50%"></div>
</div>
<li>
<p></p>
<h5>预约结果</h5>
</li>
</ul>
</div>
<div class="appoint_time">
<div class="swiper-container">
<div class="swiper-wrapper" id="swiperDate"></div>
</div>
<!-- Add Arrows -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
<!-- ----------------------------------业务选择start----------------------------------------------- -->
<div class="business_choice contentBox">
<div class="site-title">
<fieldset>
<legend>
<a href="" name="fieldset"> 业务预约 </a>
</legend>
</fieldset>
</div>
<div id="business_list"></div>
</div>
<div class="next_button">
<button type="button" class="layui-btn layui-btn-normal">
<!-- <a href="./yyxz.html" title="上一步">
上一步
</a> -->
<a href="./xzqy.html" title="上一步"> 上一步 </a>
</button>
</div>
</div>
</div>
</body>
</html>
<script type="text/javascript" src="../staticJs/common.js"></script>
<script type="text/javascript" src="../staticJs/down.js"></script>
<script src="../staticJs/swiper-bundle.min.js"></script>
<script type="text/javascript" src="../staticJs/yysj.js"></script>
<script id="date" type="text/html">
{{# layui.each(d.dateList, function(index, item){ }} {{# if(item.isSelect){ }}
<ul class="swiper-slide layui-bg-gray active1">
<li>{{item.week}}</li>
<li>{{item.jyjh}}</li>
</ul>
{{# } }}
{{# if(!item.isSelect){ }}
<ul class="swiper-slide layui-bg-gray">
<li>{{item.week}}</li>
<li>{{item.jyjh}}</li>
</ul>
{{# } }} {{# }); }}
</script>
<script id="business_item" type="text/html">
{{# layui.each(d.busList, function(index, item){ }}
<div class="business_item">
<div class="item_time">
<span>上午</span>
<span>{{item.startTime}}</span>
<span>-</span>
<span>{{item.endTime}}</span>
</div>
<ul>
{{# layui.each(item.orgBusinessList, function(index1, item1){ }}
{{# if(!item.choosePeriodRulesId && item1.residueNumber==0){ }}
<li class="isAppoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
{{# if(!item.choosePeriodRulesId && item1.residueNumber!=0){ }}
<li class="item_appoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
<!-- 表示预约的是该时间段 且是最后一个号 -->
{{# if(item.choosePeriodRulesId && item1.periodRulesId ==item.choosePeriodRulesId && item1.residueNumber==0){ }}
<li class="isAppoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<input type="button" value='取消预约'>
<input type="button" value='查看详情'>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
<!-- 表示预约的是该时间段,且该时间段的号不为0 -->
{{# if(item.choosePeriodRulesId && item1.periodRulesId ==item.choosePeriodRulesId && item1.residueNumber!=0){ }}
<li class="isAppoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<input type="button" value='取消预约'>
<input type="button" value='查看详情'>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
<!-- 表示预约的不是该时间段且剩余号为0 -->
{{# if(item.choosePeriodRulesId && item1.periodRulesId !=item.choosePeriodRulesId && item1.residueNumber==0){ }}
<li class="isAppoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
<!-- 表示预约的不是该时间段且剩余数不为0-->
{{# if(item.choosePeriodRulesId && item1.periodRulesId !=item.choosePeriodRulesId && item1.residueNumbe!=0){ }}
<li class="isAppoint" data-id="{{item1.periodRulesId}}">
<h3>{{item1.shortName}}</h3>
<p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p>
</li>
{{# } }}
{{# }) }}
</ul>
</div>
{{# }); }}
</script>