Showing
2 changed files
with
8 additions
and
23 deletions
@@ -18,10 +18,10 @@ class Yohobuy | @@ -18,10 +18,10 @@ class Yohobuy | ||
18 | { | 18 | { |
19 | /* 正式环境 */ | 19 | /* 正式环境 */ |
20 | 20 | ||
21 | -// const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | -// const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | -// const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
24 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 21 | + const API_URL = 'http://api2.open.yohobuy.com/'; |
22 | + const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | + const SERVICE_URL = 'http://service.api.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/'; |
@@ -31,10 +31,10 @@ class Yohobuy | @@ -31,10 +31,10 @@ class Yohobuy | ||
31 | 31 | ||
32 | // /* 测试环境 */ | 32 | // /* 测试环境 */ |
33 | // const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关 | 33 | // const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关 |
34 | - const API_URL = 'http://testapi.yoho.cn:28078/'; | 34 | + /* const API_URL = 'http://testapi.yoho.cn:28078/'; |
35 | const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | 35 | const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; |
36 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 36 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
37 | - const API_OLD = 'http://test2.open.yohobuy.com/'; | 37 | + const API_OLD = 'http://test2.open.yohobuy.com/';*/ |
38 | 38 | ||
39 | /* 预览环境 */ | 39 | /* 预览环境 */ |
40 | // const API_URL = 'http://preapi.yoho.cn/'; | 40 | // const API_URL = 'http://preapi.yoho.cn/'; |
@@ -19,17 +19,10 @@ | @@ -19,17 +19,10 @@ | ||
19 | <div class="chose-items"> | 19 | <div class="chose-items"> |
20 | <div class="color-list block-list"> | 20 | <div class="color-list block-list"> |
21 | <span>颜色</span> | 21 | <span>颜色</span> |
22 | - <!--<ul class="clearfix" data-type="color"> | ||
23 | - {{# colors}} | ||
24 | - <li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}" data-id="{{id}}" data-numstr="{{sizeNumStr}}" data-skcid="{{skcId}}"> | ||
25 | - {{name}} | ||
26 | - </li> | ||
27 | - {{/ colors}} | ||
28 | - </ul>--> | ||
29 | {{# colors}} | 22 | {{# colors}} |
30 | <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> | 23 | <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> |
31 | {{# color}} | 24 | {{# color}} |
32 | - <li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}" data-id="{{id}}" data-numstr="{{sizeNumStr}}" data-skcid="{{skcId}}"> | 25 | + <li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}" data-id="{{id}}" data-skcid="{{skcId}}"> |
33 | {{name}} | 26 | {{name}} |
34 | </li> | 27 | </li> |
35 | {{/ color}} | 28 | {{/ color}} |
@@ -41,20 +34,12 @@ | @@ -41,20 +34,12 @@ | ||
41 | {{# sizes}} | 34 | {{# sizes}} |
42 | <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> | 35 | <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> |
43 | {{# size}} | 36 | {{# size}} |
44 | - <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> | 37 | + <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> |
45 | {{name}} | 38 | {{name}} |
46 | </li> | 39 | </li> |
47 | {{/ size}} | 40 | {{/ size}} |
48 | </ul> | 41 | </ul> |
49 | {{/ sizes}} | 42 | {{/ sizes}} |
50 | - | ||
51 | - <!--{{#if defaultSizes}} | ||
52 | - <ul class="size-row clearfix default-size"> | ||
53 | - {{#each defaultSizes}} | ||
54 | - <li class="block {{#if numZero}}zero-stock{{/if}}" data-numstr="{{numStr}}">{{name}}</li> | ||
55 | - {{/each}} | ||
56 | - </ul> | ||
57 | - {{/if}}--> | ||
58 | </div> | 43 | </div> |
59 | <p> | 44 | <p> |
60 | <div class="num"> | 45 | <div class="num"> |
-
Please register or login to post a comment