Authored by 王水玲

sale

... ... @@ -172,4 +172,4 @@ exports.vip = (req, res) => {
}).catch((err) => {
saleLogger(err, res);
});
}
};
... ...
... ... @@ -140,7 +140,7 @@ exports.getBreakCodeData = (params) => {
* @return {[object]}
*/
exports.getVipData = (params) => {
return api.get('', sign.apiSign(Object.assign({
return api.get('', sign.apiSign(Object.assign({
method: 'app.activity.get',
sort: 2,
plateform: 2
... ... @@ -151,4 +151,4 @@ exports.getVipData = (params) => {
return Promise.reject('error');
}
});
}
\ No newline at end of file
};
... ...
... ... @@ -26,6 +26,7 @@ router.get('/special', sale.special);
router.get('/specialDetail', sale.specialDetail);
router.get('/breakCode', sale.breakCode);
router.get('/vip', sale.vip);
// router.get('/outlet', sale.outlet);
module.exports = router;
... ...
... ... @@ -10,7 +10,7 @@ var $activityTime = $('.activity-time');
lazyLoad($('img.lazy'));
function getRTime(){
function getRTime() {
// var EndTime = $activityTime.data('time-ms'),
var EndTime = 1463743993785,
NowTime = new Date(),
... ... @@ -35,8 +35,8 @@ function getRTime(){
showTime += h > 0 ? h + '小时' : '';
showTime += m > 0 ? m + '分钟' : '';
showTime += s > 0 ? s + '秒' : '';
$activityTime.find('span').html(showTime);
}
setInterval(getRTime,0);
setInterval(getRTime, 0);
... ...
... ... @@ -2,7 +2,7 @@
float: left;
width: 276px;
height: 506px;
margin: 10px 15px 40px 15px;
margin: 10px 15px 40px;
.tag-container {
height: 28px;
... ... @@ -64,8 +64,8 @@
position: absolute;
width: 60px;
height: 60px;
top: 0px;
right: 0px;
top: 0;
right: 0;
line-height: 60px;
font-size: 30px;
text-align: center;
... ... @@ -100,11 +100,6 @@
.name a {
display: block;
min-height: 60px;
/* line-height: 29px;*/
/*overflow: hidden;*/
/* white-space: nowrap;
text-overflow: ellipsis;
text-decoration: none;*/
font-size: 22px;
color: #444;
margin: 20px 0;
... ... @@ -131,7 +126,7 @@
.vip-grade {
width: 52px;
height: 32px;
height: 32px;
display: inline-block;
margin-right: 8px;
vertical-align: text-bottom;
... ...
... ... @@ -11,7 +11,7 @@
bottom: 0;
left: 0;
z-index: 2;
background: rgba(0, 0 ,0 , .5);
background: rgba(0, 0, 0, 0.5);
text-align: right;
color: #fff;
font-size: 22px;
... ... @@ -30,4 +30,4 @@
}
}
}
}
\ No newline at end of file
}
... ...