From d45e556c20cae76709e6bf3381d61819f6786866 Mon Sep 17 00:00:00 2001 From: liqupan Date: Tue, 4 Nov 2025 19:25:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BA=A4=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 45 ++ README.md | 55 ++ logs/nginx.pid | 1 + project.config.json | 19 +- project.private.config.json | 26 +- src/pages.json | 32 +- src/pages/chat/chat.vue | 989 ++++++++++++++++++++++++++------ src/pages/create/create.vue | 215 +++++-- src/pages/drama/index.vue | 387 +++++++++++++ src/pages/index/index.vue | 808 +++++++++++++++----------- src/pages/mine/mine.vue | 304 +++++++--- src/pages/recharge/history.vue | 520 +++++++++++++++++ src/pages/recharge/recharge.vue | 719 +++++++++++++++++++++++ src/stores/user.js | 6 +- src/utils/aiCharacters.js | 51 +- src/utils/api.js | 452 ++++++++++++++- 前端交接文档.md | 211 +++++++ 背景/1.vue | 73 +++ 背景/2.vue | 141 +++++ 背景/3.vue | 64 +++ 20 files changed, 4441 insertions(+), 677 deletions(-) create mode 100644 AGENTS.md create mode 100644 README.md create mode 100644 logs/nginx.pid create mode 100644 src/pages/drama/index.vue create mode 100644 src/pages/recharge/history.vue create mode 100644 src/pages/recharge/recharge.vue create mode 100644 前端交接文档.md create mode 100644 背景/1.vue create mode 100644 背景/2.vue create mode 100644 背景/3.vue diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..beeeddf --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,45 @@ +# Repository Guidelines + +## Project Structure & Module Organization +- Source: `src/` (entry `src/main.js`, app shell `src/App.vue`). +- Pages: `src/pages/**` with Uni-App routing in `src/pages.json` (e.g., `pages/index/index.vue`). +- UI Components: `src/components/` (reusable, app-agnostic). +- State: `src/stores/` (Pinia stores). +- Utilities: `src/utils/`; Styles: `src/styles/`, global `src/uni.scss`. +- Assets: `src/static/`. +- Build output: `dist/`; temp and logs: `temp/`, `logs/`. +- Tooling: `vite.config.js`, `manifest.json`, `index.html`. + +## Build, Test, and Development Commands +- Install: `npm install` +- Dev (H5): `npm run dev:h5` — start Vite + Uni dev server. +- Dev (Weixin Mini Program): `npm run dev:mp-weixin` +- Build (H5): `npm run build:h5` +- Build (Weixin Mini Program): `npm run build:mp-weixin` +- Custom target: `npm run dev:custom -- -p ` (e.g., `mp-alipay`). +- Output is written to `dist/`. + +## Coding Style & Naming Conventions +- Indentation: 2 spaces; trailing spaces trimmed. +- Vue 3 SFCs: prefer ` \ No newline at end of file diff --git a/src/pages/drama/index.vue b/src/pages/drama/index.vue new file mode 100644 index 0000000..d29eae3 --- /dev/null +++ b/src/pages/drama/index.vue @@ -0,0 +1,387 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 8e285a3..ad2fff1 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,27 +1,39 @@