Authored by 郭成尧

discount-show-modified

... ... @@ -57,7 +57,7 @@
<span class="iconfont {{#if promotionId}}disabled{{/if}}">&#xe624;</span>
</a>
</div>
{{#unless discountBuy.discount}}
{{#unless discountBuy}}
<span class="left-num"></span>
{{/unless}}
<input id="left-num" type="hidden" value="0">
... ... @@ -65,6 +65,8 @@
{{# discountBuy}}
{{if 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;">{{mnum}}件起购享{{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;">{{mnum}}件起购</span>
{{/if}}
<input id="mnum" type="hidden" value="{{mnum}}">
{{/ discountBuy}}
... ...