|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="ac-item-card">
|
|
<div class="ac-item-card">
|
|
- <div class="card-name">{{ item.technologicalNeedsName }}</div>
|
|
|
|
|
|
+ <div class="card-name">{{ item.technologicalNeedsName ? item.technologicalNeedsName : '没有成果名称' }}</div>
|
|
<div class="card-pic">
|
|
<div class="card-pic">
|
|
<img :src="item.technicalPicturesPath" alt="#" />
|
|
<img :src="item.technicalPicturesPath" alt="#" />
|
|
<img class="corner" src="@/assets/icon/corner.png" alt="#" />
|
|
<img class="corner" src="@/assets/icon/corner.png" alt="#" />
|
|
@@ -69,7 +69,10 @@ defineProps({
|
|
justify-content: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
position: relative;
|
|
img {
|
|
img {
|
|
|
|
+ border-radius: 1rem;
|
|
width: 25rem;
|
|
width: 25rem;
|
|
|
|
+ height: 13rem;
|
|
|
|
+ object-fit: cover;
|
|
}
|
|
}
|
|
.corner {
|
|
.corner {
|
|
position: absolute;
|
|
position: absolute;
|