From 72ed15ae345666cb54ff0d37e4c2a2ac56d7d44b Mon Sep 17 00:00:00 2001 From: Timi Date: Mon, 12 Oct 2026 16:18:06 +0800 Subject: [PATCH] update style --- src/assets/style/tdesign-custom.less | 38 +++++++++++++++++++++++++--- src/components/ai/AiChatComposer.vue | 2 ++ 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/src/assets/style/tdesign-custom.less b/src/assets/style/tdesign-custom.less index 729a37d..7ef3864 100644 --- a/src/assets/style/tdesign-custom.less +++ b/src/assets/style/tdesign-custom.less @@ -8,10 +8,23 @@ -webkit-transform: none; } -.swipe-cell-button { - height: 100%; - padding: 0 1rem; - border-radius: 0; +.cell-button { + --td-button-border-radius: 1rem; + + width: calc(100% - 2rem); + margin: 0 1rem; +} + +.t-swipe-cell { + + &__right { + + .t-button { + height: 100%; + padding: 0 1rem; + border-radius: 0; + } + } } .t-image-viewer { @@ -34,6 +47,14 @@ &:not(:last-child)::after { .cellSplit(); } + + .t-form__label { + color: var(--td-gray-color-9); + flex: none; + min-width: unset; + white-space: nowrap; + text-overflow: unset; + } } } @@ -55,6 +76,15 @@ } } +.cell-title-clip { + + .t-cell__title { + flex: 1 1 0; + overflow: hidden; + min-width: 0; + } +} + .t-divider { &::before, diff --git a/src/components/ai/AiChatComposer.vue b/src/components/ai/AiChatComposer.vue index b85ffa4..c07c8de 100644 --- a/src/components/ai/AiChatComposer.vue +++ b/src/components/ai/AiChatComposer.vue @@ -182,6 +182,8 @@ function submitMessage(): void { .form { --td-textarea-background-color: transparent; + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); border: 1px solid var(--td-component-border); margin: .5rem 0 0; display: flex;