Skip to content

Commit 204df9f

Browse files
author
reco_luan
committed
feat: add yber security record
and fix home-blog style
1 parent 00f48ce commit 204df9f

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

components/Footer.vue

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</span>
77
<span v-if="$themeConfig.record">
88
<i class="iconfont reco-beian"></i>
9-
<a>{{ $themeConfig.record }}</a>
9+
<a :href="$themeConfig.recordLink || '#'">{{ $themeConfig.record }}</a>
1010
</span>
1111
<span>
1212
<i class="iconfont reco-copyright"></i>
@@ -21,6 +21,10 @@
2121
<i class="iconfont reco-eye"></i>
2222
<AccessNumber idVal="/" />
2323
</span>
24+
<p class="cyber-security" v-if="$themeConfig.cyberSecurityRecord">
25+
<img src="https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png" alt="">
26+
<a :href="$themeConfig.cyberSecurityLink || '#'">{{ $themeConfig.cyberSecurityRecord }}</a>
27+
</p>
2428
</div>
2529
</template>
2630

@@ -36,16 +40,30 @@ export default {
3640

3741
<style lang="stylus" scoped>
3842
.footer-wrapper {
39-
padding: 2.5rem;
43+
padding: 1.5rem 2.5rem;
4044
border-top: 1px solid var(--border-color);
4145
text-align: center;
4246
color: lighten($textColor, 25%);
47+
a {
48+
font-size 14px
49+
}
4350
> span {
4451
margin-left 1rem
4552
> i {
4653
margin-right .5rem
4754
}
4855
}
56+
.cyber-security {
57+
img {
58+
margin-right .5rem
59+
width 20px
60+
height 20px
61+
vertical-align middle
62+
}
63+
a {
64+
vertical-align middle
65+
}
66+
}
4967
}
5068
5169
@media (max-width: $MQMobile) {

components/HomeBlog.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ export default {
213213
align-items: flex-start;
214214
margin 20px auto 0
215215
max-width 1126px
216-
.abstract-wrapper {
217-
.abstract-item:last-child {
218-
margin-bottom: 0px;
219-
}
220-
}
221216
.blog-list {
222217
flex auto
223-
width 100%
218+
width 0
219+
.abstract-wrapper {
220+
.abstract-item:last-child {
221+
margin-bottom: 0px;
222+
}
223+
}
224224
}
225225
.info-wrapper {
226226
position: -webkit-sticky;

0 commit comments

Comments
 (0)