diff --git a/index.html b/index.html
index 85facab..0244275 100644
--- a/index.html
+++ b/index.html
@@ -204,7 +204,7 @@
-
+
项目名称 |
竞价方式 |
@@ -212,7 +212,7 @@
竞价开始时间 |
标的底价 |
当前报价 |
- 竞价剩余时间 |
+ 竞价状态 |
操作 |
@@ -232,7 +232,7 @@
{{value.money}}
{{/if}}
- {{value.timeType}} |
+ {{value.projectShowStatus}} |
|
diff --git a/static/js/project/listingItems/items2.js b/static/js/project/listingItems/items2.js
index 52d6e6d..4cdffa6 100644
--- a/static/js/project/listingItems/items2.js
+++ b/static/js/project/listingItems/items2.js
@@ -444,7 +444,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
let biddingStopTime = module.data.outProjectInformationDetail.biddingStopTime;
var nowTime = Date.parse(new Date($.ajax({type:'HEAD',async:false,data:{i: Date.parse(new Date())}}).getResponseHeader("Date")));
-
+ console.log(new Date($.ajax({type:'HEAD',async:false,data:{i: Date.parse(new Date())}}).getResponseHeader("Date")))
var difference = Date.parse(biddingStopTime)-nowTime;
// var centerTime = module.data.timeConfig * 60 * 1000
var centerTime = content.delayPeriod * 1000
@@ -464,6 +464,19 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
s = Math.floor(difference/1000%60);
$('#countType').html('竞价中')
$('#countDown').html('距竞价结束还有:0天0时'+m+'分'+s+'秒')
+ if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){
+ document.getElementById('showNowMoney').style.display = 'table-row';
+ var timName = document.getElementById('timeDown');
+ if(timName) {
+ document.getElementById('timeDown').style.display = 'inline-block';
+ timName.innerHTML = t + '秒后自动刷新';
+ }
+ t--;
+ if (t < 0) {
+ t = 3;
+ tools.doGet(biddinglist, {projectId: getQueryVariable('id')}, module.biddinglistInformation, true);
+ }
+ }
if(module.data.loginNow){ //判断是否登录(已登录)
if(module.data.signup == 1){ //判断是否报名(已报名)
if( module.data.biddingTimeType == 1 ){ //判断当前竞价状态(竞价中)
diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html
index 31aea34..de25bd2 100644
--- a/view/bidding/biddingList.html
+++ b/view/bidding/biddingList.html
@@ -269,7 +269,7 @@
{{value.money}}
{{/if}}
- {{value.timeType}} |
+ {{value.projectShowStatus}} |
|
{{/each}}