Merge branch 'feature/group-buy' of git.yoho.cn:fe/yohobuywap-node into feature/group-buy
Showing
4 changed files
with
2 additions
and
14 deletions
@@ -16,7 +16,7 @@ const contentCodes = { | @@ -16,7 +16,7 @@ const contentCodes = { | ||
16 | result: 'cea0efae77f4e04c935beb1e87181247', | 16 | result: 'cea0efae77f4e04c935beb1e87181247', |
17 | detail: '3c3a94fd6c6e19508b6921acd7f6cbad' | 17 | detail: '3c3a94fd6c6e19508b6921acd7f6cbad' |
18 | } | 18 | } |
19 | -}[isProd ? 'prod' : 'test']; | 19 | +} [isProd ? 'production' : 'test']; |
20 | 20 | ||
21 | class GroupService extends global.yoho.BaseModel { | 21 | class GroupService extends global.yoho.BaseModel { |
22 | constructor(ctx) { | 22 | constructor(ctx) { |
@@ -103,7 +103,6 @@ class ProductListLoader { | @@ -103,7 +103,6 @@ class ProductListLoader { | ||
103 | } | 103 | } |
104 | let catchKey = this.url + '?' + $.param(this.defaultOpt); | 104 | let catchKey = this.url + '?' + $.param(this.defaultOpt); |
105 | 105 | ||
106 | - console.log(this.defaultOpt); | ||
107 | if (!this.isLoadMore) { | 106 | if (!this.isLoadMore) { |
108 | return false; | 107 | return false; |
109 | } | 108 | } |
@@ -38,7 +38,6 @@ body { | @@ -38,7 +38,6 @@ body { | ||
38 | display: block; | 38 | display: block; |
39 | width: 100%; | 39 | width: 100%; |
40 | height: 246px; | 40 | height: 246px; |
41 | - border: 1px solid yellowgreen; | ||
42 | overflow: hidden; | 41 | overflow: hidden; |
43 | 42 | ||
44 | .img { | 43 | .img { |
@@ -136,7 +135,7 @@ body { | @@ -136,7 +135,7 @@ body { | ||
136 | 135 | ||
137 | .price-view { | 136 | .price-view { |
138 | position: absolute; | 137 | position: absolute; |
139 | - bottom: 44%; | 138 | + bottom: 32%; |
140 | width: 470px; | 139 | width: 470px; |
141 | height: 40px; | 140 | height: 40px; |
142 | margin-left: 20px; | 141 | margin-left: 20px; |
@@ -111,16 +111,6 @@ exports.processFilter = (list, options) => { | @@ -111,16 +111,6 @@ exports.processFilter = (list, options) => { | ||
111 | name: filtersType[key].name | 111 | name: filtersType[key].name |
112 | }); | 112 | }); |
113 | 113 | ||
114 | - // 测试数据 | ||
115 | - // let itemList = []; | ||
116 | - | ||
117 | - // for (let i = 0; i < 12; i++) { | ||
118 | - // itemList.push({ | ||
119 | - // itemId: '1,3', | ||
120 | - // itemName: 'MEN' | ||
121 | - // }); | ||
122 | - // } | ||
123 | - | ||
124 | let itemList = item.allItemList || item.itemList; | 114 | let itemList = item.allItemList || item.itemList; |
125 | 115 | ||
126 | _.forEach(itemList, (sub) => { | 116 | _.forEach(itemList, (sub) => { |
-
Please register or login to post a comment