Merge branch 'master' of yun.pashanhoo.com:renchao/portalStaticPage
Showing
2 changed files
with
1 additions
and
63 deletions
This diff is collapsed.
Click to expand it.
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | </ul> | 62 | </ul> |
63 | </div> | 63 | </div> |
64 | <div class="appoint_time"> | 64 | <div class="appoint_time"> |
65 | <div class="swiper-container"> | 65 | <div class="swiper-container" > |
66 | <div class="swiper-wrapper" id="swiperDate"></div> | 66 | <div class="swiper-wrapper" id="swiperDate"></div> |
67 | </div> | 67 | </div> |
68 | <!-- Add Arrows --> | 68 | <!-- Add Arrows --> |
... | @@ -112,65 +112,3 @@ | ... | @@ -112,65 +112,3 @@ |
112 | </ul> | 112 | </ul> |
113 | {{# } }} {{# }); }} | 113 | {{# } }} {{# }); }} |
114 | </script> | 114 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file |
115 | |||
116 | <script id="business_item" type="text/html"> | ||
117 | {{# layui.each(d.busList, function(index, item){ }} | ||
118 | <div class="business_item"> | ||
119 | <div class="item_time"> | ||
120 | <span>上午</span> | ||
121 | <span>{{item.startTime}}</span> | ||
122 | <span>-</span> | ||
123 | <span>{{item.endTime}}</span> | ||
124 | </div> | ||
125 | <ul> | ||
126 | {{# layui.each(item.orgBusinessList, function(index1, item1){ }} | ||
127 | {{# if(!item.choosePeriodRulesId && item1.residueNumber==0){ }} | ||
128 | <li class="isAppoint" data-id="{{item1.periodRulesId}}"> | ||
129 | <h3>{{item1.shortName}}</h3> | ||
130 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
131 | </li> | ||
132 | {{# } }} | ||
133 | |||
134 | {{# if(!item.choosePeriodRulesId && item1.residueNumber!=0){ }} | ||
135 | <li class="item_appoint" data-id="{{item1.periodRulesId}}"> | ||
136 | <h3>{{item1.shortName}}</h3> | ||
137 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
138 | </li> | ||
139 | {{# } }} | ||
140 | <!-- 表示预约的是该时间段 且是最后一个号 --> | ||
141 | {{# if(item.choosePeriodRulesId && item1.periodRulesId ==item.choosePeriodRulesId && item1.residueNumber==0){ }} | ||
142 | <li class="isAppoint" data-id="{{item1.periodRulesId}}"> | ||
143 | <h3>{{item1.shortName}}</h3> | ||
144 | <input type="button" value='取消预约'> | ||
145 | <input type="button" value='查看详情'> | ||
146 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
147 | </li> | ||
148 | {{# } }} | ||
149 | <!-- 表示预约的是该时间段,且该时间段的号不为0 --> | ||
150 | {{# if(item.choosePeriodRulesId && item1.periodRulesId ==item.choosePeriodRulesId && item1.residueNumber!=0){ }} | ||
151 | <li class="isAppoint" data-id="{{item1.periodRulesId}}"> | ||
152 | <h3>{{item1.shortName}}</h3> | ||
153 | <input type="button" value='取消预约'> | ||
154 | <input type="button" value='查看详情'> | ||
155 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
156 | </li> | ||
157 | {{# } }} | ||
158 | <!-- 表示预约的不是该时间段且剩余号为0 --> | ||
159 | {{# if(item.choosePeriodRulesId && item1.periodRulesId !=item.choosePeriodRulesId && item1.residueNumber==0){ }} | ||
160 | <li class="isAppoint" data-id="{{item1.periodRulesId}}"> | ||
161 | <h3>{{item1.shortName}}</h3> | ||
162 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
163 | </li> | ||
164 | {{# } }} | ||
165 | <!-- 表示预约的不是该时间段且剩余数不为0--> | ||
166 | {{# if(item.choosePeriodRulesId && item1.periodRulesId !=item.choosePeriodRulesId && item1.residueNumbe!=0){ }} | ||
167 | <li class="isAppoint" data-id="{{item1.periodRulesId}}"> | ||
168 | <h3>{{item1.shortName}}</h3> | ||
169 | <p style="color:#5FB878">(剩{{item1.residueNumber}}票)</p> | ||
170 | </li> | ||
171 | {{# } }} | ||
172 | {{# }) }} | ||
173 | </ul> | ||
174 | </div> | ||
175 | {{# }); }} | ||
176 | </script> | ... | ... |
-
Please register or sign in to post a comment