This commit is contained in:
parent
eb325b46b2
commit
34d570aaeb
|
@ -88,6 +88,6 @@ export default define({
|
||||||
padding 8px 16px
|
padding 8px 16px
|
||||||
|
|
||||||
&:nth-child(even)
|
&:nth-child(even)
|
||||||
background #e2e2e2
|
background rgba(0, 0, 0, 0.05)
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-widget-container" :class="{ naked }">
|
<div class="mk-widget-container" :class="{ naked, hideHeader: !showHeader }">
|
||||||
<header v-if="showHeader">
|
<header v-if="showHeader">
|
||||||
<div class="title"><slot name="header"></slot></div>
|
<div class="title"><slot name="header"></slot></div>
|
||||||
<slot name="func"></slot>
|
<slot name="func"></slot>
|
||||||
|
@ -31,6 +31,9 @@ export default Vue.extend({
|
||||||
box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2)
|
box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
|
||||||
|
&.hideHeader
|
||||||
|
background #fff
|
||||||
|
|
||||||
&.naked
|
&.naked
|
||||||
background transparent !important
|
background transparent !important
|
||||||
box-shadow none !important
|
box-shadow none !important
|
||||||
|
|
Loading…
Reference in New Issue