|
@@ -50,12 +50,17 @@ |
|
@@ -50,12 +50,17 @@ |
50
|
<a class="btn btn-minus" href="javascript:void(0);">
|
50
|
<a class="btn btn-minus" href="javascript:void(0);">
|
51
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
51
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
52
|
</a>
|
52
|
</a>
|
53
|
- <input id="good-num" class="good-num disabled" type="text" value="1" disabled="true">
|
53
|
+ <input id="good-num" class="good-num disabled" type="text" {{#if @root.discountBuy}}value="{{@root.discountBuy.num}}" {{^}} value="1"{{/if}} disabled="true">
|
54
|
<a class="btn btn-plus" href="javascript:void(0);">
|
54
|
<a class="btn btn-plus" href="javascript:void(0);">
|
55
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
55
|
<span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
56
|
</a>
|
56
|
</a>
|
57
|
</div>
|
57
|
</div>
|
|
|
58
|
+ {{#if @root.discountBuy}}
|
|
|
59
|
+ <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.promotionPhrase}}</span>
|
|
|
60
|
+ <input id="mnum" type="hidden" value="{{@root.discountBuy.num}}">
|
|
|
61
|
+ {{^}}
|
58
|
<span class="left-num"></span>
|
62
|
<span class="left-num"></span>
|
|
|
63
|
+ {{/if}}
|
59
|
<input id="left-num" type="hidden" value="0">
|
64
|
<input id="left-num" type="hidden" value="0">
|
60
|
<input id="limitNum" type="hidden" value="{{limit}}">
|
65
|
<input id="limitNum" type="hidden" value="{{limit}}">
|
61
|
</div>
|
66
|
</div>
|