From 12ea9433a91e5872650a132381ee77989e065f3c Mon Sep 17 00:00:00 2001
From: shuxiaoquan <853623962@qq.com>
Date: Tue, 19 Mar 2024 08:57:26 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/login/index.vue | 27 +++++++++++++++++----------
pages/news/recycling/order.vue | 19 ++++++++++++-------
pages/news/recycling/orderDetail.vue | 18 ++++++++++++------
pages/user/index.vue | 17 +++++++----------
4 files changed, 48 insertions(+), 33 deletions(-)
diff --git a/pages/login/index.vue b/pages/login/index.vue
index 52a8bcd..e630e43 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -18,7 +18,7 @@
获取验证码
- {{ countdown }}
+ {{ countdown }}s
{
- if (that.countdown >= 1) {
- that.countdown = that.countdown - 1;
- } else {
- that.showCountDown = false;
- that.countdown = 60;
- clearInterval(that.countDownFun);
- }
- }, 1000);
+
CaptchaApi.sendSmsCaptcha({
form: {
mobile: that.phoneNum,
},
}).then((res) => {
if (res.status == 200) {
+ that.countDownFun = setInterval(() => {
+ if (that.countdown >= 1) {
+ that.countdown = that.countdown - 1;
+ } else {
+ that.showCountDown = false;
+ that.countdown = 60;
+ clearInterval(that.countDownFun);
+ }
+ }, 1000);
uni.showToast({
+ icon:"none",
title: res.message,
});
} else {
uni.showToast({
+ icon:"none",
title: res.message,
});
}
diff --git a/pages/news/recycling/order.vue b/pages/news/recycling/order.vue
index bdb975d..21ed10c 100644
--- a/pages/news/recycling/order.vue
+++ b/pages/news/recycling/order.vue
@@ -11,8 +11,10 @@
{{infor.username}}
{{infor.mobile}}
-
+
+ {{infor.shipping_address+infor.house_number}}
+
@@ -301,7 +303,7 @@
.l {
width: 694rpx;
- height: 276rpx;
+ min-height: 276rpx;
background: #FFFFFF;
border-radius: 10rpx;
padding: 30rpx;
@@ -310,10 +312,13 @@
margin-top: 30rpx;
.a {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
+ overflow: hidden;
+ .address{
+ margin-left: 40rpx;
+ margin-top: 10rpx;
+ font-size: 26rpx;
+ color: #666;
+ }
.name {
display: flex;
align-items: center;
diff --git a/pages/news/recycling/orderDetail.vue b/pages/news/recycling/orderDetail.vue
index 79b10cd..bea532f 100644
--- a/pages/news/recycling/orderDetail.vue
+++ b/pages/news/recycling/orderDetail.vue
@@ -9,8 +9,10 @@
{{info.username}}
{{info.mobile}}
-
-
+
+
+ {{info.shipping_address+info.house_number}}
+
@@ -253,7 +255,7 @@
&-hd{
.l{
width: 694rpx;
- height: 276rpx;
+ min-height: 276rpx;
background: #FFFFFF;
border-radius: 10rpx;
padding: 30rpx;
@@ -261,9 +263,13 @@
margin: 0 auto;
margin-top: 30rpx;
.a{
- display: flex;
- align-items: center;
- justify-content: space-between;
+ overflow: hidden;
+ .address{
+ margin-left: 40rpx;
+ margin-top: 10rpx;
+ font-size: 26rpx;
+ color: #666;
+ }
.name{
display: flex;
align-items: center;
diff --git a/pages/user/index.vue b/pages/user/index.vue
index fd8178f..c261c59 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -203,8 +203,8 @@
- {{orderTodoInfo.goods_order.finish_number>=100?"99+":orderTodoInfo.goods_order.finish_number}}
+
已完成
@@ -244,8 +244,8 @@
- {{orderTodoInfo.service_order.check_number}}
+
已完成
@@ -277,16 +277,14 @@
- {{orderTodoInfo.recovery_order.cancel_number>=100?"99+":orderTodoInfo.recovery_order.cancel_number}}
+
已取消
- {{orderTodoInfo.recovery_order.finish_number>=100?"99+":orderTodoInfo.recovery_order.finish_number}}
+
已完成
@@ -329,8 +327,7 @@
- {{orderTodoInfo.distribution_order.finish_number}}
+
已完成