feat 案例样式整改
This commit is contained in:
@@ -27,10 +27,10 @@ defineProps<Props>()
|
||||
.home-contents {
|
||||
&__block {
|
||||
margin-bottom: @spacing-base;
|
||||
padding: 40px 45px 0;
|
||||
border-radius: @radius-lg;
|
||||
padding: @spacing-xl;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
min-height: 593px;
|
||||
min-height: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
&:last-child {
|
||||
@@ -39,10 +39,10 @@ defineProps<Props>()
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin: 0 0 301px;
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
line-height: 52px;
|
||||
margin: 0 0 @spacing-lg;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
color: @home-ink;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,40 +43,41 @@ function isImageIcon(icon?: string): boolean {
|
||||
|
||||
<style lang="less" scoped>
|
||||
.home-service-types {
|
||||
margin-bottom: 20px;
|
||||
padding: 24px 42px 0;
|
||||
border-radius: @radius-lg;
|
||||
margin-bottom: @spacing-base;
|
||||
padding: @spacing-lg @spacing-xl;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
height: 287px;
|
||||
min-height: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
&__title {
|
||||
margin: 0 0 132px;
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
line-height: 52px;
|
||||
margin: 0 0 @spacing-lg;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
color: @home-ink;
|
||||
}
|
||||
|
||||
&__list {
|
||||
.flex(row, flex-start);
|
||||
gap: 0;
|
||||
gap: @spacing-base;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
&__item {
|
||||
.flex(column, center);
|
||||
width: 187px;
|
||||
gap: 47px;
|
||||
width: 120px;
|
||||
gap: @spacing-base;
|
||||
}
|
||||
|
||||
&__icon {
|
||||
.flex(row, center);
|
||||
width: 68px;
|
||||
height: 68px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: @radius-round;
|
||||
background: @primary-light;
|
||||
color: @white;
|
||||
font-size: 24px;
|
||||
font-size: @font-size-lg;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user