From 7ff419b8eb899685c12dfee16f0ca94f0f159cff Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Fri, 23 May 2025 21:23:57 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BD=9C=E5=AE=B6?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=8A=9F=E8=83=BD=E5=8F=8A=E7=9B=B8=E5=85=B3?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
新增作家中心功能,包括作品管理、读者管理、作品创建、作品设置等页面。优化路由守卫逻辑,确保作家权限验证。添加调试工具函数,便于开发过程中查看用户状态。调整部分组件样式和逻辑,提升用户体验。
---
src/App.vue | 25 +-
src/api/index.js | 2 +-
src/components/auth/AuthorApplicationModal.vue | 13 +-
src/components/auth/AuthorApplicationProvider.vue | 72 ++-
src/components/author/WorkItem.vue | 226 +++++++++
src/components/book/BookComments.vue | 148 +++++-
src/components/book/InteractiveReward.vue | 381 +++++++++++++++
src/layout/index.vue | 77 ++-
src/layout/layout/Header.vue | 40 +-
src/main.js | 15 +-
src/router/index.js | 141 +++++-
src/store/index.js | 39 +-
src/utils/debug.js | 40 ++
src/views/author/AuthorCenter.vue | 124 +++++
src/views/author/CreateWork.vue | 303 ++++++++++++
src/views/author/WorkEdit.vue | 549 ++++++++++++++++++++++
src/views/author/WorkSetup.vue | 502 ++++++++++++++++++++
src/views/author/components/ReadersManagement.vue | 161 +++++++
src/views/author/components/WorksManagement.vue | 306 ++++++++++++
src/views/book/index.vue | 60 ++-
20 files changed, 3114 insertions(+), 110 deletions(-)
create mode 100644 src/components/author/WorkItem.vue
create mode 100644 src/components/book/InteractiveReward.vue
create mode 100644 src/utils/debug.js
create mode 100644 src/views/author/AuthorCenter.vue
create mode 100644 src/views/author/CreateWork.vue
create mode 100644 src/views/author/WorkEdit.vue
create mode 100644 src/views/author/WorkSetup.vue
create mode 100644 src/views/author/components/ReadersManagement.vue
create mode 100644 src/views/author/components/WorksManagement.vue
diff --git a/src/App.vue b/src/App.vue
index 9669f98..b07feae 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,15 +1,18 @@
-
+
+
{{ workTitle }}
+