From 19d17f0f0fb02f46342d70b5180e40a0ad1b66d3 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 09 十一月 2023 18:16:13 +0800
Subject: [PATCH] MrShi

---
 bicycle/pages/problemReporting/problemReporting.vue |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/bicycle/pages/problemReporting/problemReporting.vue b/bicycle/pages/problemReporting/problemReporting.vue
index 0f9315b..c7284c6 100644
--- a/bicycle/pages/problemReporting/problemReporting.vue
+++ b/bicycle/pages/problemReporting/problemReporting.vue
@@ -35,6 +35,9 @@
 							</view>
 							<image class="close" @click="dele(index)" src="@/static/icon/ic_clean@2x1.png" mode="widthFix"></image>
 						</view>
+						<view class="form_item_uplaod_list_item1"></view>
+						<view class="form_item_uplaod_list_item1"></view>
+						<view class="form_item_uplaod_list_item1"></view>
 					</view>
 					<textarea v-model="from.info" placeholder="璇疯缁嗘弿杩扮幇鍦烘儏鍐碉紝涓嶅皯浜�10涓瓧"></textarea>
 				</view>
@@ -136,6 +139,10 @@
 						uni.showToast({ title: '杞﹁締闂涓嶈兘涓虹┖', icon: 'none', duration: 2000 });
 						return
 					}
+					if (this.from.info.length < 10) {
+						uni.showToast({ title: '鏈�灏戝瓧鏁颁笉鑳戒綆浜�10涓瓧', icon: 'none', duration: 2000 });
+						return
+					} 
 					this.isEnd = false
 					this.$u.api.saveRepair({
 						addr: this.from.address,
@@ -154,9 +161,9 @@
 						if (res.code === 200) {
 							uni.showToast({ title: '涓婃姤鎴愬姛', icon: 'success', duration: 2000 });
 							this.isEnd = true
-							setTimeout(() => {
+							// setTimeout(() => {
 								uni.navigateBack({ delta: 1 });
-							}, 2000)
+							// }, 2000)
 						}
 					})
 				}
@@ -550,6 +557,11 @@
 								height: 100%;
 							}
 						}
+						
+						.form_item_uplaod_list_item1 {
+							width: 22%;
+							height: 0;
+						}
 
 						.form_item_uplaod_list_item {
 							width: 22%;

--
Gitblit v1.9.3