48 lines
816 B
Vue
48 lines
816 B
Vue
|
|
<template>
|
||
|
|
<div class="title-content">
|
||
|
|
<div class="title-wrapper"><span class="line"></span><span class="title">{{ title }}</span></div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
props: {
|
||
|
|
title: {
|
||
|
|
type: String,
|
||
|
|
default: ''
|
||
|
|
}
|
||
|
|
},
|
||
|
|
data() {
|
||
|
|
return {}
|
||
|
|
},
|
||
|
|
mounted() {},
|
||
|
|
methods: {}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss" scoped>
|
||
|
|
.title-content {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
.title-wrapper {
|
||
|
|
display: flex;
|
||
|
|
justify-content: start;
|
||
|
|
align-items: center;
|
||
|
|
padding: 10px 0;
|
||
|
|
.line {
|
||
|
|
margin-right: 8px;
|
||
|
|
width: 3px;
|
||
|
|
height: 16px;
|
||
|
|
background: #3783ff;
|
||
|
|
border-radius: 0px 0px 0px 0px;
|
||
|
|
}
|
||
|
|
.title {
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 14px;
|
||
|
|
color: #0f274b;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|