# Frontend **Repository Path**: PromiseCatch/frontend ## Basic Information - **Project Name**: Frontend - **Description**: 第六届传智杯”我许下了Promise,你从不catch 队“项目前端 - **Primary Language**: TypeScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-24 - **Last Updated**: 2024-10-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: vue3, uni-app, TypeScript ## README # 项目前端 ## 使用框架 and 技术栈 - uni-app + Vue3 + Typescript + Vite + uv-ui ## 项目结构 ### 文件层次结构 ```text . ├── .git --- Git 版本管理相关文件 --- ├── .vscode --- 工作区配置 --- │ └── settings.json -- 工作区配置文件 ├── .gitignore -- Git 忽略规则文件 ├── .env -- 环境变量配置文件 ├── .npmrc -- 包管理行为控制文件 ├── 需求文档.md -- 顾名思义 ├── index.html -- html 挂载点 ├── package.json -- 包定义 ├── pnpm-lock.yaml -- pnpm 包管理锁 ├── README.md -- *你在这* ├── shims-uni.d.ts -- uni-app 定义文件 ├── src --- 源码 --- │   ├── apis --- api │   │   ├── api.ts -- api 方法签名 │   │   ├── auth.ts -- 用户验证实现 │   │   └── forum.ts -- 校园圈相关实现 │   ├── App.vue -- Vue 主入口 │   ├── common --- 自定义样式 --- │   │   └── style.scss │   ├── components --- 组件 --- │   │   ├── nav_bar.vue -- 顶部导航条 │   │   └── tab_bar.vue -- 底部导航条 │   ├── env.d.ts -- Vite 环境定义文件 │   ├── main.ts -- 程序主入口 │   ├── manifest.json │   ├── pages --- 页面 --- │   │   ├── about_page --- 关于 --- │   │   │   └── about.vue │   │   ├── club_page --- 社团 --- │   │   │   ├── club_detail.vue -- 社团详情页面 │   │   │   └── club.vue -- 社团主页面 │   │   ├── course_table_page --- 课程表 --- │   │   │   └── course_table.vue │   │   ├── exam_page --- 考试安排 --- │   │   │   └── exam.vue -- 考试安排页面 │   │   ├── forum_page --- 校园圈 --- │   │   │   ├── discuss_post_page --- 讨论板块 --- │   │   │   │   ├── comment_post.vue -- 讨论板块评论页面 │   │   │   │   ├── discuss_post.vue -- 讨论板块帖子页面 │   │   │   │   └── discuss_preview.vue -- 讨论页面主页面 │   │   │   ├── forum.vue -- 校园圈主页面 │   │   │   └── new_post.vue -- 发帖页面 │   │   ├── home_page --- 主页 --- │   │   │   └── home.vue │   │   ├── login_page --- 登录相关 --- │   │   │   ├── bind.vue -- 绑定身份页面 │   │   │   ├── login_method.vue -- 登录方式选择页面 │   │   │   ├── login.vue -- 登录页面 │   │   │   └── register.vue -- 注册页面 │   │   ├── message_page --- 收件箱 --- │   │   │   └── message_box.vue │   │   ├── my_page --- 我的 --- │   │   │   └── my.vue │   │   ├── navigation_page --- 地标 --- │   │   │   └── navigation.vue │   │   ├── payment_page --- 支付 --- │   │   │   └── payment.vue │   │   ├── score_page --- 分数查询 --- │   │   │   └── score.vue │   │   └── settings_page --- 设置 --- │   │   └── settings.vue │   ├── pages.json -- 页面路由 │   ├── shime-uni.d.ts │   ├── static --- 静态资源 --- │   │   ├── club_model.ts -- 社团静态数据 │   │   ├── course_model.ts -- 课程静态数据 │   │   ├── images --- 图片静态资源 --- │   │   │   ├── icon --- 图标静态资源 --- │   │   │   │   ├── email.svg │   │   │   │   └── paper_plane.svg │   │   │   └── placeholder --- 占位符静态资源 --- │   │   │   ├── address.png │   │   │   ├── cart.png │   │   │   ├── comment.png │   │   │   ├── coupon.png │   │   │   ├── data.png │   │   │   ├── favorite.png │   │   │   ├── history.png │   │   │   ├── message_list.png │   │   │   ├── message.png │   │   │   ├── network.png │   │   │   ├── news.png │   │   │   ├── not_found.png │   │   │   ├── order.png │   │   │   ├── permission.png │   │   │   └── search.png │   │   ├── logo.png -- 程序 logo │   │   ├── navigation_model.ts -- 校园地标静态数据 │   │   └── post_model.ts -- 校园圈相关静态数据 │   ├── stores --- 状态管理 --- │   │   ├── club.ts -- 社团 │   │   ├── comment.ts -- 评论 │   │   ├── course.ts -- 课程 │   │   ├── navigation.ts -- 地标 │   │   ├── post.ts -- 帖子 │   │   ├── reply.ts -- 回复 │   │   └── user.ts -- 用户 │   ├── uni.scss -- uni-app 样式 │   └── utils --- 工具 --- │   └── format_date.ts -- 日期格式化 ├── tsconfig.json -- Typescript 配置 └── vite.config.ts -- Vite 配置 ``` [需求文档](https://gitee.com/PromiseCatch/frontend/blob/master/%E9%9C%80%E6%B1%82%E6%96%87%E6%A1%A3.md)