feat 样式整改

This commit is contained in:
Ironsp
2026-10-13 15:12:51 +08:00
parent 631d54f269
commit b0e9fe6450
56 changed files with 1242 additions and 1143 deletions

View File

@@ -109,53 +109,49 @@ onMounted(() => {
<style lang="less" scoped>
.cases {
padding-bottom: 78px;
min-height: 100%;
padding-bottom: @spacing-page-bottom;
background: @bg-color;
&__hero {
height: 179px;
box-sizing: border-box;
padding-top: 32px;
padding: @spacing-lg 0;
background: @white;
border-bottom: 1px solid @border-color;
}
// 设计稿 #31:hero 标题 x=112、副标题 x=112;
// 主体筛选栏 x=70、右侧操作区右边界 1850。两套留白并存,
// 所以 hero 内容单独内缩,不动全局 .container 的 70px 留白。
&__hero-inner {
padding-left: 112px;
padding-right: 112px;
padding-left: @spacing-xl;
padding-right: @spacing-xl;
}
&__title {
margin: 0;
font-size: 36px;
font-weight: 700;
line-height: 52px;
font-size: @font-size-title;
font-weight: 600;
line-height: 1.3;
color: @cases-hero-title;
}
&__slogan {
margin: 15px 0 0;
font-size: 24px;
font-weight: 500;
line-height: 37px;
margin: @spacing-sm 0 0;
font-size: @font-size-base;
font-weight: 400;
line-height: 1.5;
color: @cases-muted;
}
&__body {
.flex(row, flex-start, flex-start);
gap: 20px;
padding-top: 20px;
gap: @spacing-lg;
padding-top: @spacing-lg;
}
&__main {
// 设计稿:右侧操作区 x=606 w=1244(右边界 1850,与筛选栏区留白 70 对称)。
// mixin 签名是 .flex(direction; justify; align),第三参才是 align-items。
// 纵向排列时 justify 无意义,align 用 stretch 让子项撑满 1244。
.flex(column, flex-start, stretch);
flex: 1;
min-width: 0;
gap: 24px;
gap: @spacing-lg;
}
&__pager {