add unibest app skeleton with checkin and progress pages

- init unibest v4.4.0 base template
- tabbar: 4 tabs (打卡/进度/测算/持仓) with carbon icons
- pages/checkin: daily checklist, streak counter, monthly rate
- pages/progress: asset snapshot, progress bar to 71万 target
- pages/calculator, holdings: placeholder pages (stage 2)
- store/checkin.ts + store/progress.ts with pinia persist
- vite: host 0.0.0.0 for WSL2→Windows browser access

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ila
2026-06-08 10:46:43 +08:00
co-authored by Claude Sonnet 4.6
parent 9e7d20f062
commit a8fa0c0753
141 changed files with 29445 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
---
name: Bug report(报告问题)
about: Create a report to help us improve
---
<!--
注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。
Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.
-->
# Bug report(问题描述)
写清楚 unibest 版本号,平台是什么(小程序、APP还是h5),以及具体问题描述。期望是什么,实际是什么。
## Steps to reproduce(问题复现步骤)
这里写问题复现步骤
<!--
1. [xxx]
2. [xxx]
3. [xxxx]
-->
+6
View File
@@ -0,0 +1,6 @@
---
name: Feature Request(新功能建议)
about: Suggest an idea for this project
---
# Feature request(新功能建议)
+25
View File
@@ -0,0 +1,25 @@
name: Auto Merge aliyun
on:
push:
branches:
- main
workflow_dispatch: # 手动触发
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
- name: Merge main into aliyun
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout aliyun
git merge main --no-ff -m "Auto merge main into aliyun"
git push origin aliyun
+50
View File
@@ -0,0 +1,50 @@
name: Auto Merge Main to Other Branches
on:
push:
branches:
- main
workflow_dispatch: # 手动触发
jobs:
merge-to-base:
name: Merge main into base
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
- name: Merge main into base
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout base
git merge main --no-ff -m "Auto merge main into base"
git push origin base
- name: Merge base into base-login
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout base-login
git merge base --no-ff -m "Auto merge base into base-login"
git push origin base-login
- name: Merge base into base-i18n
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout base-i18n
git merge base --no-ff -m "Auto merge base into base-i18n"
git push origin base-i18n
- name: Merge base into base-login-i18n
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout base-login-i18n
git merge base --no-ff -m "Auto merge base into base-login-i18n"
git push origin base-login-i18n
+63
View File
@@ -0,0 +1,63 @@
# 构建 VitePress 站点并将其部署到 GitHub Pages 的示例工作流程
#
name: Deploy VitePress site to Pages
on:
push:
branches: [main]
# 允许你从 Actions 选项卡手动运行此工作流程
workflow_dispatch:
# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# 只允许同时进行一次部署,跳过正在运行和最新队列之间的运行队列
# 但是,不要取消正在进行的运行,因为我们希望允许这些生产部署完成
concurrency:
group: pages
cancel-in-progress: false
jobs:
# 构建工作
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
with:
version: 9
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: pnpm i
- name: Build with VitePress
run: pnpm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
# 部署工作
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4