瀏覽代碼

产权交易问题修改

rongxin_prod
庞东旭 1 年之前
父節點
當前提交
b755125ed7
共有 3 個檔案被更改,包括 19 行新增27 行删除
  1. +7
    -18
      src/views/biddingHall/index.vue
  2. +6
    -6
      src/views/login.vue
  3. +6
    -3
      src/views/project/projectDetail.vue

+ 7
- 18
src/views/biddingHall/index.vue 查看文件

@@ -117,22 +117,11 @@
}[item.timeType]}">{{item.timeType}}</p> }[item.timeType]}">{{item.timeType}}</p>
</div> </div>
<div class="list_li_time"> <div class="list_li_time">
<van-count-down :time="item.deadline">
<template #default="timeData">
<span style="color: #848484;font-size: 14PX;">距结束</span>
<span :style="{'font-size':'14px',
color: {
'未开始': '#007E72',
'已结束': '#848484',
'进行中': '#c21F3a',
}[item.timeType]}">
<span style="font-size: 18PX;">{{timeData.days}}</span>天
<span style="font-size: 18PX;">{{timeData.hours}}</span>时
<span style="font-size: 18PX;">{{timeData.minutes}}</span>分
<span style="font-size: 18PX;">{{timeData.seconds}}</span>秒
</span>
</template>
</van-count-down>

<p>
<span style="color: #848484">竞价结束日期:{{item.biddingStopTime.substr(0,10)}}</span>
</p>

<p> <p>
<span style="color: #848484">当前价</span> <span style="color: #848484">当前价</span>
<span :style="{'font-size':'14px', <span :style="{'font-size':'14px',
@@ -307,9 +296,9 @@ export default {
time = endDate-nowDate>0?endDate-nowDate:0 time = endDate-nowDate>0?endDate-nowDate:0
} }
console.log(time) console.log(time)
this.infoList.push({content:item.projectName,biddingType:item.biddingType,deadline:time,currentPrice:item.price,priceUnit:item.unit,id:item.id,money:item.money,timeType:item.timeType})
this.infoList.push({content:item.projectName,biddingType:item.biddingType,deadline:time,currentPrice:item.price,priceUnit:item.unit,id:item.id,money:item.money,timeType:item.timeType,biddingStopTime:item.biddingStopTime})
}else{ }else{
this.infoList.push({content:item.projectName,biddingType:item.biddingType,deadline:0,currentPrice:item.price,priceUnit:item.unit,id:item.id,money:item.money,timeType:item.timeType})
this.infoList.push({content:item.projectName,biddingType:item.biddingType,deadline:0,currentPrice:item.price,priceUnit:item.unit,id:item.id,money:item.money,timeType:item.timeType,biddingStopTime:item.biddingStopTime})
} }
}) })
if(this.infoList.length >= response.total){ if(this.infoList.length >= response.total){


+ 6
- 6
src/views/login.vue 查看文件

@@ -14,10 +14,10 @@
</div> </div>
<div class="login-main"> <div class="login-main">
<ul class="head_nav clear"> <ul class="head_nav clear">
<li @click="isSmsLogin = false" :class="{ active: !isSmsLogin }">
<li @click="getCode(),isSmsLogin = false" :class="{ active: !isSmsLogin }">
账号登录 账号登录
</li> </li>
<li @click="isSmsLogin = true" :class="{ active: isSmsLogin }">
<li @click="getCodePhone(),isSmsLogin = true" :class="{ active: isSmsLogin }">
验证码登录 验证码登录
</li> </li>
</ul> </ul>
@@ -173,7 +173,7 @@ export default {
methods: { methods: {
getCode() { getCode() {
getCodeImg().then((res) => { getCodeImg().then((res) => {
this.uuid = res.uuid;
this.formData.uuid = res.uuid;
this.codeUrl = "data:image/gif;base64," + res.img; this.codeUrl = "data:image/gif;base64," + res.img;
}); });
}, },
@@ -204,12 +204,12 @@ export default {
}); });
return false; return false;
} }
getSmsCode(this.formData.mobile,this.mobileCode,this.formData.uuid).then((res) => {
getSmsCode(this.formData.mobile,this.mobileCode,this.uuidPhone).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.$dialog.alert({ this.$dialog.alert({
message: '验证码已发送', message: '验证码已发送',
}); });
this.formData.uuid = res.uuid;
this.uuidPhone = res.uuid;
this.computeTime = 60; this.computeTime = 60;
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.computeTime--; this.computeTime--;
@@ -281,7 +281,7 @@ export default {
return false; return false;
} }
this.formData.code = this.code; this.formData.code = this.code;
this.formData.uuid = this.uuid;
// this.formData.uuid = this.uuid;
this.$store this.$store
.dispatch("Login", this.formData) .dispatch("Login", this.formData)
.then(() => { .then(() => {


+ 6
- 3
src/views/project/projectDetail.vue 查看文件

@@ -267,7 +267,9 @@ export default {
current: 0, current: 0,
show: false, show: false,
id:this.$route.query.id, id:this.$route.query.id,
detail: {},
detail: {
biddingType:'自由竞价'
},
webConfig:"", webConfig:"",
biddinglistInformation:[], biddinglistInformation:[],
rollout_type:[], rollout_type:[],
@@ -284,7 +286,7 @@ export default {
userId:"", userId:"",
timeConfig:'', timeConfig:'',
biddinglistInformationLength:0, biddinglistInformationLength:0,
biddingTimeType:2,
biddingTimeType:1,
isFirst:'', isFirst:'',
timer:null, timer:null,
getSignupData:'', getSignupData:'',
@@ -526,8 +528,8 @@ export default {
// this.time = biddingStartTime-nowDate // this.time = biddingStartTime-nowDate
$('#timeData').html(this.TimeInterval(biddingStartTime-nowDate)); $('#timeData').html(this.TimeInterval(biddingStartTime-nowDate));
// this.timeData = this.TimeInterval(biddingStartTime-nowDate); // this.timeData = this.TimeInterval(biddingStartTime-nowDate);
this.isSignup=true;
if(this.getSignupData=="1"){ if(this.getSignupData=="1"){
this.isSignup=true;
this.btnMsg="立即竞价" this.btnMsg="立即竞价"
// this.price=this.detail.ladderPrice?this.biddinglistInformation[0].money+this.detail.ladderPrice:this.biddinglistInformation[0].money+1 // this.price=this.detail.ladderPrice?this.biddinglistInformation[0].money+this.detail.ladderPrice:this.biddinglistInformation[0].money+1
}else{ }else{
@@ -590,6 +592,7 @@ export default {
this.isSignup = true this.isSignup = true
this.showBtn = false this.showBtn = false
this.biddingTimeType = 2; this.biddingTimeType = 2;
$('#timeData').html('');
return; return;
} }
}); });


Loading…
取消
儲存