优化工具箱详情页面及点击跳转功能

This commit is contained in:
wangqiao
2025-09-16 22:37:41 +08:00
parent c11116d9a9
commit 06b60a4ff9
2 changed files with 97 additions and 1 deletions

View File

@ -28,7 +28,7 @@
</el-form-item>
</el-form>
<div class="box-border border border-[#EEEEEE] rounded-[12px] border-solid bg-[#FFFFFF] px-[28px] py-[17px]">
<div v-for="item in pageRes?.list" :key="item.id" class="mt-[20px] flex border-b-[1px] border-b-[#eee] border-b-solid pb-[20px]">
<div @click="handleClick(item)" v-for="item in pageRes?.list" :key="item.id" class="mt-[20px] flex border-b-[1px] border-b-[#eee] border-b-solid pb-[20px]">
<div class="h-[142px] w-[200px] text-center">
<el-image :src="item.iconUrl" alt="" srcset="" class="max-w-[100%] rd-[4px]" fit="cover" />
</div>
@ -187,6 +187,10 @@
getPage()
}
const handleClick = (item: ProjectDrawPageRespVO) => {
navigateTo(`/toolbox-detail`)
}
const { data: recommendList } = await useAsyncData(`draw-recommend-list-getRelationRecommend`, async () => {
const res = await getRelationRecommend({
type: 4,