feat ui设计稿
This commit is contained in:
@@ -29,11 +29,11 @@ defineProps<Props>()
|
||||
<style lang="less" scoped>
|
||||
.home-contents {
|
||||
&__block {
|
||||
margin-bottom: @spacing-lg;
|
||||
padding: @spacing-lg @spacing-xl;
|
||||
// 设计稿区块卡 1780×593 设计px:白底、无描边投影
|
||||
margin-bottom: @spacing-base;
|
||||
padding: 24px 32px 32px;
|
||||
border-radius: @radius-lg;
|
||||
background: @white;
|
||||
box-shadow: @shadow-base;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
@@ -41,30 +41,18 @@ defineProps<Props>()
|
||||
}
|
||||
|
||||
&__title {
|
||||
position: relative;
|
||||
margin-bottom: @spacing-base;
|
||||
padding-left: @spacing-sm;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 600;
|
||||
color: @heading-color;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
width: 3px;
|
||||
height: 16px;
|
||||
border-radius: @radius-round;
|
||||
background: @primary-color;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
// 设计稿栏目标题 36 设计px / 700 / #121212(无竖条)
|
||||
margin-bottom: 36px;
|
||||
font-size: @font-size-xxl;
|
||||
font-weight: 700;
|
||||
color: @home-ink;
|
||||
}
|
||||
|
||||
&__rich {
|
||||
// 设计稿正文 16 设计px / #222222
|
||||
font-size: @font-size-sm;
|
||||
line-height: 1.9;
|
||||
color: @text-color;
|
||||
line-height: 1.8;
|
||||
color: @home-paragraph;
|
||||
word-break: break-word;
|
||||
|
||||
:deep(p) {
|
||||
@@ -85,7 +73,8 @@ defineProps<Props>()
|
||||
:deep(video) {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin: 0 auto @spacing-base;
|
||||
// 设计稿视频/图片通栏贴卡内边距,圆角与卡片呼应
|
||||
margin: 0 auto @spacing-lg;
|
||||
border-radius: @radius-base;
|
||||
}
|
||||
|
||||
@@ -96,7 +85,7 @@ defineProps<Props>()
|
||||
margin: @spacing-base 0 @spacing-sm;
|
||||
font-size: @font-size-base;
|
||||
font-weight: 600;
|
||||
color: @heading-color;
|
||||
color: @home-ink;
|
||||
}
|
||||
|
||||
:deep(table) {
|
||||
|
||||
Reference in New Issue
Block a user