From 10802093b53912413414e673c4ac008529c60fd2 Mon Sep 17 00:00:00 2001 From: LuoShijie Date: Thu, 9 Nov 2023 21:32:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=97=E4=B8=96=E6=9D=B0=EF=BC=9Afeat?= =?UTF-8?q?=EF=BC=9A=E5=AE=8C=E6=88=90Dropdown=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E5=B0=81=E8=A3=85=20fix=EF=BC=9A=E6=9B=B4=E6=94=B9=E4=BA=86pub?= =?UTF-8?q?ulishSlide=E7=9A=84=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/DropDown/DropDown.vue | 56 +++++++++++++++--- components/DropDown/DropDownItem.vue | 61 ++++++++++++++++++-- components/InputAndSwiper/InputAndSwiper.vue | 6 +- components/publishSlide/publishSlide.vue | 2 +- pages/shopAddress/shopAddress.vue | 33 +++++++++-- pages/shopTransfer/shopTransfer.vue | 29 +++++++--- 6 files changed, 159 insertions(+), 28 deletions(-) diff --git a/components/DropDown/DropDown.vue b/components/DropDown/DropDown.vue index c3bec0a..f72e5d6 100644 --- a/components/DropDown/DropDown.vue +++ b/components/DropDown/DropDown.vue @@ -1,14 +1,15 @@ @@ -47,12 +72,23 @@ color: #CC3333; } .container{ - + margin-top: 10px; + position: relative; + .tabs-bg { + position: absolute; + background-color: $uni-bg-color-grey; + height: 120rpx; + width: 100%; + transform: translateY(-20rpx); + z-index: 2; + } .tabs{ background-color: #fff; height: 100rpx; display: flex; justify-content: space-around; + position: relative; + z-index: 3; } .title-view { display: flex; @@ -70,5 +106,9 @@ justify-content: center; } } - + .item-border{ + position: absolute; + width: 100%; + height: 100%; + } \ No newline at end of file diff --git a/components/DropDown/DropDownItem.vue b/components/DropDown/DropDownItem.vue index 4bcb550..87ce2f2 100644 --- a/components/DropDown/DropDownItem.vue +++ b/components/DropDown/DropDownItem.vue @@ -1,18 +1,69 @@ \ No newline at end of file diff --git a/components/InputAndSwiper/InputAndSwiper.vue b/components/InputAndSwiper/InputAndSwiper.vue index 77316e2..4fcf43c 100644 --- a/components/InputAndSwiper/InputAndSwiper.vue +++ b/components/InputAndSwiper/InputAndSwiper.vue @@ -1,5 +1,5 @@ @@ -31,11 +35,22 @@ } -