From 5a6353601f2c3a9d9f5edf4fc150ba191547ab27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 28 Jun 2023 09:05:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/listingItems/items.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/js/project/listingItems/items.js b/static/js/project/listingItems/items.js index db97e01..83fb575 100644 --- a/static/js/project/listingItems/items.js +++ b/static/js/project/listingItems/items.js @@ -253,7 +253,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function for(var i = 0 ; i < content.fileUrlList.length ; i++){ content.fileUrlList[i].fileUrl = serverApi+content.fileUrlList[i].fileUrl; } - console.log(content) + module.data.outProjectInformationDetail = content; setTimeout(function(){ var outProjectInformationData = template('outProjectInformationData', module.data); @@ -261,7 +261,14 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function var timName = document.getElementById('timeDown'); if(timName){ var t = 10; + module.data.timeDown = setInterval(function(){ + console.log($('#countType').html()) + if ($('#countType').html()!='竞价中'){ + clearInterval(module.data.timeDown) + document.getElementById('timeDown').style.display = 'none'; + return; + } timName.innerHTML = t+'秒后自动刷新'; t--; document.getElementById('timeDown').style.display = 'inline-block';