perf: BorderRadius 6px

pull/31/head
xingyu 2023-08-12 18:23:53 +08:00
parent 2396fb4669
commit 4ee3977f80
8 changed files with 8 additions and 9 deletions

View File

@ -44,7 +44,7 @@ const { t } = useI18n()
padding-bottom: 2px; padding-bottom: 2px;
margin-right: 0.4em; margin-right: 0.4em;
background-color: linear-gradient(-225deg, #d5dbe4, #f8f8f8); background-color: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
border-radius: 2px; border-radius: 4px;
box-shadow: box-shadow:
inset 0 -2px 0 0 #cdcde6, inset 0 -2px 0 0 #cdcde6,
inset 0 0 1px 1px #fff, inset 0 0 1px 1px #fff,

View File

@ -224,7 +224,7 @@ function handleClose() {
// color: @text-color-base; // color: @text-color-base;
cursor: pointer; cursor: pointer;
background-color: var(--component-background); background-color: var(--component-background);
border-radius: 4px; border-radius: 6px;
box-shadow: 0 1px 3px 0 #d4d9e1; box-shadow: 0 1px 3px 0 #d4d9e1;
> div:first-child, > div:first-child,
@ -234,7 +234,6 @@ function handleClose() {
} }
&--active { &--active {
color: #fff;
.@{prefix-cls}-list__item-enter { .@{prefix-cls}-list__item-enter {
opacity: 1; opacity: 1;
} }

View File

@ -152,7 +152,7 @@ onBeforeUnmount(() => {
right: 2px; right: 2px;
bottom: 2px; bottom: 2px;
z-index: 1; z-index: 1;
border-radius: 4px; border-radius: 6px;
opacity: 0; opacity: 0;
transition: opacity 80ms ease; transition: opacity 80ms ease;

View File

@ -20,7 +20,7 @@ defineProps({
position: static; position: static;
display: block; display: block;
cursor: zoom-in; cursor: zoom-in;
border-radius: 4px; border-radius: 6px;
object-fit: cover; object-fit: cover;
} }
} }

View File

@ -34,7 +34,7 @@ const tabBarStyle = { width: '220px' }
.account-setting { .account-setting {
margin: 12px; margin: 12px;
background-color: var(--component-background); background-color: var(--component-background);
border-radius: 8px; border-radius: 6px;
.base-title { .base-title {
padding-left: 0; padding-left: 0;

View File

@ -196,7 +196,7 @@ export const baseSendSchemas: FormSchema[] = [
}) })
return h(ScrollContainer, { return h(ScrollContainer, {
innerHTML: content, innerHTML: content,
style: { border: '1px solid #e8e8e8', borderRadius: '4px', padding: '10px' }, style: { border: '1px solid #e8e8e8', borderRadius: '6px', padding: '10px' },
}) })
}, },
}, },

View File

@ -163,7 +163,7 @@ export const baseSendSchemas: FormSchema[] = [
}) })
return h(ScrollContainer, { return h(ScrollContainer, {
innerHTML: content, innerHTML: content,
style: { border: '1px solid #e8e8e8', borderRadius: '4px', padding: '10px' }, style: { border: '1px solid #e8e8e8', borderRadius: '6px', padding: '10px' },
}) })
}, },
}, },

View File

@ -193,7 +193,7 @@ export const baseSendSchemas: FormSchema[] = [
}) })
return h(ScrollContainer, { return h(ScrollContainer, {
innerHTML: content, innerHTML: content,
style: { border: '1px solid #e8e8e8', borderRadius: '4px', padding: '10px' }, style: { border: '1px solid #e8e8e8', borderRadius: '6px', padding: '10px' },
}) })
}, },
}, },