视图修改、接口修改

This commit is contained in:
2025-10-28 19:04:35 +08:00
parent 98c73632bd
commit c5c134fbb3
96 changed files with 7122 additions and 4194 deletions

View File

@@ -15,7 +15,7 @@
@category-change="handleCategoryChange"
/>
<ResourceList
v-if="!showArticle"
v-show="!showArticle"
ref="resourceListRef"
:tagID="currentCategoryId"
:search-keyword="searchKeyword"

View File

@@ -1,10 +1,9 @@
<template>
<div class="resource-article">
<ArticleShowView
<ArticleShow
v-if="articleData"
:as-dialog="false"
:article-data="articleData"
:category-list="[]"
:show-back-button="true"
back-button-text="返回列表"
@back="handleBack"
@@ -24,7 +23,7 @@
<script setup lang="ts">
import { ref, watch } from 'vue';
import { ArticleShowView } from '@/views/public/article';
import { ArticleShow } from '@/views/public/article';
import { ResouceCollect, ResouceBottom } from '@/views/user/resource-center/components';
import { resourceApi } from '@/apis/resource';
import { ElMessage } from 'element-plus';