|
@@ -154,11 +154,11 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
//正在竞价 |
|
|
//正在竞价 |
|
|
// console.log('正在竞价') |
|
|
// console.log('正在竞价') |
|
|
module.data.biddingTimeType = 1; |
|
|
module.data.biddingTimeType = 1; |
|
|
if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){ |
|
|
|
|
|
document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
document.getElementById('biddingTitle').innerHTML = '竞价进行中...'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){ |
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
// document.getElementById('biddingTitle').innerHTML = '竞价进行中...'; |
|
|
|
|
|
// } |
|
|
// document.getElementById('swiperType').style.display = 'block'; |
|
|
// document.getElementById('swiperType').style.display = 'block'; |
|
|
d = Math.floor(leftTime/1000/60/60/24); |
|
|
d = Math.floor(leftTime/1000/60/60/24); |
|
|
h = Math.floor(leftTime/1000/60/60%24); |
|
|
h = Math.floor(leftTime/1000/60/60%24); |
|
@@ -186,8 +186,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
$('#countType').html('') |
|
|
$('#countType').html('') |
|
|
$('#countDown').html('竞价结束') |
|
|
$('#countDown').html('竞价结束') |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'none'; |
|
|
|
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'none'; |
|
|
module.data.biddingTimeType = 2; |
|
|
module.data.biddingTimeType = 2; |
|
|
}else if (nowTime<Date.parse(biddingStartTime)){ |
|
|
}else if (nowTime<Date.parse(biddingStartTime)){ |
|
|
leftTime = Date.parse(biddingStartTime)-nowTime; |
|
|
leftTime = Date.parse(biddingStartTime)-nowTime; |
|
@@ -298,8 +298,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){ |
|
|
if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){ |
|
|
document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'none'; |
|
|
|
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'none'; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -460,11 +460,11 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
if ( differenceSetime <= 0 && difference >= 0 && difference <= centerTime){ |
|
|
if ( differenceSetime <= 0 && difference >= 0 && difference <= centerTime){ |
|
|
console.log("竞价最后两分钟") |
|
|
console.log("竞价最后两分钟") |
|
|
//正在竞价 |
|
|
//正在竞价 |
|
|
if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){ |
|
|
|
|
|
document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
document.getElementById('biddingTitle').innerHTML = '竞价进行中...'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){ |
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
// document.getElementById('biddingTitle').innerHTML = '竞价进行中...'; |
|
|
|
|
|
// } |
|
|
// document.getElementById('swiperType').style.display = 'block'; |
|
|
// document.getElementById('swiperType').style.display = 'block'; |
|
|
module.data.biddingTimeType = 1; |
|
|
module.data.biddingTimeType = 1; |
|
|
$('#countType').html('竞价中') |
|
|
$('#countType').html('竞价中') |
|
@@ -564,8 +564,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
$('#timeDown').css('display','none'); |
|
|
$('#timeDown').css('display','none'); |
|
|
$('.swiperInput').css('display','none'); |
|
|
$('.swiperInput').css('display','none'); |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'none'; |
|
|
|
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'none'; |
|
|
module.data.biddingTimeType = 2; |
|
|
module.data.biddingTimeType = 2; |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
@@ -582,10 +582,10 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
if (!biddingStopTime){console.log('缺失竞价结束时间');return;} |
|
|
if (!biddingStopTime){console.log('缺失竞价结束时间');return;} |
|
|
module.dataCompare(signupStartTime,signupStopTime,biddingStartTime,biddingStopSetime); |
|
|
module.dataCompare(signupStartTime,signupStopTime,biddingStartTime,biddingStopSetime); |
|
|
} |
|
|
} |
|
|
if(module.data.outProjectInformationDetail.biddingType == '自由竞价' && module.data.biddingTimeType != 2){ |
|
|
|
|
|
document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if(module.data.outProjectInformationDetail.biddingType == '自由竞价' && module.data.biddingTimeType != 2){ |
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'none'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'block'; |
|
|
|
|
|
// } |
|
|
},1000) |
|
|
},1000) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -866,8 +866,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
$('#countType').html('') |
|
|
$('#countType').html('') |
|
|
$('#countDown').html('竞价结束') |
|
|
$('#countDown').html('竞价结束') |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
// document.getElementById('swiperType').style.display = 'none'; |
|
|
document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
document.getElementById('biddingTitle').style.display = 'none'; |
|
|
|
|
|
|
|
|
// document.getElementById('biddingTable').style.display = 'table'; |
|
|
|
|
|
// document.getElementById('biddingTitle').style.display = 'none'; |
|
|
module.data.biddingTimeType = 2; |
|
|
module.data.biddingTimeType = 2; |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|