...
|
...
|
@@ -47,20 +47,20 @@ |
|
|
<div class="num">
|
|
|
<span class="name">数量</span>
|
|
|
<div class="clearfix">
|
|
|
<a class="btn btn-minus {{#if @root.discountBuy}}discount-gray{{/if}}" href="javascript:void(0);">
|
|
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
|
|
<a class="btn btn-minus {{#if discountBuy}}discount-gray{{/if}}" href="javascript:void(0);">
|
|
|
<span class="iconfont {{#if ../promotionId}}disabled{{/if}}"></span>
|
|
|
</a>
|
|
|
<input id="good-num" class="good-num disabled" type="text" {{#if @root.discountBuy}}value="{{@root.discountBuy.num}}" {{^}} value="1"{{/if}} disabled="true">
|
|
|
<input id="good-num" class="good-num disabled" type="text" {{#if discountBuy}}value="{{discountBuy.num}}" {{^}} value="1"{{/if}} disabled="true">
|
|
|
<a class="btn btn-plus" href="javascript:void(0);">
|
|
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
|
|
<span class="iconfont {{#if ../promotionId}}disabled{{/if}}"></span>
|
|
|
</a>
|
|
|
</div>
|
|
|
{{#if @root.discountBuy}}
|
|
|
<input id="mnum" type="hidden" value="{{@root.discountBuy.num}}">
|
|
|
{{#if @root.discountBuy.discount}}
|
|
|
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{@root.discountBuy.num}}件起购享{{@root.discountBuy.discount}}折</span>
|
|
|
{{#if discountBuy}}
|
|
|
<input id="mnum" type="hidden" value="{{discountBuy.num}}">
|
|
|
{{#if discountBuy.discount}}
|
|
|
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{discountBuy.num}}件起购享{{discountBuy.discount}}折</span>
|
|
|
{{^}}
|
|
|
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{@root.discountBuy.num}}件起购</span>
|
|
|
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{discountBuy.num}}件起购</span>
|
|
|
{{/if}}
|
|
|
{{^}}
|
|
|
<span class="left-num"></span>
|
...
|
...
|
@@ -77,4 +77,4 @@ |
|
|
</div>
|
|
|
{{/ cartInfo}}
|
|
|
<input id="promotionId" type="hidden" value="{{promotionId}}">
|
|
|
<input id="single" type="hidden" value="{{@root.single}}"> |
|
|
\ No newline at end of file |
|
|
<input id="single" type="hidden" value="{{@root.single}}"> |
...
|
...
|
|