Authored by 邱骏

没有marketprice的时候不展示

... ... @@ -27,6 +27,7 @@
</a>
{{#if conf.brandImg}}
<a class="second-part">
{{log .}}
<div class="new-brand-div">
{{#isEqualOr conf.showSalePrice '1'}}
<div class="new-price" style="{{#if conf.salePriceBgColor}}background:{{conf.salePriceBgColor}};{{/if}}{{#if conf.priceFontColor}}color:{{conf.priceFontColor}};{{/if}}">
... ...
... ... @@ -13,7 +13,7 @@ const isTest = process.env.NODE_ENV === 'test3' || process.env.NODE_ENV === 'tes
const domains = {
// api: 'http://api.yoho.cn/',
api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// yoLuck: 'https://action.yoho.cn',
... ... @@ -27,7 +27,7 @@ const domains = {
// platformApi: 'http://172.16.6.210:8088/',
api: 'http://api-test3.dev.yohocorp.com/',
// api: 'http://api-test3.dev.yohocorp.com/',
service: 'http://api-test3.dev.yohocorp.com/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test3.dev.yohocorp.com/',
... ...
... ... @@ -14,7 +14,10 @@
<div class="price"
style="{{#if ../productStyle.priceFontColor}}color:{{../productStyle.priceFontColor}};{{/if}}">
<span class="seckill-price">¥{{secKillPrice}}</span>
{{#if marketPrice}}
<span class="market-price">¥{{marketPrice}}</span>
{{/if}}
</div>
<div class="status-type">
{{#if over}}
... ...