<template>
|
<div class="screen1-moudle-block-title">
|
<div class="title-bottom-line"></div>
|
<div class="title-tag"></div>
|
<div class="title-text">{{title}}</div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
name:'screen1MoudleBlockTitle',
|
props:{
|
title:{
|
type:String,
|
default:'title'
|
}
|
}
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
.screen1-moudle-block-title{
|
.title-bottom-line,.title-tag,.title-text{
|
position: absolute;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 100%;
|
box-sizing: border-box;
|
}
|
.title-bottom-line,.title-tag{
|
background-repeat: no-repeat;
|
}
|
.title-bottom-line{
|
z-index: 1;
|
background-image: url(@/assets/img/screen/title-line.png);
|
background-size: 100% 2px;
|
background-position: left bottom;
|
}
|
.title-tag{
|
z-index: 2;
|
background-image: url(@/assets/img/screen/title-tag.png);
|
background-size: auto 60%;
|
background-position: left center;
|
}
|
.title-text{
|
z-index: 3;
|
color: #e4ffff;
|
display: flex;
|
align-items: center;
|
font-size: 13px;
|
padding-left: 43px;
|
padding-bottom: 8px;
|
letter-spacing: 2px;
|
}
|
}
|
</style>
|