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.
57 lines
947 B
57 lines
947 B
<template>
|
|
<div class="m-title">
|
|
<img class="title_img" src="@/assets/images/index/list-logo.png" alt />
|
|
<div class="tip_title">{{ title }}</div>
|
|
<div class="title_line"></div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
|
|
export default {
|
|
name: "dataTitle",
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: "详情",
|
|
},
|
|
},
|
|
components: {
|
|
},
|
|
data() {
|
|
return {};
|
|
},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.m-title {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 15px;
|
|
|
|
.title_img {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
.tip_title {
|
|
margin-left: 8px;
|
|
font-size: 16px;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.title_line {
|
|
margin-left: 8px;
|
|
width: 244px;
|
|
height: 1px;
|
|
background: linear-gradient(
|
|
270deg,
|
|
rgba(55, 198, 255, 0.1) 0%,
|
|
#1995ff 100%
|
|
);
|
|
}
|
|
}
|
|
</style>
|
|
|