<template>
|
<div class="box">
|
<div class="image"></div>
|
<div class="labelOne">热点</div>
|
<div class="labelTwo">疫情防控 北京疫情防控相关描述 01-15 </div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
//import引入的组件需要注入到对象中才能使用
|
components: {},
|
data() {
|
//这里存放数据
|
return {}
|
},
|
//方法集合
|
methods: {},
|
created() {},
|
}
|
</script>
|
<style lang="less" scoped>
|
//@import url(); 引入公共css类
|
.box {
|
// display: flex;
|
width: 100%;
|
height: 100%;
|
float: left;
|
padding: 16px;
|
color: white;
|
.image {
|
height: 28px;
|
width: 28px;
|
background: url('../../../assets/img/5.png') no-repeat center;
|
background-size: 100% 100%;
|
float: left;
|
}
|
.labelOne {
|
float: left;
|
font-family: SourceHanSansCN;
|
font-style: normal;
|
font-weight: 500;
|
font-size: 27px;
|
line-height: 27px;
|
/* identical to box height, or 100% */
|
margin-left: 10px;
|
color: #ffa014;
|
}
|
.labelTwo{
|
float: left;
|
font-family: SourceHanSansCN;
|
font-style: normal;
|
font-weight: 500;
|
font-size: 27px;
|
line-height: 27px;
|
/* identical to box height, or 100% */
|
margin-left: 10px;
|
}
|
}
|
</style>
|