Sfoglia il codice sorgente

竞价详情

rongxin_prod
庞东旭 2 anni fa
parent
commit
4976125fb4
1 ha cambiato i file con 12 aggiunte e 6 eliminazioni
  1. +12
    -6
      src/views/project/projectDetail.vue

+ 12
- 6
src/views/project/projectDetail.vue Vedi File

@@ -11,7 +11,7 @@
<van-tab title="竞拍信息" title-style="font-size:12px;"> <van-tab title="竞拍信息" title-style="font-size:12px;">
<van-swipe class="my-swipe" height="235" indicator-color="white" @change="onChange"> <van-swipe class="my-swipe" height="235" indicator-color="white" @change="onChange">
<template v-if="detail.fileUrlList !== undefined &&detail.fileUrlList.length>0"> <template v-if="detail.fileUrlList !== undefined &&detail.fileUrlList.length>0">
<van-swipe-item v-for="(item,index) in detail.fileUrlList" :key="index"><van-image :src="item.fileUrl?global.severApi+item.fileUrl:'../../static/images/zwtp.jpg'" height="235" /></van-swipe-item>
<van-swipe-item v-for="(item,index) in detail.fileUrlList" :key="index"><van-image :src="item.fileUrl?'/api'+item.fileUrl:'../../static/images/zwtp.jpg'" height="235" /></van-swipe-item>
</template> </template>
<template v-else> <template v-else>
<van-swipe-item><van-image src="../../static/images/zwtp.jpg" height="235" /></van-swipe-item> <van-swipe-item><van-image src="../../static/images/zwtp.jpg" height="235" /></van-swipe-item>
@@ -40,7 +40,7 @@
<van-col span="19" class="money"><span>{{ detail.deposit }}</span> 元</van-col> <van-col span="19" class="money"><span>{{ detail.deposit }}</span> 元</van-col>
</van-row> </van-row>
</div> </div>
<div class="lead">
<div class="lead" v-if="detail.biddingType == '拍卖' || detail.biddingTimeType == 2">
<van-row > <van-row >
<van-col span="2"><van-image src="../../static/images/icon/phone.png" style="vertical-align: text-top;" /></van-col> <van-col span="2"><van-image src="../../static/images/icon/phone.png" style="vertical-align: text-top;" /></van-col>
<template v-if="biddinglistInformation!=undefined&&biddinglistInformation.length>0"> <template v-if="biddinglistInformation!=undefined&&biddinglistInformation.length>0">
@@ -74,7 +74,10 @@
<van-col span="24"><span>阶梯价(加价幅度):</span>{{ detail.ladderPrice }}</van-col> <van-col span="24"><span>阶梯价(加价幅度):</span>{{ detail.ladderPrice }}</van-col>
</van-row> </van-row>
<van-row> <van-row>
<van-col span="24"><span>延时周期:</span>2分钟<van-icon name="question" size="15" style="top: 3px;left: 5px;" color="#CDCDCD"/></van-col>
<van-col span="24"><span>延时周期:</span>{{timeConfig}}分钟</van-col>
</van-row>
<van-row>
<van-col span="24"><span>延时周期说明:</span>竞价的最后{{timeConfig}}分钟内,任意方出价,距结束时间将延长{{timeConfig}}分钟,直至无人出价为止</van-col>
</van-row> </van-row>
</div> </div>
</van-tab> </van-tab>
@@ -153,7 +156,7 @@
<van-tab title="标的物图片" title-style="font-size:12px;"> <van-tab title="标的物图片" title-style="font-size:12px;">
<p class="delTitle">标的物图片</p> <p class="delTitle">标的物图片</p>
<template v-if="detail.fileUrlList !== undefined &&detail.fileUrlList.length>0"> <template v-if="detail.fileUrlList !== undefined &&detail.fileUrlList.length>0">
<van-image v-for="(item,index) in detail.fileUrlList" :key="index" :src="item.fileUrl?''+item.fileUrl:'../../static/images/index/detailImg.png'" style="vertical-align: text-top;" />
<van-image v-for="(item,index) in detail.fileUrlList" :key="index" :src="item.fileUrl?'/api'+item.fileUrl:'../../static/images/index/detailImg.png'" style="vertical-align: text-top;" />
</template> </template>
<template v-else> <template v-else>
<van-image src="../../static/images/index/detailImg.png" style="vertical-align: text-top;" /> <van-image src="../../static/images/index/detailImg.png" style="vertical-align: text-top;" />
@@ -167,7 +170,8 @@
<van-tab title="竞价记录" title-style="font-size:12px;"> <van-tab title="竞价记录" title-style="font-size:12px;">
<p class="delTitle">竞价记录</p> <p class="delTitle">竞价记录</p>
<div class="biddingList"> <div class="biddingList">
<table width="100%" cellspacing="0">
<p v-if="detail.biddingType != '拍卖' && detail.biddingTimeType != 2">友情提示:非拍卖竞价方式下,竞价过程中不显示竞价记录!</p>
<table v-else width="100%" cellspacing="0">
<tr> <tr>
<td>出价人账号</td> <td>出价人账号</td>
<td>姓名</td> <td>姓名</td>
@@ -270,7 +274,8 @@ export default {
price:null, price:null,
userAccount:"", userAccount:"",
userName:"", userName:"",
userId:""
userId:"",
timeConfig:''
}; };
}, },
computed: { computed: {
@@ -463,6 +468,7 @@ export default {
} }
}); });
getWebConfig().then(response =>{ getWebConfig().then(response =>{
this.timeConfig = response.data[8].configValue;
response.data.map(item =>{ response.data.map(item =>{
if(item.configKey=="cqjy.website.bidInfo"){ if(item.configKey=="cqjy.website.bidInfo"){
this.webConfig += item.configValue this.webConfig += item.configValue


Caricamento…
Annulla
Salva