|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="card-default">
|
|
|
<div class="header">
|
|
|
- <img class="icon" :src="img_src" alt="" />
|
|
|
+ <img class="icon" :src="getIconIntelligent(img_src)" alt="" />
|
|
|
<div class="title">{{ name }}</div>
|
|
|
</div>
|
|
|
<div class="section">
|
|
|
@@ -15,6 +15,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import { getIconIntelligent } from '../common/icon-map.js';
|
|
|
const props = defineProps({
|
|
|
name: {
|
|
|
type: String,
|
|
|
@@ -23,7 +24,7 @@ const props = defineProps({
|
|
|
},
|
|
|
img_src: {
|
|
|
type: String,
|
|
|
- default: '../../assets/image/management/intelligent-frame1.png'
|
|
|
+ default: 'intellFrame6'
|
|
|
},
|
|
|
description: {
|
|
|
type: String,
|