From e6e606ca0e899d6ab15f31d63cf5385428110ed2 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 20 May 2024 13:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=89=AB=E6=8F=8FGo=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=B6=85=E5=87=BA=E6=BB=9A=E5=8A=A8+=E5=8E=BB?= =?UTF-8?q?=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/jobList/jobList.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mycomponents/jobList/jobList.vue b/src/mycomponents/jobList/jobList.vue index 194edf9c..da9c9711 100644 --- a/src/mycomponents/jobList/jobList.vue +++ b/src/mycomponents/jobList/jobList.vue @@ -37,7 +37,11 @@ import { onShow } from '@dcloudio/uni-app'; }, methods:{ openList(list){ - this.list = list + list.forEach(item=>{ + if(!this.list.find(subItem=>subItem.title==item.title)){ + this.list.push(item) + } + }) this.$refs.listPopup.open('center') }, selectItem(item,index){ @@ -54,15 +58,20 @@ import { onShow } from '@dcloudio/uni-app'; align-items: center; .list{ width: 80%; + max-height:80vh; + overflow-y: auto; border-radius: 10px !important; - overflow: hidden; .slot-image{ width: 40rpx; } .go{ color: rgb(60, 156, 255); } + } } + .list ::v-deep .uni-list--border{ + border: 1rpx solid #e5e5e5; + } \ No newline at end of file