Files
sgxt_web/src/views/backOfficeSystem/MakeAcomment/components/itemXs/itemXs.vue

88 lines
1.9 KiB
Vue
Raw Normal View History

2025-08-06 14:25:36 +08:00
<template>
2025-08-16 16:54:03 +08:00
<div class="itemXs_Box" :style="{color:fontColor,backgroundColor:bgColor}">
2025-08-06 14:25:36 +08:00
<div class="itemXs_Mc">
2025-08-16 16:54:03 +08:00
{{ item.xsMc }}
2025-08-06 14:25:36 +08:00
</div>
<div class="itemXs_Ms">
2025-08-16 16:54:03 +08:00
{{item.xsNr }}
2025-08-06 14:25:36 +08:00
</div>
<div class="itemXs_Xs flex just-between align-center">
2025-08-16 16:54:03 +08:00
<div class=" flex just-between align-center">
<el-icon class="icon"><Histogram /></el-icon>
{{item.rd?item.rd:0}}
</div>
<div class=" flex just-between align-center">
<el-icon class="icon"><ChatDotSquare /></el-icon>
{{item.pls?item.pls:0}}
</div>
<div class=" flex just-between align-center">
<el-icon class="icon"><Clock /></el-icon>
{{item.fbsj}}
</div>
<div class=" flex just-between align-center">
<el-icon class="icon"><Avatar /></el-icon>
{{item.fbrxm}}
</div>
<div class="flex align-center">情报类型
<DictTag :tag="false" :value="item.xlLx" color="#6c6c6c" :options="dict.D_GS_XS_LX" />
</div>
2025-08-06 14:25:36 +08:00
</div>
</div>
</template>
<script setup>
const props = defineProps({
item: {
type: Object,
default: () => { },
2025-08-16 16:54:03 +08:00
}, bgColor: {
type: String,
default: '#ffebee'
},fontColor:{
type:String,
default:'#de0909'
}, dict: {
type:Object,
default:()=>{}
}
2025-08-06 14:25:36 +08:00
})
</script>
<style lang="scss" scoped>
.itemXs_Box {
box-sizing: border-box;
2025-08-16 16:54:03 +08:00
width: 32.5%;
border-radius: 5px;
padding: 20px 10px;
max-height: 11vh;
2025-08-06 14:25:36 +08:00
.itemXs_Mc {
font-size: 16px;
2025-08-16 16:54:03 +08:00
font-weight: 800;
2025-08-06 14:25:36 +08:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2025-08-16 16:54:03 +08:00
line-height: 20px;
2025-08-06 14:25:36 +08:00
}
.itemXs_Ms {
2025-08-16 16:54:03 +08:00
color: #6c6c6c;
2025-08-06 14:25:36 +08:00
font-size: 14px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin: 10px 0;
}
.itemXs_Xs{
2025-08-16 16:54:03 +08:00
font-size: 12px;
color: #6c6c6c;
2025-08-06 14:25:36 +08:00
line-height: 20px;
2025-08-16 16:54:03 +08:00
display: flex;
align-items: center;
2025-08-06 14:25:36 +08:00
.icon{
2025-08-16 16:54:03 +08:00
font-size: 18px;
2025-08-06 14:25:36 +08:00
}
}
}
</style>