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.
56 lines
1.1 KiB
56 lines
1.1 KiB
|
3 months ago
|
<template>
|
||
|
|
<view>
|
||
|
|
<template v-if="title || lastTitle||titleMin">
|
||
|
|
<view class="hp_login-top">
|
||
|
|
<view class="hp_title">{{ title || "" }}</view>
|
||
|
|
<view class="hp_lastTitle">{{ lastTitle || "" }}</view>
|
||
|
|
<view class="hp_titleMin">{{ titleMin || "" }}</view>
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
name: "spHeaderTop",
|
||
|
|
props: {
|
||
|
|
title: {
|
||
|
|
type: String,
|
||
|
|
default: "",
|
||
|
|
},
|
||
|
|
lastTitle: {
|
||
|
|
type: String,
|
||
|
|
default: "",
|
||
|
|
},
|
||
|
|
titleMin: {
|
||
|
|
type: String,
|
||
|
|
default: "",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
<style lang="scss" scoped>
|
||
|
|
.hp_login-top {
|
||
|
|
padding-bottom: 16rpx;
|
||
|
|
.hp_title {
|
||
|
|
font-style: normal;
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 48rpx;
|
||
|
|
line-height: 80rpx;
|
||
|
|
color: #333333;
|
||
|
|
}
|
||
|
|
.hp_lastTitle {
|
||
|
|
font-style: normal;
|
||
|
|
font-weight: 400;
|
||
|
|
font-size: 24rpx;
|
||
|
|
line-height: 38rpx;
|
||
|
|
color: #999999;
|
||
|
|
}
|
||
|
|
.hp_titleMin{
|
||
|
|
font-style: normal;
|
||
|
|
font-weight: 550;
|
||
|
|
font-size: 32rpx;
|
||
|
|
line-height: 38rpx;
|
||
|
|
color: rgba(0,0,0,1);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|