Explorar el Código

产权交易竞价详情倒计时

newProperty
庞东旭 hace 1 año
padre
commit
7d7aa67a0f
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      static/js/project/listingItems/items2.js

+ 3
- 3
static/js/project/listingItems/items2.js Ver fichero

@@ -450,6 +450,9 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
// var centerTime = module.data.timeConfig * 60 * 1000
var centerTime = content.delayPeriod * 1000//延时周期

var m,s;
m = Math.floor(difference/1000/60%60);
s = Math.floor(difference/1000%60);
if(s%2 == 0&&centerTime!=0){
tools.doGet(getBiddingStopTime+getQueryVariable('id'), {}, module.getBiddingStopTime,true);
}
@@ -457,7 +460,6 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
if ( differenceSetime <= 0 && difference >= 0 && difference <= centerTime){
console.log("竞价最后两分钟")
//正在竞价
var m,s;
if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){
document.getElementById('biddingTable').style.display = 'none';
document.getElementById('biddingTitle').style.display = 'block';
@@ -465,8 +467,6 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
}
// document.getElementById('swiperType').style.display = 'block';
module.data.biddingTimeType = 1;
m = Math.floor(difference/1000/60%60);
s = Math.floor(difference/1000%60);
$('#countType').html('竞价中')
$('#countDown').html('<span>距竞价结束还有:0</span>天<span>0</span>时<span>'+m+'</span>分<span>'+s+'</span>秒')
if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){


Cargando…
Cancelar
Guardar