bug566
This commit is contained in:
parent
d6e7324b80
commit
e7bfc7db36
|
@ -102,24 +102,24 @@
|
|||
if (!obj) {
|
||||
flag.value = false
|
||||
} else {
|
||||
dataFrom.value.content[0].childrenContent[0].attrValue =
|
||||
props.dataList.deptContacts
|
||||
dataFrom.value.content[0].childrenContent[1].attrValue =
|
||||
props.dataList.deptPhone
|
||||
props.dataList.deptContacts
|
||||
dataFrom.value.content[0].childrenContent[2].attrValue =
|
||||
props.dataList.deptPhone
|
||||
dataFrom.value.content[0].childrenContent[0].attrValue =
|
||||
props.dataList.deptName
|
||||
props.dataList.infoList.map((item) => {
|
||||
if (item.attrType == '组件地址') {
|
||||
dataFrom.value.link = item.attrValue
|
||||
} else if (item.attrType == '服务商联系人') {
|
||||
dataFrom.value.content[1].childrenContent[0].attrValue =
|
||||
item.attrValue
|
||||
} else if (item.attrType == '服务商联系电话') {
|
||||
dataFrom.value.content[1].childrenContent[1].attrValue =
|
||||
item.attrValue
|
||||
} else if (item.attrType == '服务商' || item.attrType == '服务商名') {
|
||||
} else if (item.attrType == '服务商联系电话') {
|
||||
dataFrom.value.content[1].childrenContent[2].attrValue =
|
||||
item.attrValue
|
||||
} else if (item.attrType == '服务商' || item.attrType == '服务商名') {
|
||||
dataFrom.value.content[1].childrenContent[0].attrValue =
|
||||
item.attrValue
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -164,26 +164,26 @@
|
|||
if (!obj) {
|
||||
flag.value = false
|
||||
} else {
|
||||
dataFrom.value.content[0].childrenContent[0].attrValue =
|
||||
props.dataList.deptContacts
|
||||
dataFrom.value.content[0].childrenContent[1].attrValue =
|
||||
props.dataList.deptPhone
|
||||
props.dataList.deptContacts
|
||||
dataFrom.value.content[0].childrenContent[2].attrValue =
|
||||
props.dataList.deptPhone
|
||||
dataFrom.value.content[0].childrenContent[0].attrValue =
|
||||
props.dataList.deptName
|
||||
props.dataList.infoList.map((item) => {
|
||||
if (item.attrType == '组件地址') {
|
||||
dataFrom.value.link = item.attrValue
|
||||
} else if (item.attrType == '服务商联系人') {
|
||||
dataFrom.value.content[1].childrenContent[0].attrValue =
|
||||
dataFrom.value.content[1].childrenContent[1].attrValue =
|
||||
item.attrValue
|
||||
} else if (item.attrType == '服务商联系电话') {
|
||||
dataFrom.value.content[1].childrenContent[1].attrValue =
|
||||
dataFrom.value.content[1].childrenContent[2].attrValue =
|
||||
item.attrValue
|
||||
} else if (
|
||||
item.attrType == '服务商' ||
|
||||
item.attrType == '服务商名'
|
||||
) {
|
||||
dataFrom.value.content[1].childrenContent[2].attrValue =
|
||||
dataFrom.value.content[1].childrenContent[0].attrValue =
|
||||
item.attrValue
|
||||
}
|
||||
})
|
||||
|
@ -204,11 +204,11 @@
|
|||
}
|
||||
.content {
|
||||
display: flex;
|
||||
width: 13rem;
|
||||
width: 14rem;
|
||||
justify-content: space-between;
|
||||
.content-card {
|
||||
height: 1.8rem;
|
||||
width: 6.2rem;
|
||||
width: 6.6rem;
|
||||
border-radius: 0.2rem;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
|
@ -242,11 +242,18 @@
|
|||
max-width: 2.8rem;
|
||||
div {
|
||||
max-width: 2.8rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 1;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// display: -webkit-box;
|
||||
// -webkit-box-orient: vertical;
|
||||
// -webkit-line-clamp: 1;
|
||||
& > span:last-child {
|
||||
display: inline-block;
|
||||
width: 1.19rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue