Authored by uedxwg

'update'

@@ -23,13 +23,13 @@ class Yohobuy @@ -23,13 +23,13 @@ class Yohobuy
23 // const SERVICE_URL = 'http://service.api.yohobuy.com/'; 23 // const SERVICE_URL = 'http://service.api.yohobuy.com/';
24 // const YOHOBUY_URL = 'http://www.yohobuy.com/'; 24 // const YOHOBUY_URL = 'http://www.yohobuy.com/';
25 25
26 - // const API_URL = 'http://apih5.yoho.cn/'; 26 + const API_URL = 'http://apih5.yoho.cn/';
27 // const API_URL2 = 'http://apih5.yoho.cn/'; 27 // const API_URL2 = 'http://apih5.yoho.cn/';
28 // const SERVICE_URL = 'http://serviceh5.yoho.cn/'; 28 // const SERVICE_URL = 'http://serviceh5.yoho.cn/';
29 // const YOHOBUY_URL = 'http://www.yohobuy.com/'; 29 // const YOHOBUY_URL = 'http://www.yohobuy.com/';
30 30
31 /* 测试环境 */ 31 /* 测试环境 */
32 - const API_URL = 'http://testapi.yoho.cn:28078/'; 32 + // const API_URL = 'http://testapi.yoho.cn:28078/';
33 const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; 33 const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
34 const YOHOBUY_URL = 'http://www.yohobuy.com/'; 34 const YOHOBUY_URL = 'http://www.yohobuy.com/';
35 35
@@ -40,10 +40,17 @@ @@ -40,10 +40,17 @@
40 </p> 40 </p>
41 </div> 41 </div>
42 <p class="row"> 42 <p class="row">
43 - <span class="price"> 43 + <span class="price hide">
44 ¥{{price}} 44 ¥{{price}}
45 </span> 45 </span>
46 - 46 + {{#if isAdvanceBuy}}
  47 + <p class="price">
  48 + <span class="sale-price{{^price}} no-price{{/price}}">{{salePrice}}</span>
  49 + {{#if price}}
  50 + <span class="market-price">{{price}}</span>
  51 + {{/if}}
  52 + </p>
  53 + {{/if}}
47 {{#if isVipPrice}} 54 {{#if isVipPrice}}
48 <span class="vip"> 55 <span class="vip">
49 VIP 56 VIP