Преглед изворни кода

乳山产交问题修改

newProperty
庞东旭 пре 1 година
родитељ
комит
aadaca5c20
2 измењених фајлова са 9 додато и 2 уклоњено
  1. +8
    -0
      static/js/project/listingItems/items2.js
  2. +1
    -2
      view/listingItems/itemsDetail.html

+ 8
- 0
static/js/project/listingItems/items2.js Прегледај датотеку

@@ -154,6 +154,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
//正在竞价
// console.log('正在竞价')
module.data.biddingTimeType = 1;
module.data.outProjectInformationDetail.projectShowStatus = '正在竞价';
// if(module.data.outProjectInformationDetail.biddingType == '自由竞价'){
// document.getElementById('biddingTable').style.display = 'none';
// document.getElementById('biddingTitle').style.display = 'block';
@@ -167,6 +168,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
// console.log('<span>距竞价结束还有:'+d+'</span>天<span>'+h+'</span>时<span>'+m+'</span>分<span>'+s+'</span>秒')
$('#countType').html('竞价中')
$('#countDown').html('<span>距竞价结束还有:'+d+'</span>天<span>'+h+'</span>时<span>'+m+'</span>分<span>'+s+'</span>秒')
document.getElementById('biddingTitle').innerHTML = '自由竞价方式下,项目成交前不显示竞价记录!';
if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){
document.getElementById('showNowMoney').style.display = 'table-row';
var timName = document.getElementById('timeDown');
@@ -185,12 +187,14 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
//竞价结束
$('#countType').html('')
$('#countDown').html('竞价结束')
module.data.outProjectInformationDetail.projectShowStatus = '等待成交';
// document.getElementById('swiperType').style.display = 'none';
// document.getElementById('biddingTable').style.display = 'table';
// document.getElementById('biddingTitle').style.display = 'none';
module.data.biddingTimeType = 2;
}else if (nowTime<Date.parse(biddingStartTime)){
leftTime = Date.parse(biddingStartTime)-nowTime;
module.data.outProjectInformationDetail.projectShowStatus = '等待竞价';
d = Math.floor(leftTime/1000/60/60/24);
h = Math.floor(leftTime/1000/60/60%24);
m = Math.floor(leftTime/1000/60%60);
@@ -567,6 +571,10 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
// document.getElementById('biddingTable').style.display = 'table';
// document.getElementById('biddingTitle').style.display = 'none';
module.data.biddingTimeType = 2;
module.data.outProjectInformationDetail.projectShowStatus = '竞价结束';
var biddinglistInformationData = template('biddinglistInformationData', module.data);
$("#tabDetail4").html(biddinglistInformationData);
return;
return;
}
}


+ 1
- 2
view/listingItems/itemsDetail.html Прегледај датотеку

@@ -609,8 +609,7 @@

<script id="biddinglistInformationData" type="text/html">
<h1>·竞价记录</h1>

{{if ((outProjectInformationDetail.biddingType=='自由竞价' || outProjectInformationDetail.biddingType=='1')&&outProjectInformationDetail.projectShowStatus!='正在竞价') || (outProjectInformationDetail.biddingType!='自由竞价' && outProjectInformationDetail.biddingType!='1')}}
{{if ((outProjectInformationDetail.biddingType=='自由竞价' || outProjectInformationDetail.biddingType=='1')&&outProjectInformationDetail.projectShowStatus!='正在竞价'&&outProjectInformationDetail.projectShowStatus!='等待竞价') || (outProjectInformationDetail.biddingType!='自由竞价' && outProjectInformationDetail.biddingType!='1')}}
<table cellspacing="0" cellpadding="0" width="100%" id="biddingTable">
<tr>
<td>出价人代号</td>


Loading…
Откажи
Сачувај