|
@@ -47,20 +47,20 @@ |
|
@@ -47,20 +47,20 @@ |
47
|
<div class="num">
|
47
|
<div class="num">
|
48
|
<span class="name">数量</span>
|
48
|
<span class="name">数量</span>
|
49
|
<div class="clearfix">
|
49
|
<div class="clearfix">
|
50
|
- <a class="btn btn-minus {{#if @root.discountBuy}}discount-gray{{/if}}" href="javascript:void(0);">
|
|
|
51
|
- <span class="iconfont {{#if promotionId}}disabled{{/if}}"></span>
|
50
|
+ <a class="btn btn-minus {{#if discountBuy}}discount-gray{{/if}}" href="javascript:void(0);">
|
|
|
51
|
+ <span class="iconfont {{#if ../promotionId}}disabled{{/if}}"></span>
|
52
|
</a>
|
52
|
</a>
|
53
|
- <input id="good-num" class="good-num disabled" type="text" {{#if @root.discountBuy}}value="{{@root.discountBuy.num}}" {{^}} value="1"{{/if}} disabled="true">
|
53
|
+ <input id="good-num" class="good-num disabled" type="text" {{#if discountBuy}}value="{{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
|
- <input id="mnum" type="hidden" value="{{@root.discountBuy.num}}">
|
|
|
60
|
- {{#if @root.discountBuy.discount}}
|
|
|
61
|
- <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>
|
58
|
+ {{#if discountBuy}}
|
|
|
59
|
+ <input id="mnum" type="hidden" value="{{discountBuy.num}}">
|
|
|
60
|
+ {{#if discountBuy.discount}}
|
|
|
61
|
+ <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>
|
62
|
{{^}}
|
62
|
{{^}}
|
63
|
- <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>
|
63
|
+ <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>
|
64
|
{{/if}}
|
64
|
{{/if}}
|
65
|
{{^}}
|
65
|
{{^}}
|
66
|
<span class="left-num"></span>
|
66
|
<span class="left-num"></span>
|
|
@@ -77,4 +77,4 @@ |
|
@@ -77,4 +77,4 @@ |
77
|
</div>
|
77
|
</div>
|
78
|
{{/ cartInfo}}
|
78
|
{{/ cartInfo}}
|
79
|
<input id="promotionId" type="hidden" value="{{promotionId}}">
|
79
|
<input id="promotionId" type="hidden" value="{{promotionId}}">
|
80
|
-<input id="single" type="hidden" value="{{@root.single}}"> |
|
|
|
|
80
|
+<input id="single" type="hidden" value="{{@root.single}}"> |