算法广场
This commit is contained in:
parent
2fe6aed0df
commit
6e2d146ca8
|
@ -56,17 +56,11 @@
|
||||||
pageWithAttrsFunction()
|
pageWithAttrsFunction()
|
||||||
//图片显示
|
//图片显示
|
||||||
const algorithmCardPhoto = (List) => {
|
const algorithmCardPhoto = (List) => {
|
||||||
let obj = List.filter((item) => item.attrType === '图层缩略图')[0]
|
let obj = List.filter((item) => item.attrType === '应用场景')[0]
|
||||||
if (obj) {
|
if (obj && obj.attrValue != '') {
|
||||||
List.map((item) => {
|
obj = JSON.parse(obj.attrValue)[0].img
|
||||||
if (item.attrType === '图层缩略图') {
|
|
||||||
url.value = item.attrValue
|
|
||||||
}
|
}
|
||||||
})
|
return obj || ''
|
||||||
} else {
|
|
||||||
url.value = '@/assets/capacitySquare/algorithm-photo.jpg'
|
|
||||||
}
|
|
||||||
return url.value
|
|
||||||
}
|
}
|
||||||
//跳转详情页
|
//跳转详情页
|
||||||
const detailFunction = (id) => {
|
const detailFunction = (id) => {
|
||||||
|
|
Loading…
Reference in New Issue