0528087d by 任超

Merge branch 'master' of yun.pashanhoo.com:renchao/portalStaticPage

2 parents 393d12a3 c1822b35
......@@ -62,7 +62,7 @@
</ul>
</div>
<div class="appoint_time">
<div class="swiper-container">
<div class="swiper-container" >
<div class="swiper-wrapper" id="swiperDate"></div>
</div>
<!-- Add Arrows -->
......@@ -111,66 +111,4 @@
<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>
</script>
\ No newline at end of file
......