[new feature] Tabbar: add border prop

This commit is contained in:
陈嘉涵
2019-05-20 15:45:32 +08:00
parent a6b60c2a55
commit ead802d9f1
6 changed files with 20 additions and 1 deletions
+5 -1
View File
@@ -15,6 +15,10 @@ export default sfc({
type: [String, Number],
default: 0
},
border: {
type: Boolean,
default: true
},
fixed: {
type: Boolean,
default: true
@@ -55,7 +59,7 @@ export default sfc({
<div
style={{ zIndex: this.zIndex }}
class={[
'van-hairline--top-bottom',
{ 'van-hairline--top-bottom': this.border },
bem({
fixed: this.fixed,
'safe-area-inset-bottom': this.safeAreaInsetBottom