43 lines
499 B
Vue
Raw Normal View History

<template>
<!-- 甘特图 -->
<div class="container">
<div class="titleTxt">{{ title }}</div>
</div>
</template>
<script>
export default {
props: {
title: {
type: String,
default: "default title"
}
},
data() {
return {
};
},
}
</script>
<style lang="less" scoped>
.container {
width: 100%;
height: 100%;
border: 1px solid #0081c3;
.titleTxt {
font-size: 18px;
color: #6ee4f0;
margin-top: 5px;
margin-left: 5px;
}
}
</style>