Pārlūkot izejas kodu

产权交易

RongCheng
庞东旭 pirms 1 gada
vecāks
revīzija
5a6353601f
1 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. +8
    -1
      static/js/project/listingItems/items.js

+ 8
- 1
static/js/project/listingItems/items.js Parādīt failu

@@ -253,7 +253,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
for(var i = 0 ; i < content.fileUrlList.length ; i++){ for(var i = 0 ; i < content.fileUrlList.length ; i++){
content.fileUrlList[i].fileUrl = serverApi+content.fileUrlList[i].fileUrl; content.fileUrlList[i].fileUrl = serverApi+content.fileUrlList[i].fileUrl;
} }
console.log(content)
module.data.outProjectInformationDetail = content; module.data.outProjectInformationDetail = content;
setTimeout(function(){ setTimeout(function(){
var outProjectInformationData = template('outProjectInformationData', module.data); var outProjectInformationData = template('outProjectInformationData', module.data);
@@ -261,7 +261,14 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
var timName = document.getElementById('timeDown'); var timName = document.getElementById('timeDown');
if(timName){ if(timName){
var t = 10; var t = 10;

module.data.timeDown = setInterval(function(){ 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+'<b style="color: #666666">秒后自动刷新</b>'; timName.innerHTML = t+'<b style="color: #666666">秒后自动刷新</b>';
t--; t--;
document.getElementById('timeDown').style.display = 'inline-block'; document.getElementById('timeDown').style.display = 'inline-block';


Notiek ielāde…
Atcelt
Saglabāt