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.
67 lines
1.2 KiB
67 lines
1.2 KiB
<template>
|
|
<div class="headline_container">
|
|
<h2 class="title_h2">
|
|
<span class="theme">{{ themeTitle }}</span
|
|
>{{ title }}
|
|
</h2>
|
|
<p class="line1" v-if="line1">{{ line1 }}</p>
|
|
<p class="line2" v-if="line2">{{ line2 }}</p>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
themeTitle: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
title: {
|
|
type: String,
|
|
},
|
|
line1: {
|
|
type: String,
|
|
},
|
|
line2: {
|
|
type: String,
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.headline_container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 36px 0;
|
|
box-sizing: border-box;
|
|
.title_h2 {
|
|
font-size: 11px;
|
|
font-family: Source Han Sans CN;
|
|
font-weight: 500;
|
|
color: #191919;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.theme {
|
|
color: #f94622;
|
|
}
|
|
.line1 {
|
|
font-size: 7px;
|
|
font-family: Source Han Sans CN;
|
|
font-weight: 300;
|
|
color: #595959;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
}
|
|
.line2 {
|
|
font-size: 7px;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 300;
|
|
color: #595959;
|
|
text-align: center;
|
|
line-height: 9px;
|
|
margin-top: 4px;
|
|
}
|
|
}
|
|
</style>
|