diff --git a/template/m.yohobuy.com/actions/cart/index/order-ensure.phtml b/template/m.yohobuy.com/actions/cart/index/order-ensure.phtml index a769454..00c2898 100644 --- a/template/m.yohobuy.com/actions/cart/index/order-ensure.phtml +++ b/template/m.yohobuy.com/actions/cart/index/order-ensure.phtml @@ -65,11 +65,18 @@ </li> <li class="coin" data-yoho-coin="{{yohoCoin}}"> <span class="title">YOHO币</span> - <span class="desc">可抵¥{{yohoCoin}}</span> - <span class="coin-check"> - <em>- ¥ {{yohoCoin}}</em> - <i class="iconfont checkbox icon-cb-checked"></i> - </span> + + {{#if yohoCoin}} + <span class="desc">可抵¥{{yohoCoin}}</span> + <span class="coin-check"> + <em>- ¥ {{yohoCoin}}</em> + <i class="iconfont checkbox icon-cb-checked"></i> + </span> + {{^}} + <span class="not-used coin-check"> + 无YOHO币可用 + </span> + {{/if}} </li> {{#if invoice}}