From b0603133113f6ffab5bd2813a1045b18c84f07a7 Mon Sep 17 00:00:00 2001 From: hdx Date: Sat, 20 Jan 2024 16:34:12 +0800 Subject: [PATCH] =?UTF-8?q?components:=20rpx=20to=20px;=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84display:=20flex;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/api-set-tabbar/api-set-tabbar.vue | 292 +++++++++--------- components/boolean-data/boolean-data.vue | 74 ++--- components/enum-data/enum-data.vue | 2 +- components/input-data/input-data.vue | 7 +- components/page-head/page-head.vue | 4 +- components/u-link/u-link.vue | 116 +++---- .../uni-collapse-item/uni-collapse-item.vue | 250 +++++++-------- components/uni-collapse/uni-collapse.vue | 76 ++--- .../uni-navbar-lite/uni-navbar-lite.uvue | 3 - .../uni-navbar-lite/uni-navbar-lite.vue | 157 +++++----- 10 files changed, 488 insertions(+), 493 deletions(-) diff --git a/components/api-set-tabbar/api-set-tabbar.vue b/components/api-set-tabbar/api-set-tabbar.vue index 2d5186b2..f69939ac 100644 --- a/components/api-set-tabbar/api-set-tabbar.vue +++ b/components/api-set-tabbar/api-set-tabbar.vue @@ -1,156 +1,156 @@ diff --git a/components/boolean-data/boolean-data.vue b/components/boolean-data/boolean-data.vue index b14942b2..dc7f12bf 100644 --- a/components/boolean-data/boolean-data.vue +++ b/components/boolean-data/boolean-data.vue @@ -1,45 +1,45 @@ \ No newline at end of file + .button-data-main { + justify-content: space-between; + padding: 10px; + border-bottom: 1px solid rgba(0, 0, 0, .06); + } + diff --git a/components/enum-data/enum-data.vue b/components/enum-data/enum-data.vue index 5cbf838d..00f263a1 100644 --- a/components/enum-data/enum-data.vue +++ b/components/enum-data/enum-data.vue @@ -21,7 +21,7 @@ methods: { // @ts-ignore _change(e : RadioGroupChangeEvent) { - const selected = this.items.find((item: ItemType) : boolean => { + const selected = this.items.find((item : ItemType) : boolean => { return item.name == e.detail.value }) if (selected != null) { diff --git a/components/input-data/input-data.vue b/components/input-data/input-data.vue index 74b8baa6..7ba87459 100644 --- a/components/input-data/input-data.vue +++ b/components/input-data/input-data.vue @@ -82,7 +82,8 @@ - + @@ -95,7 +96,7 @@ flex-direction: row; justify-content: center; padding: 0; - margin: 0 20rpx; + margin: 0 10px; flex-direction: row; flex-wrap: nowrap; background-color: #ffffff; @@ -105,6 +106,6 @@ width: 22px; height: 22px; align-self: center; - margin-right: 10rpx; + margin-right: 5px; } diff --git a/components/page-head/page-head.vue b/components/page-head/page-head.vue index 23b6af42..5c419e69 100644 --- a/components/page-head/page-head.vue +++ b/components/page-head/page-head.vue @@ -18,11 +18,11 @@ diff --git a/components/uni-collapse-item/uni-collapse-item.vue b/components/uni-collapse-item/uni-collapse-item.vue index 6d5ff955..f8d5dce3 100644 --- a/components/uni-collapse-item/uni-collapse-item.vue +++ b/components/uni-collapse-item/uni-collapse-item.vue @@ -1,140 +1,140 @@ + .uni-collapse-item__content-box { + width: 100%; + transition-property: transform, opacity; + transition-duration: 0.2s; + transform: translateY(-100%); + opacity: 0; + } + diff --git a/components/uni-collapse/uni-collapse.vue b/components/uni-collapse/uni-collapse.vue index 672a78d9..ca8fe82d 100644 --- a/components/uni-collapse/uni-collapse.vue +++ b/components/uni-collapse/uni-collapse.vue @@ -1,46 +1,46 @@ -- GitLab