Commit fff7f13f authored by co_dengxiongwen's avatar co_dengxiongwen

Merge branch 'dev' of gitlab.suntrayoa.com:geqilin/zhxf_vue into dev

parents 7bd7876a 7176c9a0
...@@ -3,11 +3,10 @@ ...@@ -3,11 +3,10 @@
.card-header( .card-header(
:style="{ height, 'line-height': height, background: bgcolor }" :style="{ height, 'line-height': height, background: bgcolor }"
) )
span.card-title(:style="{'font-size':size+'px','font-weight':weight}") {{ title }} div.card-title(:style="{'font-size':size+'px','font-weight':weight}")
div(style="margin-left: 20px;color:#3A648A;") div {{ title }}
slot(name="left") slot(name="left")
span(style='font-size:12px;') slot(name="right" style='font-size:12px;position:absolute;right:0;')
slot(name="right")
.card-content .card-content
slot(name="content") slot(name="content")
</template> </template>
...@@ -26,7 +25,7 @@ export default { ...@@ -26,7 +25,7 @@ export default {
}, },
bgcolor: { bgcolor: {
type: String, type: String,
default: '#f2faff' default: '#b7e4ff'
}, },
size: { size: {
type: String, type: String,
...@@ -47,18 +46,17 @@ export default { ...@@ -47,18 +46,17 @@ export default {
.card-header { .card-header {
display: flex; display: flex;
justify-content: space-between; // justify-content: space-between;
padding: 0 10px; padding: 0 5px;
border-bottom: 1px solid #ececec; border-bottom: 1px solid #ececec;
.card-title { .card-title {
display: flex; display: flex;
justify-content: center; width: 100%;
align-items: center; position: relative;
font-size: 15px;
} }
} }
.card-content { .card-content {
margin: 10px; margin: 8px;
} }
} }
</style> </style>
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