Authored by 郝肖肖

立即购物 门票

... ... @@ -150,6 +150,41 @@
<div class="trade-content">
<div id="type-chose" class="type-chose">
{{#if virtualGoods}}
<div class="chose-ticket chose-color row clearfix">
<span class="title pull-left">选日期:</span>
<ul class="colors pull-left clearfix">
{{#each colors}}
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
{{name}}
</li>
{{/each}}
</ul>
</div>
<div class="chose-size row clearfix">
<span class="title pull-left">
选区域:
</span>
<div id="sizes" class="size-wrapper pull-left">
{{#each colors}}
<ul class="size{{#unless focus}} hide{{/unless}}">
{{#each size}}
<li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
data-num="{{num}}" data-name="{{name}}">{{name}}</li>
{{/each}}
<span class="size-warn warn-tip hide">
<i class="iconfont">&#xe62c;</i>
请选择区域
</span>
</ul>
{{/each}}
</div>
</div>
{{else}}
<div class="chose-color row clearfix">
<span class="title pull-left">选颜色:</span>
<ul class="colors pull-left clearfix">
... ... @@ -164,11 +199,7 @@
<div class="chose-size row clearfix">
<span class="title pull-left">
{{#if virtualGoods}}
选日期:
{{^}}
选尺码:
{{/if}}
</span>
<div id="sizes" class="size-wrapper pull-left">
... ... @@ -185,11 +216,7 @@
<span class="size-warn warn-tip hide">
<i class="iconfont">&#xe62c;</i>
{{#if virtualGoods}}
请选择日期
{{^}}
请选择尺码
{{/if}}
</span>
</ul>
{{/each}}
... ... @@ -199,6 +226,7 @@
{{/unless}}
</div>
</div>
{{/if}}
<div class="chose-count row clearfix">
<span class="title pull-left">选数量:</span>
... ...
... ... @@ -253,7 +253,7 @@
}
}
.chose-size {
.chose-size, .chose-ticket {
font-size: 12px;
.title {
... ... @@ -436,7 +436,7 @@
}
}
.buy-btn {
.buy-btn, .buy-ticket {
display: inline-block;
margin-right: 10px;
height: 48px;
... ...