page-head.vue 852 字节
Newer Older
Y
yurj26 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<template name="page-head">
    <view class="common-page-head">
        <view class="common-page-head-title-box">
            <text class="common-page-head-title">{{title}}</text>
        </view>
    </view>
</template>
<script>
    export default {
        name: "page-head",
        props: {
            title: {
                type: String,
                default: ""
            }
        }
    }
</script>
<style>
    .common-page-head {
        display: flex;
        padding: 35rpx;
        flex-direction: row;
        justify-content: center;
    }

    .common-page-head-title-box {
        padding: 0 40rpx;
        height: 88rpx;
        border-bottom: 2rpx solid #D8D8D8;
    }

    .common-page-head-title {
        line-height: 88rpx;
        font-size: 30rpx;
        color: #BEBEBE;
    }
</style>