From 00a7a61df86db969f2ba61c508d02ba4709ce3d4 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 05 六月 2026 10:09:06 +0800
Subject: [PATCH] 改bug

---
 app/pages/driver-certification/driver-certification.vue |   63 +++++++++++++++++++++++++++++--
 1 files changed, 59 insertions(+), 4 deletions(-)

diff --git a/app/pages/driver-certification/driver-certification.vue b/app/pages/driver-certification/driver-certification.vue
index f02537f..e1966bc 100644
--- a/app/pages/driver-certification/driver-certification.vue
+++ b/app/pages/driver-certification/driver-certification.vue
@@ -278,11 +278,20 @@
 			:minDate="datePickerMode === 'end' ? this.form.cardStartDate : 0"
 			@confirm="confirmDate"
 			@cancel="showDatePicker = false" />
+
+		<u-popup :show="showDriverCertPopup" mode="center" :mask-click="false" round="24">
+			<view class="driver-cert-notice">
+				<text class="driver-cert-notice__title">鍙告満璁よ瘉</text>
+				<text class="driver-cert-notice__content">瀹炲悕淇℃伅浠呯敤浜庡徃鏈轰粠涓氳祫璐ㄥ鏍搞�佸瘎瀛樿鍗曞饱绾︽牳楠屼笌璐︽埛瀹夊叏闃叉姢锛屾垜浠壙璇轰弗鏍间繚鎶ゆ偍鐨勯殣绉併�傛劅璋㈡偍鐨勪俊浠汇��</text>
+				<button class="driver-cert-notice__button" @click="acknowledgeDriverCertNotice">宸茬煡鏅�</button>
+			</view>
+		</u-popup>
 	</view>
 </template>
 
 <script>
     import { mapState } from 'vuex'
+	import { chooseImageWithNotice } from '@/utils/utils'
 	export default {
 		data() {
 			return {
@@ -344,18 +353,24 @@
 					otherImgUrls: []
 				},
 				isAgreed: false,
-				imgPrefix: ''
+				imgPrefix: '',
+				showDriverCertPopup: false
 			}
 		},
 		computed: {
 			...mapState(['userInfo'])
 		},
 		onLoad() {
+			this.showDriverCertPopup = this.userInfo.auditStatus == 99 && !uni.getStorageSync('driver_cert_notice_agreed')
 			this.getAreaList()
 			this.getCategoryList()
 			this.getVerifyDetail()
 		},
 		methods: {
+			acknowledgeDriverCertNotice() {
+				uni.setStorageSync('driver_cert_notice_agreed', true)
+				this.showDriverCertPopup = false
+			},
 			getMaritalStatusText(value) {
 				if (!value && value !== 0) return '璇烽�夋嫨'
 				const item = this.maritalOptions.find(option => option.value === String(value))
@@ -409,7 +424,7 @@
 					uni.showToast({ title: `鏈�澶氫笂浼�${maxCount}寮燻, icon: 'none' })
 					return
 				}
-				uni.chooseImage({
+				chooseImageWithNotice({
 					count: maxCount,
 					sizeType: ['compressed'],
 					sourceType: ['album', 'camera'],
@@ -419,7 +434,7 @@
 						const tempFilePaths = allTempPaths.slice(0, remaining)
 						this.uploadFiles(field, tempFilePaths, maxCount)
 					}
-				})
+				}).catch(() => {})
 			},
 			uploadFiles(field, tempFilePaths, maxCount) {
 				const uploadPath = this.uploadPaths[field]
@@ -1065,4 +1080,44 @@
 			color: #b7bdc7;
 		}
 	}
-</style>
\ No newline at end of file
+
+	.driver-cert-notice {
+		width: 620rpx;
+		padding: 48rpx 36rpx 36rpx;
+		background: #ffffff;
+		border-radius: 24rpx;
+		box-sizing: border-box;
+
+		&__title {
+			display: block;
+			text-align: center;
+			font-size: 34rpx;
+			font-weight: 600;
+			color: #222222;
+		}
+
+		&__content {
+			display: block;
+			margin-top: 28rpx;
+			font-size: 28rpx;
+			line-height: 1.7;
+			color: #555555;
+		}
+
+		&__button {
+			margin-top: 40rpx;
+			width: 100%;
+			height: 88rpx;
+			line-height: 88rpx;
+			border-radius: 44rpx;
+			background: #106efa;
+			font-size: 28rpx;
+			color: #ffffff;
+			padding: 0;
+
+			&::after {
+				border: 0;
+			}
+		}
+	}
+</style>

--
Gitblit v1.9.3