mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 04:52:52 +08:00
Merge branch 'dev' of http://112.124.100.131/GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -18,7 +18,7 @@ export default [
|
||||
name: 'congratulationList',
|
||||
component: congratulationList,
|
||||
meta: {
|
||||
title: '大榜单',
|
||||
title: '大单榜',
|
||||
index: 2
|
||||
}
|
||||
},
|
||||
@@ -27,7 +27,7 @@ export default [
|
||||
name: 'congratulationPreview',
|
||||
component: congratulationPreview,
|
||||
meta: {
|
||||
title: '大榜单',
|
||||
title: '大单榜',
|
||||
index: 3
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
deadline() {
|
||||
let now = new Date()
|
||||
let deadlineTime = now.getTime() - 1000 * 3600
|
||||
return dateUtil.formatDate(new Date(deadlineTime), 'yyyy-MM-dd HH:mm')
|
||||
return dateUtil.formatDate(new Date(deadlineTime), 'yyyy-MM-dd HH:mm:ss')
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -100,7 +100,13 @@ export default {
|
||||
this.showData.achievement.ranking = result.top
|
||||
this.showData.achievement.previousGap = result.xcbf
|
||||
this.showData.achievement.rankingBb = result.topBB
|
||||
this.showData.achievement.previousCbbbGap = result.xccbbb
|
||||
// 后端精度处理有问题, 让前端先直接截取处理
|
||||
if (result.xccbbb.includes('.')) {
|
||||
let nums = result.xccbbb.split('.')
|
||||
this.showData.achievement.previousCbbbGap = `${nums[0]}.${nums[1].substring(0, 2)}`
|
||||
} else {
|
||||
this.showData.achievement.previousCbbbGap = result.xccbbb
|
||||
}
|
||||
this.$toast.clear()
|
||||
},
|
||||
nextStep() {
|
||||
|
||||
Reference in New Issue
Block a user