Authored by 陈峰

Merge branch 'release/5.6' of http://git.yoho.cn/fe/yohobuywap-node into release/5.6

@@ -266,7 +266,7 @@ const _relatedTag = (tags, isApp) => { @@ -266,7 +266,7 @@ const _relatedTag = (tags, isApp) => {
266 if (value.url.indexOf('openby') >= 0) { 266 if (value.url.indexOf('openby') >= 0) {
267 value.url = value.url; 267 value.url = value.url;
268 } else { 268 } else {
269 - value.url = tagUrl + '&openby:yohobuy={"action":"go.h5","params":{"query":"' + value.name + '","type":0","title":"' + value.name + '","url":"http://guang.m.yohobuy.com/tags/index","islogin":"N"}}}'; 269 + value.url = tagUrl + '&openby:yohobuy={"action":"go.h5","params":{"query":"' + value.name + '","type":0,"title":"' + value.name + '","url":"http://guang.m.yohobuy.com/tags/index","islogin":"N"}}';
270 } 270 }
271 } 271 }
272 272
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-04-13 10:21:07 3 * @Date: 2017-04-13 10:21:07
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-04-18 11:12:16 5 + * @Last Modified time: 2017-04-20 18:33:48
6 */ 6 */
7 7
8 /* ******************** 8 /* ********************
@@ -37,7 +37,7 @@ const passwordResetPage = (req, res) => { @@ -37,7 +37,7 @@ const passwordResetPage = (req, res) => {
37 page: 'reset', 37 page: 'reset',
38 pageStyle: 'passport-body', 38 pageStyle: 'passport-body',
39 title: '重置密码', 39 title: '重置密码',
40 - canSkip: passwordWeakObj.canSkip === 'Y' ? refer : false 40 + canSkip: (passwordWeakObj && passwordWeakObj.canSkip === 'Y') ? refer : false
41 }); 41 });
42 }; 42 };
43 43
1 { 1 {
2 "name": "m-yohobuy-node", 2 "name": "m-yohobuy-node",
3 - "version": "5.6.0", 3 + "version": "5.6.1",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -124,7 +124,7 @@ $(window).on('seckill', function(event, detailData) { @@ -124,7 +124,7 @@ $(window).on('seckill', function(event, detailData) {
124 '</div>' 124 '</div>'
125 ); 125 );
126 $('.sold-out').hide(); 126 $('.sold-out').hide();
127 - $('.cart-bar a:first').after('<a href="javascript:;" class="sold-out">即将开抢</a>'); 127 + $('.cart-bar').append('<a href="javascript:;" class="sold-out">即将开抢</a>');
128 $('.addto-cart').hide(); 128 $('.addto-cart').hide();
129 $('.cart-bar').show(); 129 $('.cart-bar').show();
130 $('.current-price').show(); 130 $('.current-price').show();
@@ -187,7 +187,7 @@ $(window).on('seckill', function(event, detailData) { @@ -187,7 +187,7 @@ $(window).on('seckill', function(event, detailData) {
187 } 187 }
188 if (seckillNum === 0) { 188 if (seckillNum === 0) {
189 $('.sold-out').hide(); 189 $('.sold-out').hide();
190 - $('.cart-bar a:first').append('<a href="javascript:;" class="sold-out">已售罄</a>'); 190 + $('.cart-bar').append('<a href="javascript:;" class="sold-out">已售罄</a>');
191 $('.addto-cart').hide(); 191 $('.addto-cart').hide();
192 } 192 }
193 $('.current-price').show(); 193 $('.current-price').show();
@@ -19,6 +19,7 @@ loading.init($(document.body), { @@ -19,6 +19,7 @@ loading.init($(document.body), {
19 let seckillObj = {}; 19 let seckillObj = {};
20 20
21 lazyload('img.lazy'); 21 lazyload('img.lazy');
  22 +
22 seckillObj = { 23 seckillObj = {
23 $container: null, // .seckill-list 24 $container: null, // .seckill-list
24 25
@@ -417,12 +418,13 @@ seckillObj = { @@ -417,12 +418,13 @@ seckillObj = {
417 })) 418 }))
418 ); 419 );
419 420
  421 + lazyload('img.lazy');
  422 +
420 if (result && result.activitys && result.activitys.length) { 423 if (result && result.activitys && result.activitys.length) {
421 window.diff = self.diff = Math.round((result.currentTime - Date.now()) / 1000); 424 window.diff = self.diff = Math.round((result.currentTime - Date.now()) / 1000);
422 return callback(); 425 return callback();
423 } 426 }
424 427
425 - lazyload('img.lazy');  
426 window.rePosFooter(); 428 window.rePosFooter();
427 429
428 }) 430 })
@@ -204,8 +204,8 @@ @@ -204,8 +204,8 @@
204 .service-cont .service-prob:before, 204 .service-cont .service-prob:before,
205 .service-cont .service-answer:before { 205 .service-cont .service-answer:before {
206 content: ""; 206 content: "";
207 - width: 31px;  
208 - height: 31px; 207 + width: 30.8px;
  208 + height: 30.8px;
209 float: left; 209 float: left;
210 margin-right: 20px; 210 margin-right: 20px;
211 position: absolute; 211 position: absolute;
@@ -24,10 +24,12 @@ @@ -24,10 +24,12 @@
24 24
25 .item-img { 25 .item-img {
26 width: 152px; 26 width: 152px;
  27 + height: 203px;
27 margin-right: 30px; 28 margin-right: 30px;
28 29
29 img { 30 img {
30 width: 100%; 31 width: 100%;
  32 + height: 100%;
31 } 33 }
32 } 34 }
33 } 35 }