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.
49 lines
702 B
49 lines
702 B
<template>
|
|
<h4 class="mai-section-title">{{ title }}</h4>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
setup() {},
|
|
});
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
.mai-section-title {
|
|
font-size: 32px;
|
|
color: #333;
|
|
width: 1058px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
position: relative;
|
|
margin-bottom: 82px;
|
|
|
|
&::after,
|
|
&::before {
|
|
position: absolute;
|
|
content: '';
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 40%;
|
|
height: 2px;
|
|
background: #ddd;
|
|
}
|
|
|
|
&::after {
|
|
right: 0;
|
|
}
|
|
|
|
&::before {
|
|
left: 0;
|
|
}
|
|
}
|
|
</style>
|