inital commit 1
This commit is contained in:
commit
90d8b97673
138 files changed
+23684
No files matched your search
@@ -0,0 +1,67 @@
|
||||
<template>
|
||||
<Card :padding="padding" :shadow="shadow" :dis-hover="disHover" :bordered="bordered">
|
||||
<div slot="title" class="panel-title">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div slot="extra" class="panel-extra">
|
||||
<slot name="extra"></slot>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Panel',
|
||||
props: {
|
||||
shadow: {
|
||||
required: false,
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
padding: {
|
||||
required: false,
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
disHover: {
|
||||
required: false,
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
bordered: {
|
||||
required: false,
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
@import (reference) '../../../styles/common.less';
|
||||
|
||||
.panel-title {
|
||||
.section-title;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.panel-extra {
|
||||
line-height: 40px;
|
||||
.ivu-input-icon {
|
||||
line-height: 40px;
|
||||
}
|
||||
ul.filter {
|
||||
> li {
|
||||
display: inline-block;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.panel-body {
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user