济菏高速业务端
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.

51 lines
758 B

<template>
1 year ago
<div class="Card">
<Title :title="title">
<template #suffix>
<slot name="title-suffix" />
</template>
</Title>
<div class="content">
<slot />
</div>
</div>
</template>
<script>
1 year ago
import Title from "@screen/components/Title/index.vue";
export default {
1 year ago
name: "Card",
components: {
1 year ago
Title,
},
props: {
title: {
1 year ago
type: String,
},
},
};
</script>
1 year ago
<style lang="scss" scoped>
.Card {
height: 100%;
width: 100%;
overflow: hidden;
1 year ago
background: linear-gradient(
180deg,
rgba(6, 66, 88, 0) 0%,
rgba(6, 66, 88, 0.4) 93%
);
display: flex;
flex-direction: column;
.content {
height: 100%;
overflow: auto;
flex: 1;
padding: 9px;
}
}
</style>