Compare commits

...

5 Commits

Author SHA1 Message Date
weichengwu 82a3302335 update ci 2025-11-18 09:30:56 +08:00
weichengwu 3056110bdb update ci 2025-11-18 09:19:21 +08:00
weichengwu fdc2415c12 add mirror ci 2025-11-18 09:18:05 +08:00
前端小啊白 e504619da7 docs: 更新 README 文档以反映项目实际内容
更新项目介绍、技术栈、功能特点、项目结构等内容,移除默认模板信息,添加开发环境说明和移动端适配注意事项
2025-11-18 09:14:20 +08:00
weichengwu 123bdc4018 update ci 2025-11-18 08:43:37 +08:00
3 changed files with 94 additions and 4 deletions

View File

@ -1,7 +1,7 @@
name: Deploy to Server
on:
push:
branches: [main]
branches: [master]
workflow_dispatch: {}
jobs:

29
.github/workflows/git-mirror.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Mirror to smartjingrui's git
on:
push:
branches: [master]
workflow_dispatch: {}
jobs:
build:
runs-on:
labels: mac-mini-2018
steps:
- name: Checkout source repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # 必须 0否则无法完整 mirror
- name: Set up mirror remote (http)
run: |
mirror_url="http://weichengwu:cKk2HUP8@123.60.153.169:3006/fucai/fucai-claim.git"
if git remote get-url mirror >/dev/null 2>&1; then
git remote set-url mirror "$mirror_url"
else
git remote add mirror "$mirror_url"
fi
- name: Push to mirror
run: |
git push --mirror mirror

View File

@ -1,5 +1,66 @@
# Vue 3 + TypeScript + Vite
# 结婚证书 H5 应用
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## 项目介绍
这是一个基于 Vue 3 + TypeScript + Vite 构建的结婚证书 H5 应用,提供结婚证书信息填写、展示和核销功能。
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
## 技术栈
- **前端框架**: Vue 3
- **语言**: TypeScript
- **构建工具**: Vite
- **UI 框架**: Tailwind CSS
- **路由**: Vue Router
- **HTTP 客户端**: Axios
## 功能特点
- 结婚证书信息表单填写
- 验证码输入与验证
- 二维码展示与核销状态显示
- 移动端适配与键盘优化
- 响应式设计,适配不同尺寸设备
## 项目结构
```
src/
├── App.vue # 应用主组件
├── main.ts # 应用入口
├── pages/ # 页面组件
│ └── home/ # 首页
├── components/ # 通用组件
├── router/ # 路由配置
├── services/ # API 服务
├── utils/ # 工具函数
├── types/ # TypeScript 类型定义
└── assets/ # 静态资源
```
## 开发环境
### 安装依赖
```bash
pnpm install
```
### 启动开发服务器
```bash
pnpm dev
```
### 构建生产版本
```bash
pnpm build
```
### 预览构建结果
```bash
pnpm preview
```
## 移动端适配说明
项目已针对移动端设备进行了优化,包括:
- 响应式视口设置
- 键盘弹出时的界面处理
- 触摸交互优化
## 注意事项
- 开发环境 API 地址配置在 `.env.development` 文件中
- 生产环境 API 地址配置在 `.env.production` 文件中