|
|
@ -25,7 +25,7 @@ const Item = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
renderTerm (h, term) { |
|
|
|
renderTerm (h, term) { |
|
|
|
return h( |
|
|
|
return term ? h( |
|
|
|
'div', |
|
|
|
'div', |
|
|
|
{ |
|
|
|
{ |
|
|
|
attrs: { |
|
|
|
attrs: { |
|
|
@ -33,7 +33,7 @@ const Item = { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
[term] |
|
|
|
[term] |
|
|
|
) |
|
|
|
) : null |
|
|
|
}, |
|
|
|
}, |
|
|
|
renderContent (h, content) { |
|
|
|
renderContent (h, content) { |
|
|
|
return h( |
|
|
|
return h( |
|
|
@ -105,7 +105,7 @@ export default { |
|
|
|
.title { |
|
|
|
.title { |
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|
color: rgba(0,0,0,.85); |
|
|
|
color: rgba(0,0,0,.85); |
|
|
|
font-weight: 500; |
|
|
|
font-weight: bold; |
|
|
|
margin-bottom: 16px; |
|
|
|
margin-bottom: 16px; |
|
|
|
} |
|
|
|
} |
|
|
|
.term { |
|
|
|
.term { |
|
|
|