Commit 799fe848 authored by xiexingan's avatar xiexingan

tj

parent 30e9b1f1
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
:style="{ height, 'line-height': height, background: bgcolor ,'border-bottom':borderBottom ? '1px solid #ececec' :''}" :style="{ height, 'line-height': height, background: bgcolor ,'border-bottom':borderBottom ? '1px solid #ececec' :''}"
) )
div.card-title(:style="{'font-size':size+'px','font-weight':weight}") div.card-title(:style="{'font-size':size+'px','font-weight':weight}")
div {{ title }} div(:style="{'color':titleColor}") {{ title }}
slot(name="left") slot(name="left")
.slot-right(style='font-size:12px;position:absolute;right:0;') .slot-right(style='font-size:12px;position:absolute;right:0;')
slot(name="right" ) slot(name="right" )
...@@ -39,6 +39,10 @@ export default { ...@@ -39,6 +39,10 @@ export default {
borderBottom: { borderBottom: {
type: Boolean, type: Boolean,
default: true default: true
},
titleColor: {
type: String,
default: ''
} }
} }
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment