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.
53 lines
1.1 KiB
53 lines
1.1 KiB
<template>
|
|
<div :class="['page-title-wrap', className ? className : 'min-flex']">
|
|
<b >{{ pageTitle }}</b>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
// import GuipInput from '@/components/GuipInput.vue';
|
|
import { mapState } from 'vuex';
|
|
export default {
|
|
// 站点设置
|
|
name: '',
|
|
props: ['className'],
|
|
components: {
|
|
// GuipInput,
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
computed: {
|
|
...mapState(['pageTitle']) // 从Vuex映射showSidebar状态到组件的计算属性中
|
|
},
|
|
methods: {
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss">
|
|
.page-title-wrap {
|
|
width: 100%;
|
|
height: 72px;
|
|
/* 自动布局 */
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px 12px;
|
|
box-sizing: border-box;
|
|
|
|
b {
|
|
/* headline/haeadline_3_bold */
|
|
font-family: Microsoft YaHei UI;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
line-height: 24px;
|
|
letter-spacing: 0.06em;
|
|
font-variation-settings: "opsz" auto;
|
|
/* text/text_1 */
|
|
color: #1E2226;
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
}
|
|
</style>
|