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}} + 已完成