Merge branch 'release/5.6' of http://git.yoho.cn/fe/yohobuywap-node into release/5.6
Showing
7 changed files
with
13 additions
and
9 deletions
@@ -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 |
@@ -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; |
-
Please register or login to post a comment