From 5c2decc75ac02ba4409375efc4f793b02c505296 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 23 十月 2023 18:53:10 +0800 Subject: [PATCH] 司机注册增加图片字段 司机首页样式更改 --- pages/public-page/forward/forward.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue index 040efbe..76265d2 100644 --- a/pages/public-page/forward/forward.vue +++ b/pages/public-page/forward/forward.vue @@ -15,7 +15,7 @@ <u-notice-bar :text="text" :fontSize="30"></u-notice-bar> <view class="notice-icon" - style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;"> + style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;"> </view> </view> <view v-else-if="roleType == 2" @@ -388,10 +388,12 @@ }, 0); console.log(total, '鎻愮叅鍗曚竴鍏辩殑鏁版嵁'); if (this.roleType == 1) { - if (Number(this.cars2) >= total) { + if (Number(this.cars2) > total) { this.carNumSurplus1 = Number(this.cars2) - total; this.whetherClick = false; this.whetherClick1 = false; + } else if (Number(this.cars2) == total) { + this.whetherClick = true; } else { this.carNumSurplus1 = 0; this.$u.toast('鍓╀綑鎻愮叅鍗曟暟閲忎笉瓒�'); @@ -400,10 +402,12 @@ } } if (this.roleType == 2) { - if (Number(this.carNum) >= total) { + if (Number(this.carNum) > total) { this.carNumSurplusHuodai = Number(this.carNum) - total; this.whetherClick = false; this.whetherClick1 = false; + } else if (Number(this.carNum) == total) { + this.whetherClick = true; } else { this.carNumSurplusHuodai = 0; this.$u.toast('鍓╀綑鎻愮叅鍗曟暟閲忎笉瓒�'); -- Gitblit v1.9.1