Skip to content

Commit 588eb7d

Browse files
author
吴博
committed
按钮调整
1 parent 955743c commit 588eb7d

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/assets/styles/homepage.less

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@
3636
letter-spacing: 0;
3737
line-height: 32px;
3838
}
39+
.desc-link {
40+
width: 100px;
41+
height: 40px;
42+
color: @brand-primary;
43+
border: 1px solid @brand-primary;
44+
border-radius: 4px;
45+
}
46+
.component-link {
47+
width: 100px;
48+
height: 40px;
49+
color: #fff;
50+
background-color: @brand-primary;
51+
border-color: @brand-primary;
52+
border-radius: 4px;
53+
}
3954
}
4055

4156
.site-homepage-banner__pic {

src/views/homepage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<div class="title">Codeages Design system</div>
77
<div class="desc">阔知设计系统:一个让团队协作规范、高效的全栈式设计体系。</div>
88
<div class="link">
9-
<button class="cd-btn cd-btn-default">入门</button>
10-
<button class="cd-btn cd-btn-primary" style="margin-left: 64px;">组件</button>
9+
<button class="cd-btn desc-link">入门</button>
10+
<button class="cd-btn component-link" style="margin-left: 64px;">组件</button>
1111
</div>
1212
</div>
1313
<section class="site-homepage-feature">

0 commit comments

Comments
 (0)