From 851d76479b21e9035b3a8d32ab3b6b38650e0239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Sat, 14 Oct 2023 22:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/listingItems/items2.js | 6 +++--- view/listingItems/itemsDetail.html | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/static/js/project/listingItems/items2.js b/static/js/project/listingItems/items2.js index f3afbfb..236abe9 100644 --- a/static/js/project/listingItems/items2.js +++ b/static/js/project/listingItems/items2.js @@ -277,7 +277,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function $("#outProjectInformationContent").html(outProjectInformationData); var timName = document.getElementById('timeDown'); if(timName){ - var t = 10; + var t = 3; module.data.timeDown = setInterval(function(){ // console.log($('#countType').html()) @@ -290,7 +290,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function t--; document.getElementById('timeDown').style.display = 'inline-block'; if(t<0){ - t = 10; + t = 3; let biddingStartTime = content.biddingStartTime; let biddingStopTime = content.biddingStopTime; var nowTime = Date.parse(new Date()); @@ -400,7 +400,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function } },true); - }else{ + }else if(s%2 == 0&¢erTime!=0){ tools.doGet(getBiddingStopTime+getQueryVariable('id'), {}, module.getBiddingStopTime,true); } }else{ diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index e0814a0..53c5a45 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -315,15 +315,16 @@