From 55bf797dcc730b37bc691ebab2b51ff9db8ed245 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 17:37:23 +0800 Subject: [PATCH] 修改代码样式 --- HIAWms/web/src/components/Radio/Radio.module.scss | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 109 insertions(+), 0 deletions(-) diff --git a/HIAWms/web/src/components/Radio/Radio.module.scss b/HIAWms/web/src/components/Radio/Radio.module.scss new file mode 100644 index 0000000..546fd97 --- /dev/null +++ b/HIAWms/web/src/components/Radio/Radio.module.scss @@ -0,0 +1,109 @@ +.tag { + height: 24px; + line-height: 20px; + text-align: center; + background: #FFFFFF; + border-radius: 19px; + border: 1px dashed #BCC4CC; + font-size: 14px; + font-weight: 400; + color: #333333; + font-family: PingFang SC, PingFang SC; + padding: 2px 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + color: #5A84FF; +} + +// 娴姩灞� +.dropdown { + width: 180px; + max-height: 236px; + background: #ffffff; + box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16); + border-radius: 6px 6px 6px 6px; + + :global(.cs-popper__arrow) { + display: none; + } + + :global(.cs-dropdown-menu__item) { + padding-left: 19px; + box-sizing: border-box; + color: #333; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + + + + + &:hover { + width: 172px; + height: 32px; + background: #ececec; + border-radius: 6px 6px 6px 6px; + margin-left: 3px; + color: #333; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + padding-left: 0; + padding-right: 0; + + .fitTag { + padding: 0 19px; + box-sizing: border-box; + background: #5A84FF; + color: #ffffff; + width: fit-content; + max-width: 100%; + height: 24px; + background: #5A84FF; + border-radius: 19px 19px 19px 19px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + + } + + .lineTag { + width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + } +} + + + +.pl { + height: 24px; + background: #FFFFFF; + border-radius: 19px; + border: 1px dashed #BCC4CC; + font-size: 14px; + font-weight: 400; + color: #333333; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + padding: 2px 10px; + min-width: 112px; + width: auto; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: flex; + align-items: center; + justify-self: center; + justify-content: center; +} + +.tagClose { + cursor: pointer; + margin-left: 5px; +} \ No newline at end of file -- Gitblit v1.9.3