feat(app): initialize uni-app with routing, stores, and infrastructure

- Vue 3 + TypeScript + Pinia + SCSS
- 3-tab navigation (home, booking, profile) + 11 sub-pages
- HTTP client with JWT auth, request interceptors
- Pinia stores: user (auth, profile, memberships), studio, booking
- Utility functions: price formatting, date helpers
- WeChat login helper
- All pages as stubs ready for implementation
This commit is contained in:
richarjiang
2026-04-02 12:51:28 +08:00
parent b9d55c9e9f
commit 554fc30954
36 changed files with 5438 additions and 53 deletions

21
packages/app/src/uni.scss Normal file
View File

@@ -0,0 +1,21 @@
/* uni.scss - 全局样式变量 */
$brand-color: #1a1a2e;
$brand-light: #e2d1c3;
$accent-color: #c9a87c;
$text-primary: #333333;
$text-secondary: #666666;
$text-hint: #999999;
$bg-page: #f5f5f5;
$bg-card: #ffffff;
$border-color: #eeeeee;
$success-color: #52c41a;
$warning-color: #faad14;
$error-color: #ff4d4f;
$radius-sm: 8rpx;
$radius-md: 16rpx;
$radius-lg: 24rpx;
$spacing-xs: 8rpx;
$spacing-sm: 16rpx;
$spacing-md: 24rpx;
$spacing-lg: 32rpx;
$spacing-xl: 48rpx;