Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 877873ad
authored
Mar 16, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 列表倒计时结束未刷新页面问题修改
1 parent
2d4fd797
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
aus-front/app/src/components/AuctionVehicleItem.vue
aus-front/app/src/components/VehicleCoverWrapper.vue
aus-front/app/src/module/auction/roundBidBottom.vue
aus-front/app/src/components/AuctionVehicleItem.vue
View file @
877873a
<
template
>
<
template
>
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
></vehicle-cover-wrapper>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
@
emitLoadListData=
"emitLoadListData"
></vehicle-cover-wrapper>
<view
class=
"recharge-info"
>
<view
class=
"recharge-info"
>
<text
class=
"car-name"
>
【
{{
cityName
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-name"
>
【
{{
cityName
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
...
@@ -63,7 +63,12 @@ export default class AuctionVehicleItem extends AbstractVehicleItem {
...
@@ -63,7 +63,12 @@ export default class AuctionVehicleItem extends AbstractVehicleItem {
}).
finally
(()
=>
uni
.
hideLoading
());
}).
finally
(()
=>
uni
.
hideLoading
());
}
}
emitLoadListData
():
void
{
const
that
=
this
;
setTimeout
(()
=>
{
that
.
$emit
(
'emitLoadList'
);
},
1600
);
}
}
}
</
script
>
</
script
>
...
...
aus-front/app/src/components/VehicleCoverWrapper.vue
View file @
877873a
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<view
class=
"tag-item"
>
<view
class=
"tag-item"
>
<
template
v-if=
"auctionVehicle.auctionState==='PREVIEW'"
>
<
template
v-if=
"auctionVehicle.auctionState==='PREVIEW'"
>
<template
v-if=
"previewLessThen24h"
>
<template
v-if=
"previewLessThen24h"
>
<van-count-down
v-if=
"Number(previewCountDown) > 0 "
class=
"white-small-count-down"
:time=
"previewCountDown"
format=
"HH:mm:ss 后开拍"
@
finish=
"
c
ountDownBidStart"
/>
<van-count-down
v-if=
"Number(previewCountDown) > 0 "
class=
"white-small-count-down"
:time=
"previewCountDown"
format=
"HH:mm:ss 后开拍"
@
finish=
"
finishC
ountDownBidStart"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
{{
previewStatus
}}
{{
previewStatus
}}
...
@@ -56,6 +56,11 @@ import AbstractVehicleItem from "@/components/AbstractVehicleItem";
...
@@ -56,6 +56,11 @@ import AbstractVehicleItem from "@/components/AbstractVehicleItem";
})
})
export
default
class
VehicleCoverWrapper
extends
AbstractVehicleItem
{
export
default
class
VehicleCoverWrapper
extends
AbstractVehicleItem
{
finishCountDownBidStart
():
void
{
this
.
countDownBidStart
();
this
.
$emit
(
'emitLoadListData'
);
}
}
}
</
script
>
</
script
>
...
...
aus-front/app/src/module/auction/roundBidBottom.vue
View file @
877873a
...
@@ -328,6 +328,7 @@ export default class roundBidBottom extends Vue {
...
@@ -328,6 +328,7 @@ export default class roundBidBottom extends Vue {
//获取轮询拍卖详情
//获取轮询拍卖详情
getBidRemainSecData
()
{
getBidRemainSecData
()
{
const
that
=
this
;
AuctionOrderController
.
getBidRemainSec
(
this
.
axios
,
{
aucvehId
:
this
.
auctionVehicle
.
aucvehId
}).
then
(
res
=>
{
AuctionOrderController
.
getBidRemainSec
(
this
.
axios
,
{
aucvehId
:
this
.
auctionVehicle
.
aucvehId
}).
then
(
res
=>
{
const
data
=
res
.
data
?.
data
||
{};
const
data
=
res
.
data
?.
data
||
{};
//价格改变重新获取佣金
//价格改变重新获取佣金
...
@@ -347,8 +348,9 @@ export default class roundBidBottom extends Vue {
...
@@ -347,8 +348,9 @@ export default class roundBidBottom extends Vue {
}
}
if
(
data
.
significantPriceIncrease
)
{
if
(
data
.
significantPriceIncrease
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
showToast
({
title
:
'有用户大幅度加价!最新价升至'
+
this
.
resultPrice
+
'万'
,
icon
:
'none'
});
that
.
resultPrice
=
(
Number
(
that
.
pageData
.
price
||
0
)
+
Number
(
that
.
pageData
.
commissionPrice
||
0
))
/
10000
;
},
700
);
uni
.
showToast
({
title
:
'有用户大幅度加价!最新价升至'
+
that
.
resultPrice
+
'万'
,
icon
:
'none'
});
},
800
);
}
}
const
pages
=
getCurrentPages
();
const
pages
=
getCurrentPages
();
const
currentPage
=
pages
[
pages
.
length
-
1
];
const
currentPage
=
pages
[
pages
.
length
-
1
];
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment