fix: Style optimization

This commit is contained in:
dataeaseShu
2026-05-22 10:24:38 +08:00
committed by dataeaseShu
parent aee9635ce7
commit 46bf4ef41a
46 changed files with 69 additions and 69 deletions
@@ -84,7 +84,7 @@ useEmitt({
padding: 1px 6px;
background: var(--deTextPrimary5, #f5f6f7);
color: var(--deTextPrimary, #1f2329);
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
display: inline-block;
margin-bottom: 12px;
@@ -181,7 +181,7 @@ watch(
.arrow-filter:hover {
background: rgba(31, 35, 41, 0.1);
border-radius: 4px;
border-radius: 6px;
}
.ed-icon-arrow-right.arrow-filter {
+2 -2
View File
@@ -345,7 +345,7 @@ const logout = async () => {
position: relative;
cursor: pointer;
margin: 0 4px;
border-radius: 4px;
border-radius: 6px;
&:hover {
background-color: #1f23291a;
}
@@ -382,7 +382,7 @@ const logout = async () => {
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(.empty):hover {
background: #1f23291a;
+1 -1
View File
@@ -198,7 +198,7 @@ onMounted(async () => {
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(.empty):hover {
background: #1f23291a;
+2 -2
View File
@@ -362,7 +362,7 @@ onMounted(() => {
column-gap: 12px;
align-items: center;
padding: 8px 16px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
border: none;
font-weight: 500;
@@ -493,7 +493,7 @@ onMounted(() => {
column-gap: 12px;
align-items: center;
padding: 8px 16px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
border: none;
font-weight: 500;
+3 -3
View File
@@ -84,7 +84,7 @@ body {
.list-item_primary {
height: 40px;
border-radius: 4px;
border-radius: 6px;
padding: 8px 12px;
cursor: pointer;
display: flex;
@@ -226,7 +226,7 @@ strong {
.ed-select__popper {
padding: 0 4px !important;
.ed-select-dropdown__item {
border-radius: 4px;
border-radius: 6px;
}
.ed-select-dropdown__list {
@@ -427,7 +427,7 @@ strong {
}
.ed-tree-node__content {
border-radius: 4px;
border-radius: 6px;
}
+2 -2
View File
@@ -399,7 +399,7 @@ const handleConfirmPassword = () => {
<style lang="less">
.popover-card_chat.popover-card_chat.popover-card_chat {
box-shadow: 0px 4px 8px 0px #1f23291a;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3;
width: fit-content !important;
min-width: 120px !important;
@@ -436,7 +436,7 @@ const handleConfirmPassword = () => {
content: '';
width: calc(100% - 8px);
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
+1 -1
View File
@@ -90,7 +90,7 @@ defineExpose({
font-weight: 400;
cursor: pointer;
height: 32px;
border-radius: 4px;
border-radius: 6px;
padding: 5px 8px;
line-height: 22px;
white-space: nowrap; /* 禁止换行 */
@@ -207,7 +207,7 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop, getRecomme
font-weight: 400;
cursor: pointer;
height: 32px;
border-radius: 4px;
border-radius: 6px;
padding: 5px 8px;
line-height: 22px;
white-space: nowrap; /* 禁止换行 */
@@ -631,7 +631,7 @@ watch(
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:last-child {
@@ -110,7 +110,7 @@ const handleDefaultChatChange = (val: any) => {
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:last-child {
margin-bottom: 0;
@@ -148,7 +148,7 @@ const handleDefaultChatChange = (val: any) => {
.chat-select_type {
width: 40px;
height: 24px;
border-radius: 4px;
border-radius: 6px;
padding-left: 4px;
display: flex;
align-items: center;
@@ -16,6 +16,6 @@ const articleContent = ref('<p>这里是默认内容...</p>')
margin-top: 20px;
padding: 15px;
border: 1px solid #eee;
border-radius: 4px;
border-radius: 6px;
}
</style>
@@ -115,7 +115,7 @@ const doDeleteComponent = (e: MouseEvent) => {
<style lang="less">
.bar-main_popper {
box-shadow: 0px 4px 8px 0px #1f23291a !important;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3 !important;
width: 120px !important;
min-width: 120px !important;
@@ -147,7 +147,7 @@ const doDeleteComponent = (e: MouseEvent) => {
content: '';
width: 112px;
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
@@ -256,7 +256,7 @@ defineExpose({
width: 552px;
height: 380px;
border: 1px solid #dee0e3;
border-radius: 4px;
border-radius: 6px;
padding: 8px;
overflow-y: auto;
@@ -62,7 +62,7 @@ const emit = defineEmits(['handleCommand'])
<style lang="less">
.menu-more_popper {
box-shadow: 0px 4px 8px 0px #1f23291a !important;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3 !important;
width: 120px !important;
min-width: 120px !important;
@@ -94,7 +94,7 @@ const emit = defineEmits(['handleCommand'])
content: '';
width: 112px;
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
@@ -223,7 +223,7 @@ defineExpose({
width: 552px;
height: 380px;
border: 1px solid #dee0e3;
border-radius: 4px;
border-radius: 6px;
padding: 8px;
overflow-y: auto;
@@ -456,7 +456,7 @@ defineExpose({
border: 1px solid #d9dcdf;
width: 32px;
height: 32px;
border-radius: 4px;
border-radius: 6px;
color: #1f2329;
padding: 8px;
margin-left: 8px;
@@ -612,7 +612,7 @@ defineExpose({
}
.icon-screen-new {
border-radius: 4px;
border-radius: 6px;
color: #fff;
padding: 3px;
}
@@ -623,7 +623,7 @@ defineExpose({
.tree-sort-menu-custom {
padding: 4px !important;
li {
border-radius: 4px;
border-radius: 6px;
padding: 0 8px !important;
}
.ed-dropdown-menu__item:not(.is-disabled):not(.selected):hover {
@@ -635,7 +635,7 @@ defineExpose({
margin-top: -2px !important;
.ed-icon {
border-radius: 4px;
border-radius: 6px;
}
}
@@ -40,7 +40,7 @@ const emits = defineEmits(['customClick'])
cursor: pointer;
justify-content: center;
align-items: center;
border-radius: 4px;
border-radius: 6px;
color: #1f2329;
span {
@@ -298,7 +298,7 @@ const previewInner = () => {
outline: none;
font-size: 16px;
border: 1px solid var(--ed-color-primary);
border-radius: 4px;
border-radius: 6px;
padding-left: 4px;
height: 100%;
}
@@ -347,7 +347,7 @@ const previewInner = () => {
width: 26px !important;
height: 26px !important;
color: rgba(255, 255, 255, 1);
border-radius: 4px;
border-radius: 6px;
&:hover {
background: rgba(235, 235, 235, 0.1);
@@ -110,7 +110,7 @@ const props = defineProps({
margin-left: 12px;
cursor: pointer;
font-size: 20px;
border-radius: 4px;
border-radius: 6px;
position: relative;
&:hover {
@@ -119,7 +119,7 @@ const props = defineProps({
position: absolute;
top: -4px;
left: -4px;
border-radius: 4px;
border-radius: 6px;
height: 28px;
width: 28px;
background: #1f23291a;
+2 -2
View File
@@ -283,7 +283,7 @@ const onClickOutside = () => {
<style lang="less">
.popover-card_ds.popover-card_ds.popover-card_ds {
box-shadow: 0px 4px 8px 0px #1f23291a;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3;
width: fit-content !important;
min-width: 120px !important;
@@ -325,7 +325,7 @@ const onClickOutside = () => {
content: '';
width: calc(100% - 8px);
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
+2 -2
View File
@@ -818,7 +818,7 @@ const btnSelectClick = (val: any) => {
display: flex;
align-items: center;
padding-left: 8px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(:last-child) {
@@ -970,7 +970,7 @@ const btnSelectClick = (val: any) => {
background: #ffffff;
align-items: center;
border: 1px solid #d0d3d6;
border-radius: 4px;
border-radius: 6px;
.is-active {
background: var(--ed-color-primary-1a, #1cba901a);
+1 -1
View File
@@ -414,7 +414,7 @@ useEmitt({
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(.empty):hover {
background: #1f23291a;
+1 -1
View File
@@ -1003,7 +1003,7 @@ defineExpose({
}
.container {
border: 1px solid #dee0e3;
border-radius: 4px;
border-radius: 6px;
overflow: hidden;
.select-all {
+1 -1
View File
@@ -114,7 +114,7 @@ defineProps<{
right: 20px;
top: 18px;
padding: 3px 8px;
border-radius: 4px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
display: flex;
+1 -1
View File
@@ -84,7 +84,7 @@ const handleModelClick = (item: any) => {
display: flex;
align-items: center;
padding-left: 8px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
.name {
margin-left: 8px;
+1 -1
View File
@@ -467,7 +467,7 @@ const save = () => {
font-synthesis: none;
text-rendering: optimizeLegibility;
outline: none;
border-radius: 4px;
border-radius: 6px;
padding: 5px 11px;
font-size: 12px;
line-height: 20px;
+1 -1
View File
@@ -202,7 +202,7 @@ const switchTab = (name: string) => {
width: 100%;
height: 40px;
font-size: 16px;
border-radius: 4px;
border-radius: 6px;
}
.agreement {
@@ -93,7 +93,7 @@ const submitForm = () => {
width: 100%;
height: 40px;
font-size: 16px;
border-radius: 4px;
border-radius: 6px;
}
.agreement {
@@ -219,7 +219,7 @@ const account = computed(() => userStore.getAccount)
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(.empty):hover {
background: #1f23291a;
@@ -218,7 +218,7 @@ init(true)
.card-status {
margin-left: 8px;
padding: 0 4px;
border-radius: 4px;
border-radius: 6px;
background-color: #f54a4533;
color: #d03f3b;
line-height: 20px;
+3 -3
View File
@@ -185,7 +185,7 @@ const pageLogo = computed(() => {
.default {
margin-left: auto;
padding: 0 4px;
border-radius: 4px;
border-radius: 6px;
font-weight: 400;
font-size: 12px;
line-height: 20px;
@@ -258,7 +258,7 @@ const pageLogo = computed(() => {
<style lang="less">
.popover-card_embedded.popover-card_embedded.popover-card_embedded {
box-shadow: 0px 4px 8px 0px #1f23291a;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3;
width: fit-content !important;
min-width: 120px !important;
@@ -300,7 +300,7 @@ const pageLogo = computed(() => {
content: '';
width: calc(100% - 8px);
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
@@ -119,7 +119,7 @@ const handlePublic = () => {
.default {
background: var(--ed-color-primary-33, #1cba9033);
padding: 0 4px;
border-radius: 4px;
border-radius: 6px;
color: var(--ed-color-primary-dark-2);
font-weight: 400;
font-size: 12px;
@@ -213,7 +213,7 @@ const handlePublic = () => {
<style lang="less">
.popover-card_ds_copy.popover-card_ds_copy.popover-card_ds_copy {
box-shadow: 0px 4px 8px 0px #1f23291a;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3;
width: fit-content !important;
min-width: 120px !important;
@@ -250,7 +250,7 @@ const handlePublic = () => {
content: '';
width: calc(100% - 8px);
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
@@ -1469,7 +1469,7 @@ const saveHandler = () => {
padding-left: 8px;
padding-right: 8px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
padding-top: 8px;
@@ -320,7 +320,7 @@ const submitUpload = () => {
align-items: center;
line-height: 40px;
background: var(--ed-color-primary-80, #d2f1e9);
border-radius: 4px;
border-radius: 6px;
padding-left: 10px;
.icon-span {
color: var(--ed-color-primary);
+1 -1
View File
@@ -140,7 +140,7 @@ defineExpose({ showErrorMask })
margin-left: auto;
background: var(--ed-color-primary-33, #1cba9033);
padding: 0 4px;
border-radius: 4px;
border-radius: 6px;
color: var(--ed-color-primary-dark-2);
font-weight: 400;
font-size: 12px;
+1 -1
View File
@@ -537,7 +537,7 @@ const submit = (item: any) => {
padding-right: 8px;
margin-bottom: 2px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(.empty):hover {
background: #1f23291a;
@@ -82,7 +82,7 @@ const handleModelClick = (item: any) => {
display: flex;
align-items: center;
padding-left: 8px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
.name {
margin-left: 8px;
@@ -172,7 +172,7 @@ const del = (index: any, child: any) => {
transform: translate(-50%, -50%);
background: #1f23291a;
z-index: 1;
border-radius: 4px;
border-radius: 6px;
user-select: none;
pointer-events: none;
}
@@ -1103,7 +1103,7 @@ const columnRules = {
padding-left: 12px;
padding-right: 8px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:hover {
background: #1f23291a;
@@ -234,7 +234,7 @@ formatLabel()
.info-template-container {
padding: 24px 24px 8px 24px;
background: var(--ContentBG, #ffffff);
border-radius: 4px;
border-radius: 6px;
.info-template-header {
display: flex;
margin-top: -4px;
+2 -2
View File
@@ -1460,7 +1460,7 @@ const showTips = (successCount: any, errorCount: any, dataKey: any) => {
padding-left: 12px;
padding-right: 8px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:not(:last-child) {
@@ -1592,7 +1592,7 @@ const showTips = (successCount: any, errorCount: any, dataKey: any) => {
align-items: center;
line-height: 40px;
background: var(--ed-color-primary-80, #d2f1e9);
border-radius: 4px;
border-radius: 6px;
padding-left: 10px;
.icon-span {
color: var(--ed-color-primary);
@@ -383,7 +383,7 @@ defineExpose({
align-items: center;
line-height: 40px;
background: var(--ed-color-primary-80, #d2f1e9);
border-radius: 4px;
border-radius: 6px;
padding-left: 10px;
.icon-span {
color: var(--ed-color-primary);
@@ -670,7 +670,7 @@ const handleCurrentChange = (val: number) => {
.preview-or-schema {
.system-flag {
background-color: var(--ed-color-primary-33, #1cba9033);
border-radius: 4px;
border-radius: 6px;
height: 16px;
line-height: 16px;
padding: 0 4px;
@@ -701,7 +701,7 @@ const handleCurrentChange = (val: number) => {
display: flex;
align-items: center;
padding-left: 8px;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
padding-right: 8px;
margin-bottom: 2px;
@@ -876,7 +876,7 @@ const handleCurrentChange = (val: number) => {
<style lang="less">
.popover-card_workspack.popover-card_workspack.popover-card_workspack {
box-shadow: 0px 4px 8px 0px #1f23291a;
border-radius: 4px;
border-radius: 6px;
border: 1px solid #dee0e3;
width: fit-content !important;
min-width: 120px !important;
@@ -913,7 +913,7 @@ const handleCurrentChange = (val: number) => {
content: '';
width: calc(100% - 8px);
height: 32px;
border-radius: 4px;
border-radius: 6px;
position: absolute;
top: 50%;
left: 50%;
@@ -953,7 +953,7 @@ const handleCurrentChange = (val: number) => {
padding-left: 12px;
padding-right: 8px;
position: relative;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
&:hover {
background: #1f23291a;
+1 -1
View File
@@ -37,7 +37,7 @@ withDefaults(
.datasource-card {
height: 120px;
padding: 16px;
border-radius: 4px;
border-radius: 6px;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
.description {
display: flex;