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 f032e6cc
authored
Mar 10, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 小程序页面修改
1 parent
14be5069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
20 deletions
aus-front/app/src/module/auction/roundBidBottom.vue
aus-front/app/src/module/auction/roundBidBottom.vue
View file @
f032e6c
...
...
@@ -61,7 +61,8 @@
</view>
<view
class=
"upBox_add"
>
<view
class=
"upBox_second"
>
{{
pageData
.
remainSecond
}}
秒
</view>
<view
@
click=
"handleAddBid()"
class=
"progress-circle-up"
style=
"--progress:
{{
progressValue
}}
%">
<view
@
click=
"handleAddBid()"
class=
"progress-circle-up"
:style=
"
{ '--progress': progressValue + '%' }">
<view
class=
"progress-inner-up"
>
<text
class=
"progress-value"
style=
"font-size: 12px;"
>
+
{{
addPrice
}}
</text>
</view>
...
...
@@ -97,7 +98,8 @@
</view>
<view
class=
"downBox_right"
>
<view
class=
"downBox_second"
>
{{
pageData
.
remainSecond
}}
秒
</view>
<view
@
click=
"handleAddBid()"
class=
"progress-circle"
style=
"--progress:
{{
progressValue
}}
%">
<view
@
click=
"handleAddBid()"
class=
"progress-circle"
:style=
"
{ '--progress': progressValue + '%' }">
<view
class=
"progress-inner"
>
<text
class=
"progress-value"
>
+
{{
addPrice
}}
</text>
</view>
...
...
@@ -215,7 +217,7 @@ export default class roundBidBottom extends Vue {
customBid
=
''
;
//自定义出价
resultPrice
=
0
;
// 最终成交价
progressValue
=
0
;
// 进度值
progressValue
=
10
0
;
// 进度值
isAudio
=
false
;
// 是否是语音出价
//自定义金额
...
...
@@ -315,7 +317,7 @@ export default class roundBidBottom extends Vue {
this
.
pageState
=
'END'
;
setTimeout
(()
=>
{
this
.
getAccountBidResultData
();
},
1
0
00
);
},
1
1
00
);
}
// 获取当前路由地址
...
...
@@ -331,13 +333,6 @@ export default class roundBidBottom extends Vue {
});
}
//计算进度
calcProgress
()
{
const
aucvehDuration
=
JSON
.
parse
(
this
.
auctionVehicle
?.
auction
?.
extraJson
||
'{}'
)?.
aucvehDuration
||
0
;
const
progress
=
(
this
.
pageData
.
remainSecond
||
0
)
/
Number
(
aucvehDuration
||
0
);
this
.
progressValue
=
Math
.
floor
(
progress
*
100
);
}
//获取拍卖佣金
realCalcCommissionPriceData
()
{
AuctionOrderController
.
realCalcCommissionPrice
(
this
.
axios
,
{
aucvehId
:
this
.
auctionVehicle
.
aucvehId
}).
then
(
res
=>
{
...
...
@@ -405,14 +400,6 @@ export default class roundBidBottom extends Vue {
});
}
//展开收起
handleFoldState
(
state
:
string
)
{
this
.
foldState
=
state
;
if
(
state
==
'UP'
&&
!
this
.
addPrice
)
{
this
.
addPrice
=
'100'
;
}
}
//金额操作按钮
handleOperationBut
(
value
:
string
)
{
if
(
value
!=
'自定义'
)
{
...
...
@@ -454,6 +441,24 @@ export default class roundBidBottom extends Vue {
});
}
//展开收起
handleFoldState
(
state
:
string
)
{
this
.
foldState
=
state
;
if
(
state
==
'UP'
&&
!
this
.
addPrice
)
{
this
.
addPrice
=
'100'
;
}
}
//计算进度
calcProgress
()
{
const
aucvehDuration
=
JSON
.
parse
(
this
.
auctionVehicle
?.
auction
?.
extraJson
||
'{}'
)?.
aucvehDuration
||
0
;
if
(
Number
(
aucvehDuration
)
>
0
)
{
const
progress
=
(
this
.
pageData
.
remainSecond
||
0
)
/
Number
(
aucvehDuration
);
this
.
progressValue
=
100
-
Math
.
floor
(
progress
*
100
);
}
else
{
this
.
progressValue
=
100
;
}
}
}
</
script
>
...
...
@@ -950,7 +955,7 @@ export default class roundBidBottom extends Vue {
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border
:
5
px
solid
#ffffff
;
border
:
2
px
solid
#ffffff
;
}
.progress-value
{
...
...
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