Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
meihua-island-book
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-12-29 17:52:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
20eef6dd6266433c37aaffaa7a93e28dc9c2c65e
20eef6dd
1 parent
e6ee3994
fix 修改支付倒计时显示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/components/orderCard.vue
src/components/payCard.vue
src/components/orderCard.vue
View file @
20eef6d
...
...
@@ -337,7 +337,7 @@ function formatTime(seconds) {
formattedTime += minutes.toString().padStart(2, "0") + ":";
}
formattedTime += remainingSeconds.toString().padStart(2, "0");
formattedTime +=
"00:" +
remainingSeconds.toString().padStart(2, "0");
return formattedTime;
}
...
...
@@ -430,7 +430,8 @@ onMounted(async () => {
order_num.value = props.data.order_num;
plan_in.value = props.data.plan_in;
plan_out.value = props.data.plan_out;
remain_time.value = props.data.pay_time;
// remain_time.value = props.data.pay_time;
remain_time.value = 50;
contact_name.value = props.data.contact_name;
contact_phone.value = props.data.contact_phone;
order_remark.value = props.data.order_remark;
...
...
src/components/payCard.vue
View file @
20eef6d
<!--
* @Date: 2023-12-20 14:11:11
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-29 1
6:14
:15
* @LastEditTime: 2023-12-29 1
7:47
:15
* @FilePath: /meihuaApp/src/components/payCard.vue
* @Description: 文件描述
-->
...
...
@@ -43,7 +43,7 @@ function formatTime(seconds) {
formattedTime += minutes.toString().padStart(2, "0") + ":";
}
formattedTime += remainingSeconds.toString().padStart(2, "0");
formattedTime +=
"00:" +
remainingSeconds.toString().padStart(2, "0");
return formattedTime;
}
...
...
Please
register
or
login
to post a comment