bladex前端ui项目,基于avue-cli2.0开发 包含基础工作流,不包含表单设计器 https://git.javablade.com/blade/Saber
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
595 B

<template>
<div class="basic-container"
:class="{'basic-container--block':block}">
<el-card>
<slot></slot>
</el-card>
</div>
</template>
<script>
export default {
name: "basicContainer",
props: {
block: {
type: Boolean,
default: false
}
}
};
</script>
<style lang="scss">
.basic-container {
padding: 10px 6px;
border-radius: 10px;
box-sizing: border-box;
&--block {
height: 100%;
.el-card {
height: 100%;
}
}
.el-card {
width: 100%;
}
&:first-child {
padding-top: 0;
}
}
</style>