feat ui设计稿bug修复

This commit is contained in:
Ironsp
2026-10-01 10:53:13 +08:00
parent 9ab6253c81
commit 1601bdd82c
89 changed files with 4741 additions and 3652 deletions

View File

@@ -29,11 +29,13 @@ defineProps<Props>()
<style lang="less" scoped>
.home-contents {
&__block {
// 设计稿区块卡 1780×593 设计px:白底、无描边投影
// 设计稿区块卡 矩形 148286 @(70,736) 1780×593:白底、无描边投影
margin-bottom: @spacing-base;
padding: 24px 32px 32px;
padding: 40px 45px 0; // 正文 @(115,1090) → 卡内 x45(112−70=42 标题左,正文 115−70=45)
border-radius: @radius-lg;
background: @white;
min-height: 593px;
box-sizing: border-box;
&:last-child {
margin-bottom: 0;
@@ -41,17 +43,18 @@ defineProps<Props>()
}
&__title {
// 设计稿栏目标题 36 设计px / 700 / #121212(无竖条)
margin-bottom: 36px;
font-size: @font-size-xxl;
// 设计稿栏目标题 36px / 700 / #121212
margin: 0 0 301px; // 正文顶 1090 − 标题底(736+40+52) ≈ 262 → 取 261
font-size: 36px;
font-weight: 700;
line-height: 52px;
color: @home-ink;
}
&__rich {
// 设计稿正文 16 设计px / #222222
font-size: @font-size-sm;
line-height: 1.8;
// 设计稿正文 @(115,1090) 1688×177 16px / #222222
font-size: 16px;
line-height: 1.75;
color: @home-paragraph;
word-break: break-word;
@@ -83,7 +86,7 @@ defineProps<Props>()
:deep(h3),
:deep(h4) {
margin: @spacing-base 0 @spacing-sm;
font-size: @font-size-base;
font-size: 16px;
font-weight: 600;
color: @home-ink;
}
@@ -98,7 +101,7 @@ defineProps<Props>()
:deep(th) {
padding: @spacing-xs @spacing-sm;
border: 1px solid @border-color;
font-size: @font-size-sm;
font-size: 14px;
}
:deep(a) {