<template>
<div class="basic-container">
<!-- <el-card class="basic-container__card">
</el-card> -->
<slot></slot>
</div>
</template>
<script>
export default {
// name: "basicContainer",
// props: {
// radius: {
// type: [String, Number],
// default: 10
// },
// background: {
// type: String
// },
// block: {
// type: Boolean,
// default: false
// }
// },
// computed: {
// styleName () {
// return {
// borderRadius: `${this.radius}px`,
// background: this.background,
// }
// }
// }
};
</script>
<style lang="scss">
.basic-container {
width: calc(100% - 20px);
height: calc(86.5vh - 10px);
overflow-y: auto;
overflow-x: hidden;
background: #fff;
margin: 10px auto;
border-radius: 5px;
}
</style>
// 背景 vue3 挂载全部方法
import Mina from '@/components/mina/index'
app.component('Mina', Mina)