bug
This commit is contained in:
@@ -87,7 +87,12 @@ export default {
|
|||||||
images: JSON.parse(res.data.images),
|
images: JSON.parse(res.data.images),
|
||||||
messages: res.data.messages || [],
|
messages: res.data.messages || [],
|
||||||
}
|
}
|
||||||
this.timestamp = new Date(res.data.discussDeadline).getTime()
|
var discussTime = (new Date(res.data.discussDeadline).getTime() * 1) / 1000
|
||||||
|
var nowTime = (new Date().getTime() * 1) / 1000
|
||||||
|
if (discussTime >= nowTime) {
|
||||||
|
this.timestamp = discussTime - nowTime
|
||||||
|
}
|
||||||
|
console.log(res.data.discussDeadline, this.timestamp)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -130,7 +135,7 @@ export default {
|
|||||||
.Detail {
|
.Detail {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding-bottom: 112px;
|
// padding-bottom: 112px;
|
||||||
|
|
||||||
::v-deep.AiTopFixed {
|
::v-deep.AiTopFixed {
|
||||||
border-bottom: 16px solid #f6f7f9;
|
border-bottom: 16px solid #f6f7f9;
|
||||||
@@ -220,12 +225,16 @@ export default {
|
|||||||
.totalCount {
|
.totalCount {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: 44px;
|
|
||||||
.total {
|
.total {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
padding-top: 44px;
|
||||||
|
}
|
||||||
|
.rightCount {
|
||||||
|
padding-top: 44px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user