济菏高速业务端
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.

70 lines
1.2 KiB

1 year ago
<template>
<div class="DescCard">
1 year ago
<span class="time">{{ data.time }}</span>
<div class="info">
<img src="./images/avatar.svg" />
<span class="name">{{ data.name }}</span>
<span class="posts">{{ data.posts }}</span>
</div>
<!-- <div class="desc">{{ data.desc }}</div> -->
<div class="desc" v-html="data.desc" />
1 year ago
</div>
</template>
<script>
export default {
name: "DescCard",
1 year ago
props: {
data: {
type: Object,
default: () => ({}),
},
},
};
1 year ago
</script>
<style lang="scss" scoped>
1 year ago
.DescCard {
font-size: 14px;
// font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #ffffff;
1 year ago
line-height: 16px;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
display: flex;
flex-direction: column;
gap: 6px;
background: #0d5f79;
1 year ago
border-radius: 6px 6px 6px 6px;
opacity: 1;
border: 1px solid #00b3cc;
1 year ago
padding: 9px 15px;
.time {
}
1 year ago
.info {
display: flex;
gap: 9px;
align-items: center;
.name {
font-size: 16px;
font-weight: 500;
line-height: 19px;
}
.posts {
}
1 year ago
}
.desc {
font-size: 16px;
line-height: 19px;
}
}
</style>