修复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

@ -3,7 +3,7 @@
<div class="bar-list">
<div class="top-box">
<div class="title-wrap">
<img :src="`/logo/${tool.img}_check.png`" alt="" />
<img :src="category_icon || ''" alt="" />
<span class="title-text gradient-color">
{{tool.categoryName}}
</span>
@ -27,7 +27,7 @@
View more<i class="el-icon-arrow-right"></i>
</div>
<div class="item-card" v-if="tool.tools && tool.tools.length">
<div v-for="(item, index) in tool.tools" :key="index" style="min-height: 110px">
<div v-for="(item, index) in tool.tools" :key="index" class="item">
<ToolItemCard :config="item" :categorySlug="categorySlug" />
</div>
</div>
@ -56,6 +56,10 @@
categorySlug: {
type: String,
default: '',
},
category_icon: {
type: String,
default: '',
}
},
data() {
@ -78,6 +82,11 @@
display: flex;
align-items: center;
gap: 6px;
img {
width: 24px;
height: 24px;
}
}
.bar-list {
@ -115,10 +124,6 @@
color: #64748B;
font-weight: 600;
&:active {
// cursor: grabbing;
/* 抓取中状态 */
}
}
.more {
@ -138,5 +143,10 @@
gap: 20px;
grid-template-columns: repeat(4, 1fr);
margin-top: 30px;
.item {
min-height: 110px;
width: 100%;
overflow: hidden;
}
}
</style>