From 0512e645421178bc01612f4a1766127b66edc032 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Sat, 20 Jul 2024 15:56:04 +0800 Subject: [PATCH] 修复地址联动组件,回显数据时,部分列显示异常的问题 --- plugins/filter/cFilter.scss | 69 ++++------------------------------ 1 files changed, 9 insertions(+), 60 deletions(-) diff --git a/plugins/filter/cFilter.scss b/plugins/filter/cFilter.scss index 97f02f3..0487a22 100644 --- a/plugins/filter/cFilter.scss +++ b/plugins/filter/cFilter.scss @@ -3,16 +3,16 @@ * @author Tevin */ -@import "../../common/sassMixin"; +@import '../../common/sassMixin'; .c-filter { width: 100%; - height: 86px; - line-height: 86px; - font-size: 30px; + height: 90px; + line-height: 90px; + font-size: 36px; color: #666; background-color: #fff; - border-top: 1px solid #eee; + border-top: 1PX solid #eee; box-sizing: border-box; .c-filter-bar { float: left; @@ -31,7 +31,7 @@ box-sizing: border-box; text-align: center; border-left: 1PX solid #d6e4ef; - transition: background-color .3s; + transition: background-color 0.3s; &:active { background-color: #f2f2f2; } @@ -40,11 +40,11 @@ color: #36a0e7; &::after { display: block; - @include position(absolute, 20px n n 44px); + @include position(absolute, 20px n n 35px); width: 12px; height: 12px; - content: " "; - background-color: #36a0e7; + content: ' '; + background-color: $colorDanger; border-radius: 50%; } } @@ -83,57 +83,6 @@ color: #36a0e7; background-color: #d4f1f7; } - } - } - } -} - -.c-filter-select { - .content { - @include flexbox(flex, flex-start center); - white-space: nowrap; - .empty, - .value { - display: inline-block; - vertical-align: middle; - @include ellipsis(); - } - .empty { - color: #ccc; - } - .filled { - color: #6190e8; - } - .at-icon { - text-align: center; - color: #666; - } - } - &.type-bar { - .content { - height: 86px; - .label { - color: #666; - } - .at-icon { - padding-left: 4px; - vertical-align: middle; - } - } - } - &.type-item { - .label { - font-weight: bold; - color: #666; - line-height: 35px; - } - .content { - .empty, - .filled { - flex: 6; - } - .at-icon { - flex: 1; } } } -- Gitblit v1.9.1