<a-descriptions
:column="3"
:title="项目信息"
class="pl-5 pr-5"
bordered
:labelStyle="{
background: '#f3f9fd',
color: '#0c466b',
fontSize: '18.56px',
fontWeight: '600',
}"
:contentStyle="{
fontSize: '16.56px',
fontWeight: '400',
color: '#555c6a',
}"
>
<template #title>
<div
style="
padding: 15px;
background-color: #f3f9fd;
color: #0c466b;
font-weight: 600;
text-align: center;
"
>
项目信息
</div>
</template>
不写行内的话可以v-deep
::v-deep .ant-descriptions-title {
margin-bottom: -20px;
padding: 15px;
background-color: #f3f9fd;
color: #0c466b;
font-weight: 600;
text-align: center;
}