编目添加算法效果图片
This commit is contained in:
parent
be50b4c5d6
commit
ebd71b3015
|
@ -72,7 +72,8 @@
|
||||||
(item.type === '组件服务' &&
|
(item.type === '组件服务' &&
|
||||||
item.infoList &&
|
item.infoList &&
|
||||||
item.infoList.filter((val) => val.attrType == '图层缩略图')[0]) ||
|
item.infoList.filter((val) => val.attrType == '图层缩略图')[0]) ||
|
||||||
item.infoList.filter((val) => val.attrType == '组件图片')[0]
|
item.infoList.filter((val) => val.attrType == '组件图片')[0] ||
|
||||||
|
item.infoList.filter((val) => val.attrType == '算法效果图片')[0]
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<a-image
|
<a-image
|
||||||
|
@ -99,6 +100,18 @@
|
||||||
"
|
"
|
||||||
:fallback="item.type == '开发组件' ? imgSrcKfzj : imgSrcYwzj"
|
:fallback="item.type == '开发组件' ? imgSrcKfzj : imgSrcYwzj"
|
||||||
/>
|
/>
|
||||||
|
<a-image
|
||||||
|
v-else-if="
|
||||||
|
item.infoList.filter((val) => val.attrType == '算法效果图片')[0]
|
||||||
|
"
|
||||||
|
:width="106"
|
||||||
|
:preview="false"
|
||||||
|
:src="
|
||||||
|
item.infoList.filter((val) => val.attrType == '算法效果图片')[0]
|
||||||
|
.attrValue
|
||||||
|
"
|
||||||
|
:fallback="imgSrcZnsf"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="left"
|
class="left"
|
||||||
|
@ -816,6 +829,7 @@
|
||||||
})
|
})
|
||||||
const imgSrcYyzy = ref(require('@/assets/home/yyzy_square.png'))
|
const imgSrcYyzy = ref(require('@/assets/home/yyzy_square.png'))
|
||||||
const imgSrcTcfw = ref(require('@/assets/home/tcfw_square.png'))
|
const imgSrcTcfw = ref(require('@/assets/home/tcfw_square.png'))
|
||||||
|
const imgSrcZnsf = ref(require('@/assets/home/znsf_square.png'))
|
||||||
const imgSrcKfzj = ref(require('@/assets/home/kfzj_square.png'))
|
const imgSrcKfzj = ref(require('@/assets/home/kfzj_square.png'))
|
||||||
const imgSrcYwzj = ref(require('@/assets/home/ywzj_square.png'))
|
const imgSrcYwzj = ref(require('@/assets/home/ywzj_square.png'))
|
||||||
let videoUrl = ref('')
|
let videoUrl = ref('')
|
||||||
|
@ -900,6 +914,7 @@
|
||||||
getTagList,
|
getTagList,
|
||||||
imgSrcYyzy,
|
imgSrcYyzy,
|
||||||
imgSrcTcfw,
|
imgSrcTcfw,
|
||||||
|
imgSrcZnsf,
|
||||||
imgSrcKfzj,
|
imgSrcKfzj,
|
||||||
imgSrcYwzj,
|
imgSrcYwzj,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue