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';