This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 18
18
<div class =" footer-right-wrap" >
19
19
<ul v-if =" copyright" class =" copyright" >
20
20
<li v-for =" item in copyright" :key =" item.text" class =" copyright-item" >
21
- <NavLink :link =" item.link" >{{ item.text }}</NavLink >
21
+ <NavLink v-if =" item.link" :link =" item.link" >{{ item.text }}</NavLink >
22
+ <template v-else >{{ item.text }}</template >
22
23
</li >
23
24
</ul >
24
25
</div >
@@ -180,13 +181,14 @@ ol, ul
180
181
position relative
181
182
line-height 12px
182
183
border-right 1px solid $footerColor
184
+ font-size 12px
185
+ color $footerColor
183
186
184
187
& :last-child
185
188
border-right none
186
189
187
190
a
188
- font-size 12px
189
- color $footerColor
191
+ color currentColor
190
192
text-decoration none
191
193
transition color 0.3s
192
194
Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ Welcome contribution of adding more built-in contact type.
101
101
102
102
### footer.copyright
103
103
104
+ - Type: ` Array<{ text: string, link?: string }> `
105
+ - Default: ` undefined `
106
+
104
107
Copyright information, displayed on the right side of footer.
105
108
106
109
e.g.
@@ -115,7 +118,6 @@ module.exports = {
115
118
},
116
119
{
117
120
text: ' MIT Licensed | Copyright © 2018-present Vue.js' ,
118
- link: ' ' ,
119
121
},
120
122
],
121
123
},
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ module.exports = {
101
101
} ,
102
102
{
103
103
text : 'MIT Licensed | Copyright © 2018-present Vue.js' ,
104
- link : '' ,
105
104
} ,
106
105
] ,
107
106
} ,
You can’t perform that action at this time.
0 commit comments