Selaa lähdekoodia

Merge branch 'newProperty' of http://116.255.223.226:3000/zhangzl/nsgk_web into newProperty

RongCheng
张泽亮 1 vuosi sitten
vanhempi
commit
be4d2815f1
1 muutettua tiedostoa jossa 8 lisäystä ja 1 poistoa
  1. +8
    -1
      static/js/project/listingItems/items.js

+ 8
- 1
static/js/project/listingItems/items.js Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna