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) => {
if (value.url.indexOf('openby') >= 0) {
value.url = value.url;
} else {
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"}}}';
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"}}';
}
}
... ...
... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-04-13 10:21:07
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-18 11:12:16
* @Last Modified time: 2017-04-20 18:33:48
*/
/* ********************
... ... @@ -37,7 +37,7 @@ const passwordResetPage = (req, res) => {
page: 'reset',
pageStyle: 'passport-body',
title: '重置密码',
canSkip: passwordWeakObj.canSkip === 'Y' ? refer : false
canSkip: (passwordWeakObj && passwordWeakObj.canSkip === 'Y') ? refer : false
});
};
... ...
{
"name": "m-yohobuy-node",
"version": "5.6.0",
"version": "5.6.1",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -124,7 +124,7 @@ $(window).on('seckill', function(event, detailData) {
'</div>'
);
$('.sold-out').hide();
$('.cart-bar a:first').after('<a href="javascript:;" class="sold-out">即将开抢</a>');
$('.cart-bar').append('<a href="javascript:;" class="sold-out">即将开抢</a>');
$('.addto-cart').hide();
$('.cart-bar').show();
$('.current-price').show();
... ... @@ -187,7 +187,7 @@ $(window).on('seckill', function(event, detailData) {
}
if (seckillNum === 0) {
$('.sold-out').hide();
$('.cart-bar a:first').append('<a href="javascript:;" class="sold-out">已售罄</a>');
$('.cart-bar').append('<a href="javascript:;" class="sold-out">已售罄</a>');
$('.addto-cart').hide();
}
$('.current-price').show();
... ...
... ... @@ -19,6 +19,7 @@ loading.init($(document.body), {
let seckillObj = {};
lazyload('img.lazy');
seckillObj = {
$container: null, // .seckill-list
... ... @@ -417,12 +418,13 @@ seckillObj = {
}))
);
lazyload('img.lazy');
if (result && result.activitys && result.activitys.length) {
window.diff = self.diff = Math.round((result.currentTime - Date.now()) / 1000);
return callback();
}
lazyload('img.lazy');
window.rePosFooter();
})
... ...
... ... @@ -204,8 +204,8 @@
.service-cont .service-prob:before,
.service-cont .service-answer:before {
content: "";
width: 31px;
height: 31px;
width: 30.8px;
height: 30.8px;
float: left;
margin-right: 20px;
position: absolute;
... ...
... ... @@ -24,10 +24,12 @@
.item-img {
width: 152px;
height: 203px;
margin-right: 30px;
img {
width: 100%;
height: 100%;
}
}
}
... ...