Skip to content

Commit 43472cb

Browse files
committed
fix: Style optimization
1 parent 07af6d0 commit 43472cb

File tree

6 files changed

+32
-42
lines changed

6 files changed

+32
-42
lines changed
Lines changed: 9 additions & 17 deletions
Loading

frontend/src/views/chat/chat-block/ChartBlock.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,6 @@ watch(
640640
padding: 16px;
641641
display: flex;
642642
flex-direction: column;
643-
position: relative;
644-
z-index: 10;
645-
646643
border: 1px solid rgba(222, 224, 227, 1);
647644
border-radius: 12px;
648645

frontend/src/views/chat/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,8 @@ onMounted(() => {
11951195
align-items: center;
11961196
padding-left: 56px;
11971197
padding-right: 56px;
1198+
position: relative;
1199+
z-index: 10;
11981200
11991201
&.no-sidebar {
12001202
padding-left: 96px;

frontend/src/views/system/authentication/index.vue

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,14 @@ init(true)
183183
.authentication-card {
184184
width: calc(25% - 12px);
185185
min-width: 230px;
186-
height: 116px;
187-
padding: 24px;
186+
height: 100px;
187+
padding: 16px;
188188
border-radius: 12px;
189189
background-color: #fff;
190190
border: 1px solid #dee0e3;
191+
&:hover {
192+
box-shadow: 0px 6px 24px 0px #1f232914;
193+
}
191194
.inner-card {
192195
position: relative;
193196
.inner-card-info {
@@ -196,6 +199,8 @@ init(true)
196199
align-items: center;
197200
.card-info-left {
198201
width: calc(100% - 40px);
202+
display: flex;
203+
align-items: center;
199204
.card-span {
200205
font-family: var(--de-custom_font, 'PingFang');
201206
font-size: 16px;
@@ -212,12 +217,12 @@ init(true)
212217
}
213218
.card-status {
214219
margin-left: 8px;
215-
padding: 1px 6px;
216-
border-radius: 2px;
220+
padding: 0 4px;
221+
border-radius: 4px;
217222
background-color: #f54a4533;
218223
color: #d03f3b;
219-
line-height: 22px;
220-
font-size: 14px;
224+
line-height: 20px;
225+
font-size: 12px;
221226
font-weight: 400;
222227
}
223228
}

frontend/src/views/system/platform/PlatformInfo.vue

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<div class="platform-setting-head">
44
<div class="platform-setting-head-left">
55
<div class="lead-left-icon">
6-
<el-icon>
7-
<Icon name="logo_wechat-work"><component :is="state.cardIcon" class="svg-icon" /></Icon>
6+
<el-icon style="margin-right: 8px" size="24px">
7+
<component :is="state.cardIcon" class="svg-icon" />
88
</el-icon>
99
<span>{{ cardTitle }}</span>
1010
</div>
@@ -182,34 +182,29 @@ const validateHandler = () => {
182182
183183
.platform-setting-head-left {
184184
display: flex;
185+
align-items: center;
185186
.lead-left-icon {
186187
display: flex;
187188
line-height: 24px;
188189
align-items: center;
189-
i {
190-
width: 24px;
191-
height: 24px;
192-
font-size: 20px;
193-
}
190+
194191
span {
195-
margin-left: 4px;
196-
font-family: var(--de-custom_font, 'PingFang');
197192
font-size: 16px;
198193
font-style: normal;
199194
font-weight: 500;
200195
line-height: 24px;
201196
}
202197
}
203198
.lead-left-status {
204-
margin-left: 4px;
205-
height: 24px;
199+
margin-left: 8px;
200+
height: 20px;
206201
background: #34c72433;
207-
padding: 0 6px;
208-
font-size: 14px;
202+
padding: 0 4px;
203+
font-size: 12px;
209204
border-radius: 2px;
210205
overflow: hidden;
211206
span {
212-
line-height: 24px;
207+
line-height: 20px;
213208
color: #2ca91f;
214209
}
215210
}

frontend/src/views/system/platform/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ onMounted(() => {
5959
flex-direction: column;
6060
}
6161
.container-sys-platform {
62-
padding: 24px;
62+
padding: 16px;
6363
overflow: hidden;
64-
//border-radius: 4px;
6564
background: var(--ContentBG, #ffffff);
6665
6766
border-radius: 12px;

0 commit comments

Comments
 (0)