From 712d73d2b09fd8e74f9d494289f9676341fbd392 Mon Sep 17 00:00:00 2001 From: qixv-0506 <935852521@qq.com> Date: Tue, 8 Aug 2023 21:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E6=AE=B5=E5=99=A8?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=B5=8B=E5=80=BC=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tn-subsection/tn-subsection.vue | 806 +++++++++--------- 1 file changed, 405 insertions(+), 401 deletions(-) diff --git a/tuniao-ui/components/tn-subsection/tn-subsection.vue b/tuniao-ui/components/tn-subsection/tn-subsection.vue index c47f41f..fef2dc6 100644 --- a/tuniao-ui/components/tn-subsection/tn-subsection.vue +++ b/tuniao-ui/components/tn-subsection/tn-subsection.vue @@ -1,410 +1,414 @@ + .tn-subsection { + /* #ifndef APP-PLUS */ + display: flex; + flex-direction: row; + /* #endif */ + align-items: center; + overflow: hidden; + position: relative; + + &__item { + /* #ifndef APP-PLUS */ + display: flex; + flex-direction: row; + /* #endif */ + flex: 1; + text-align: center; + font-size: 26rpx; + height: 100%; + align-items: center; + justify-content: center; + color: #FFFFFF; + padding: 0 6rpx; + + + &--text { + transition: all 0.3s; + color: #FFFFFF; + /* #ifndef APP-PLUS */ + display: flex; + flex-direction: row; + /* #endif */ + align-items: center; + position: relative; + z-index: 3; + } + + &--first { + border-top-left-radius: 8rpx; + border-bottom-left-radius: 8rpx; + } + + &--last { + border-top-right-radius: 8rpx; + border-bottom-right-radius: 8rpx; + } + + &--none-border-right { + border-right: none !important; + } + } + + &__bg { + background-color: $tn-main-color; + position: absolute; + z-index: -1; + transition-property: all; + transition-duration: 0s; + transition-timing-function: linear; + + &__animation { + transition-duration: 0.25s !important; + + &--cubic-bezier { + transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55) !important; + } + } + } + } + \ No newline at end of file