From 4d8e61ec448b4c5246478e75d5e8763a14bc5b5e Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 02 二月 2024 20:55:51 +0800
Subject: [PATCH] fix:验质功能修复

---
 pages/public-page/selectSpecifications/selectSpecifications.vue |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/pages/public-page/selectSpecifications/selectSpecifications.vue b/pages/public-page/selectSpecifications/selectSpecifications.vue
index 1766060..f3a6f58 100644
--- a/pages/public-page/selectSpecifications/selectSpecifications.vue
+++ b/pages/public-page/selectSpecifications/selectSpecifications.vue
@@ -34,13 +34,14 @@
 						<u-icon name="arrow-right"
 							slot="right-icon"
 							size="30"></u-icon></u-cell> -->
-							<niceui-data-select-input
+							<!-- <niceui-data-select-input
 							v-model="dataForm.secondClass"
 							:localdata="secondClassActionsList"
 							@change="change"
 							:value="dataForm.secondClass"
 							class="uni-px-5 uni-pb-5"
-							></niceui-data-select-input>
+							></niceui-data-select-input> -->
+							<uni-combox  :candidates="secondClassActionsList" placeholder="璇烽�夋嫨浜岀骇鍝佸悕" v-model="dataForm.secondClass"></uni-combox>
 				</u-cell-group>
 			</u-form-item>
 			<u-form-item 
@@ -275,11 +276,7 @@
 							uni.hideLoading();
 							console.log(res.data,'result')
 							this.secondClassActionsList = res.data.map(v => {
-								return {
-									...v,
-									value: v.secondCategoryName,
-									text:v.secondCategoryName
-								}
+								return v.secondCategoryName
 							})
 							// if(this.secondClassActionsList .length){
 							// 	this.dataForm.secondClass = this.secondClassActionsList[0].value;
@@ -288,10 +285,7 @@
 				// 		}
 							if(params.actionObj){
 								let {breed,spec} = JSON.parse(params.actionObj);
-								 this.secondClassActionsList.unshift({
-									value:breed,
-									text:breed
-								})
+								 this.secondClassActionsList.unshift(breed)
 							this.dataForm.specifications= spec;;
 							this.dataForm.secondClass= breed;
 							this.dataForm.firstClass= JSON.parse(params.actionObj).firstClass || '';
@@ -538,6 +532,10 @@
 		margin: 10px;
 		position: relative;
 	}
+	/deep/	.uni-combox  {
+			z-index: 99999!important
+	}
+	
 
 	.slide-fade-enter-active {
 		transition: all 0.3s ease-out;
@@ -567,4 +565,5 @@
 			}
 		}
 	}
+	
 </style>
\ No newline at end of file

--
Gitblit v1.9.1