修复bug

This commit is contained in:
2025-10-31 15:58:11 +08:00
parent d3375a347f
commit c54f9c9976
29 changed files with 823 additions and 218 deletions

View File

@ -46,14 +46,13 @@ export default {
<template>
<div class="card-caontainer" @click="goToToolDetail">
<div class="title">
<img :src="config.iconUrl || '/'" alt="" />
<span style="font-size: 18px">
<div class="icon">
<img :src="config.iconUrl || '/'" alt="" />
</div>
<span class="title-text">
{{ config.name || '' }}
</span>
</div>
<!--<div class="text"-->
<!-- v-if="config.memo && containsHtml(config.memo + '</p>')"-->
<!-- v-html="config.memo"></div>-->
<div class="text">
{{ config.memo ? config.memo : '' }}
</div>
@ -62,13 +61,13 @@ export default {
<style scoped lang="scss">
.card-caontainer {
width: 100%;
height: 100%;
background: #FFFFFF;
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
border-radius: 8px;
padding: 16px;
border: 1px solid #E2E8F0;
height: 100%;
box-sizing: border-box;
&:hover {
cursor: pointer;
@ -86,9 +85,24 @@ export default {
align-items: center;
gap: 10px;
img {
.title-text {
font-size: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon {
width: 40px;
height: 40px;
border-radius: 6px;
background: #f9fafc;
padding: 6px;
img {
width: 28px;
height: 28px;
flex-shrink: 0;
}
}
span {
@ -96,6 +110,10 @@ export default {
font-size: $big-font-size;
font-weight: 600;
font-family: 'Poppins-SemiBold', serif;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}