Przeglądaj źródła

产权交易

newProperty
庞东旭 1 rok temu
rodzic
commit
5c60a6c514
3 zmienionych plików z 18 dodań i 5 usunięć
  1. +3
    -3
      index.html
  2. +14
    -1
      static/js/project/listingItems/items2.js
  3. +1
    -1
      view/bidding/biddingList.html

+ 3
- 3
index.html Wyświetl plik

@@ -204,7 +204,7 @@
</p>
</div>
<img src="" alt="" id="bannerBottom" />
<table width="100%" class="tableHead" style="table-layout: fixed;" >
<table width="100%" class="tableHead" style="table-layout: fixed;width: 1218px;" >
<tr>
<td style="text-align: left;padding-left: 2%;">项目名称</td>
<td>竞价方式</td>
@@ -212,7 +212,7 @@
<td>竞价开始时间</td>
<td>标的底价</td>
<td>当前报价</td>
<td>竞价剩余时间</td>
<td>竞价状态</td>
<td>操作</td>
</tr>
</table>
@@ -232,7 +232,7 @@
{{value.money}}
{{/if}}
</td>
<td>{{value.timeType}}</td>
<td>{{value.projectShowStatus}}</td>
<td>
<input type="button" onclick="goDetail({{value.id}})" value="我要竞价" />
</td>


+ 14
- 1
static/js/project/listingItems/items2.js Wyświetl plik

@@ -444,7 +444,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
let biddingStopTime = module.data.outProjectInformationDetail.biddingStopTime;

var nowTime = Date.parse(new Date($.ajax({type:'HEAD',async:false,data:{i: Date.parse(new Date())}}).getResponseHeader("Date")));
console.log(new Date($.ajax({type:'HEAD',async:false,data:{i: Date.parse(new Date())}}).getResponseHeader("Date")))
var difference = Date.parse(biddingStopTime)-nowTime;
// var centerTime = module.data.timeConfig * 60 * 1000
var centerTime = content.delayPeriod * 1000
@@ -464,6 +464,19 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
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){
document.getElementById('showNowMoney').style.display = 'table-row';
var timName = document.getElementById('timeDown');
if(timName) {
document.getElementById('timeDown').style.display = 'inline-block';
timName.innerHTML = t + '<b style="color: #666666">秒后自动刷新</b>';
}
t--;
if (t < 0) {
t = 3;
tools.doGet(biddinglist, {projectId: getQueryVariable('id')}, module.biddinglistInformation, true);
}
}
if(module.data.loginNow){ //判断是否登录(已登录)
if(module.data.signup == 1){ //判断是否报名(已报名)
if( module.data.biddingTimeType == 1 ){ //判断当前竞价状态(竞价中)


+ 1
- 1
view/bidding/biddingList.html Wyświetl plik

@@ -269,7 +269,7 @@
{{value.money}}
{{/if}}
</td>
<td>{{value.timeType}}</td>
<td>{{value.projectShowStatus}}</td>
<td><input type="button" onclick="goDetail({{value.id}})" value="我要竞价" /></td>
</tr>
{{/each}}


Ładowanie…
Anuluj
Zapisz