first commit
This commit is contained in:
29
src/views/components/workplace/modules/container.vue
Normal file
29
src/views/components/workplace/modules/container.vue
Normal file
@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1 class="title">{{ props.title }}</h1>
|
||||
<div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const props = defineProps<{
|
||||
title: string;
|
||||
}>();
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
.container {
|
||||
border: 1px solid var(--BG-300, rgba(230, 230, 232, 1));
|
||||
background: var(--BG-white, rgba(255, 255, 255, 1));
|
||||
padding: 16px 24px 20px 24px;
|
||||
}
|
||||
.title {
|
||||
font-family: Alibaba PuHuiTi, serif;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
vertical-align: middle;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user