feat 案例样式整改
This commit is contained in:
@@ -121,17 +121,17 @@ const coreBusiness = [
|
||||
}
|
||||
|
||||
&__name {
|
||||
font-size: 28px;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 500;
|
||||
line-height: 41px;
|
||||
line-height: 1.4;
|
||||
color: @white;
|
||||
}
|
||||
|
||||
&__desc {
|
||||
margin-top: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 23px;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
&__col {
|
||||
@@ -154,18 +154,18 @@ const coreBusiness = [
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin-bottom: 20px;
|
||||
font-size: 28px;
|
||||
margin-bottom: @spacing-base;
|
||||
font-size: @font-size-lg;
|
||||
font-weight: 500;
|
||||
line-height: 41px;
|
||||
line-height: 1.4;
|
||||
white-space: nowrap;
|
||||
color: @white;
|
||||
}
|
||||
|
||||
&__link {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 23px;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
line-height: 1.8;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
|
||||
@@ -106,16 +106,16 @@ onMounted(() => void messageStore.fetchUnreadCount())
|
||||
|
||||
&__nav {
|
||||
.flex(row, center);
|
||||
gap: @header-nav-gap;
|
||||
gap: clamp(@spacing-lg, 4vw, 56px);
|
||||
height: 100%;
|
||||
|
||||
&-item {
|
||||
position: relative;
|
||||
.flex(row, center);
|
||||
height: 100%;
|
||||
font-size: 18px;
|
||||
font-size: @font-size-md;
|
||||
font-weight: 500;
|
||||
color: @black;
|
||||
color: @heading-color;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover,
|
||||
@@ -127,8 +127,8 @@ onMounted(() => void messageStore.fetchUnreadCount())
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 11px;
|
||||
width: 29px;
|
||||
bottom: 12px;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
background: @home-tab-active;
|
||||
@@ -139,20 +139,21 @@ onMounted(() => void messageStore.fetchUnreadCount())
|
||||
|
||||
&__actions {
|
||||
.flex(row, flex-end, center);
|
||||
gap: 29px;
|
||||
gap: @spacing-base;
|
||||
margin-left: auto;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&__action {
|
||||
.flex(row, center);
|
||||
gap: 5px;
|
||||
width: 106px;
|
||||
gap: @spacing-xs;
|
||||
min-width: 96px;
|
||||
height: 36px;
|
||||
border-radius: @radius-sm;
|
||||
padding: 0 @spacing-base;
|
||||
border-radius: @radius-round;
|
||||
background: @primary-color;
|
||||
color: @white;
|
||||
font-size: 16px;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 500;
|
||||
transition: opacity 0.2s;
|
||||
|
||||
@@ -161,8 +162,8 @@ onMounted(() => void messageStore.fetchUnreadCount())
|
||||
}
|
||||
|
||||
&-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +197,7 @@ onMounted(() => void messageStore.fetchUnreadCount())
|
||||
}
|
||||
|
||||
&__login {
|
||||
font-size: 16px;
|
||||
font-size: @font-size-base;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user