Authored by 郝肖肖

立即购物 门票

@@ -150,6 +150,41 @@ @@ -150,6 +150,41 @@
150 150
151 <div class="trade-content"> 151 <div class="trade-content">
152 <div id="type-chose" class="type-chose"> 152 <div id="type-chose" class="type-chose">
  153 + {{#if virtualGoods}}
  154 + <div class="chose-ticket chose-color row clearfix">
  155 + <span class="title pull-left">选日期:</span>
  156 + <ul class="colors pull-left clearfix">
  157 + {{#each colors}}
  158 + <li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
  159 + title="{{title}}" data-color="{{name}}" data-total="{{total}}">
  160 + {{name}}
  161 + </li>
  162 + {{/each}}
  163 + </ul>
  164 + </div>
  165 +
  166 + <div class="chose-size row clearfix">
  167 + <span class="title pull-left">
  168 + 选区域:
  169 + </span>
  170 +
  171 + <div id="sizes" class="size-wrapper pull-left">
  172 + {{#each colors}}
  173 + <ul class="size{{#unless focus}} hide{{/unless}}">
  174 + {{#each size}}
  175 + <li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
  176 + data-num="{{num}}" data-name="{{name}}">{{name}}</li>
  177 + {{/each}}
  178 +
  179 + <span class="size-warn warn-tip hide">
  180 + <i class="iconfont">&#xe62c;</i>
  181 + 请选择区域
  182 + </span>
  183 + </ul>
  184 + {{/each}}
  185 + </div>
  186 + </div>
  187 + {{else}}
153 <div class="chose-color row clearfix"> 188 <div class="chose-color row clearfix">
154 <span class="title pull-left">选颜色:</span> 189 <span class="title pull-left">选颜色:</span>
155 <ul class="colors pull-left clearfix"> 190 <ul class="colors pull-left clearfix">
@@ -164,11 +199,7 @@ @@ -164,11 +199,7 @@
164 199
165 <div class="chose-size row clearfix"> 200 <div class="chose-size row clearfix">
166 <span class="title pull-left"> 201 <span class="title pull-left">
167 - {{#if virtualGoods}}  
168 - 选日期:  
169 - {{^}}  
170 选尺码: 202 选尺码:
171 - {{/if}}  
172 </span> 203 </span>
173 204
174 <div id="sizes" class="size-wrapper pull-left"> 205 <div id="sizes" class="size-wrapper pull-left">
@@ -185,11 +216,7 @@ @@ -185,11 +216,7 @@
185 216
186 <span class="size-warn warn-tip hide"> 217 <span class="size-warn warn-tip hide">
187 <i class="iconfont">&#xe62c;</i> 218 <i class="iconfont">&#xe62c;</i>
188 - {{#if virtualGoods}}  
189 - 请选择日期  
190 - {{^}}  
191 请选择尺码 219 请选择尺码
192 - {{/if}}  
193 </span> 220 </span>
194 </ul> 221 </ul>
195 {{/each}} 222 {{/each}}
@@ -199,6 +226,7 @@ @@ -199,6 +226,7 @@
199 {{/unless}} 226 {{/unless}}
200 </div> 227 </div>
201 </div> 228 </div>
  229 + {{/if}}
202 230
203 <div class="chose-count row clearfix"> 231 <div class="chose-count row clearfix">
204 <span class="title pull-left">选数量:</span> 232 <span class="title pull-left">选数量:</span>
@@ -253,7 +253,7 @@ @@ -253,7 +253,7 @@
253 } 253 }
254 } 254 }
255 255
256 - .chose-size { 256 + .chose-size, .chose-ticket {
257 font-size: 12px; 257 font-size: 12px;
258 258
259 .title { 259 .title {
@@ -436,7 +436,7 @@ @@ -436,7 +436,7 @@
436 } 436 }
437 } 437 }
438 438
439 - .buy-btn { 439 + .buy-btn, .buy-ticket {
440 display: inline-block; 440 display: inline-block;
441 margin-right: 10px; 441 margin-right: 10px;
442 height: 48px; 442 height: 48px;