<template>
    <div class="page-header">
        <div class="contentHead">
            <div class="header-left">
                <img class="logo" :src="logoImg" />
                <span class="linemid"></span>
                <span class="header-title">{{ title }}</span>
            </div>
            <div class="header-right">{{ gobacktext }}</div>
        </div>
    </div>
</template>
  
<script>
    export default{
        props:['title','gobacktext'],
        computed: {
            logoImg() {
                return process.env.BASE_URL + 'static/images/logo.png'
            },
        }
    }
</script>

<style lang="less" scoped>
    .page-header{
        z-index: 999;
        width: 100%;
        height: 80px;
        top: 0;
        left: 0;
        position: fixed;
        background: #fff;
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
        display: flex;
        justify-content: center;
        .contentHead{
            width:1100px;
            max-width:1100px;
            height: 80px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            .header-left{
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 100%;
                .logo{
                    width:73px;
                    height:33px;
                }
                .linemid{
                    width: 1px;
                    height: 28px;
                    background: #EDEDED;
                    margin:0 16px;
                }
                .header-title{
                    height: 25px;
                    font-size: 18px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    color: #999999;
                    line-height: 25px;
                }
            }
            .header-right{
                width: 98px;
                height: 28px;
                background: #FFFFFF;
                border-radius: 4px;
                border: 1px solid #BCCBFF;
                color: #5075FC;
                line-height: 28px;
                font-size: 13px;
                text-align:center;
            }
        }
    }
</style>
  