hookehuyr

fix 修改支付倒计时显示

...@@ -337,7 +337,7 @@ function formatTime(seconds) { ...@@ -337,7 +337,7 @@ function formatTime(seconds) {
337 formattedTime += minutes.toString().padStart(2, "0") + ":"; 337 formattedTime += minutes.toString().padStart(2, "0") + ":";
338 } 338 }
339 339
340 - formattedTime += remainingSeconds.toString().padStart(2, "0"); 340 + formattedTime += "00:" + remainingSeconds.toString().padStart(2, "0");
341 341
342 return formattedTime; 342 return formattedTime;
343 } 343 }
...@@ -430,7 +430,8 @@ onMounted(async () => { ...@@ -430,7 +430,8 @@ onMounted(async () => {
430 order_num.value = props.data.order_num; 430 order_num.value = props.data.order_num;
431 plan_in.value = props.data.plan_in; 431 plan_in.value = props.data.plan_in;
432 plan_out.value = props.data.plan_out; 432 plan_out.value = props.data.plan_out;
433 - remain_time.value = props.data.pay_time; 433 + // remain_time.value = props.data.pay_time;
434 + remain_time.value = 50;
434 contact_name.value = props.data.contact_name; 435 contact_name.value = props.data.contact_name;
435 contact_phone.value = props.data.contact_phone; 436 contact_phone.value = props.data.contact_phone;
436 order_remark.value = props.data.order_remark; 437 order_remark.value = props.data.order_remark;
......
1 <!-- 1 <!--
2 * @Date: 2023-12-20 14:11:11 2 * @Date: 2023-12-20 14:11:11
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-12-29 16:14:15 4 + * @LastEditTime: 2023-12-29 17:47:15
5 * @FilePath: /meihuaApp/src/components/payCard.vue 5 * @FilePath: /meihuaApp/src/components/payCard.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -43,7 +43,7 @@ function formatTime(seconds) { ...@@ -43,7 +43,7 @@ function formatTime(seconds) {
43 formattedTime += minutes.toString().padStart(2, "0") + ":"; 43 formattedTime += minutes.toString().padStart(2, "0") + ":";
44 } 44 }
45 45
46 - formattedTime += remainingSeconds.toString().padStart(2, "0"); 46 + formattedTime += "00:" + remainingSeconds.toString().padStart(2, "0");
47 47
48 return formattedTime; 48 return formattedTime;
49 } 49 }
......