@@ -63,6 +65,10 @@
attrType: '联系人电话',
attrValue: '------',
},
+ {
+ attrType: '归属部门名称',
+ attrValue: '------',
+ },
],
},
{
@@ -76,6 +82,10 @@
attrType: '联系人电话',
attrValue: '------',
},
+ {
+ attrType: '服务商名称',
+ attrValue: '------',
+ },
],
},
],
@@ -96,6 +106,8 @@
props.dataList.deptContacts
dataFrom.value.content[0].childrenContent[1].attrValue =
props.dataList.deptPhone
+ dataFrom.value.content[0].childrenContent[2].attrValue =
+ props.dataList.deptName
props.dataList.infoList.map((item) => {
if (item.attrType == '组件地址') {
dataFrom.value.link = item.attrValue
@@ -153,6 +165,8 @@
props.dataList.deptContacts
dataFrom.value.content[0].childrenContent[1].attrValue =
props.dataList.deptPhone
+ dataFrom.value.content[0].childrenContent[2].attrValue =
+ props.dataList.deptName
props.dataList.infoList.map((item) => {
if (item.attrType == '组件地址') {
dataFrom.value.link = item.attrValue
@@ -184,7 +198,7 @@
width: 13rem;
justify-content: space-between;
.content-card {
- height: 1.5rem;
+ height: 1.8rem;
width: 6.2rem;
border-radius: 0.2rem;
background: linear-gradient(
@@ -196,7 +210,6 @@
display: flex;
align-items: center;
& > div {
- height: 0.9rem;
width: 3.1rem;
padding-left: 0.3rem;
}
@@ -213,7 +226,7 @@
.card-content {
white-space: nowrap;
div {
- display: inline-block;
+ display: block;
margin-right: 0.2rem;
color: rgba(33, 41, 86, 0.8);
font-size: 0.2rem;
@@ -227,9 +240,6 @@
-webkit-line-clamp: 1;
}
}
- div:first-child {
- display: block;
- }
}
}
.content-card:first-child {
diff --git a/front/src/views/newHome/components/LatestCapabilities.vue b/front/src/views/newHome/components/LatestCapabilities.vue
index 99df8144..09f080ad 100644
--- a/front/src/views/newHome/components/LatestCapabilities.vue
+++ b/front/src/views/newHome/components/LatestCapabilities.vue
@@ -159,6 +159,12 @@
text-align: center;
font-size: 0.16rem;
color: #212121;
+ text-overflow: -o-ellipsis-lastline;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
}
.text {
width: 100%;