吴羡
2026-11-04 100763653e48baa9cf99938d9a45e2a08395d8f1
src/views/CNAS/externalService/serviceAndSupplyPro/component/CardPanel.vue
@@ -2,10 +2,12 @@
    <div class="card-container" @click="handleCard">
        <div class="card-panel" :class="[isActive == index ? 'isActive' : '']">
            <el-image
                v-if="data.logo"
                style="width: 80%; height: 140px"
                :src="javaApi + '/img/' + data.logo"
                fit="fill"
            />
            <div v-else class="card-empty">暂无图片</div>
        </div>
        <div class="title">
            {{ data.supplierRef }}
@@ -68,6 +70,15 @@
    border: 1px solid var(--el-color-primary);
    background: #1D56C50D;
}
.card-empty {
    width: 80%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lims-text-3);
    font-size: 14px;
}
.title {
    margin-top: 15px;
}