docs(api): 更新API接口文档并调整应用配置

- 添加完整的后端接口文档,包含用户、打卡记录、统计等模块
- 修复应用名称从"喝酒了么"统一更正为"喝了么"
- 重构App.vue中的启动逻辑,增加数据迁移和路由守卫功能
- 调整DrinkCalendar组件的UI间距和尺寸参数
- 优化DrinkCard组件的品牌展示文案
- 修改manifest.json中的应用描述和微信小程序配置
- 调整pages.json中的页面路径顺序和tabBar配置
- 更新全局样式文件中的应用名称标识
- 修改mock数据中的用户头像默认值
- 优化卡片导出功能的绘制逻辑和视觉效果
This commit is contained in:
cg
2026-07-14 23:27:23 +08:00
parent 93e19caa75
commit b95243c8f8
19 changed files with 1364 additions and 425 deletions
+11 -11
View File
@@ -94,12 +94,12 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: $sp-lg;
margin-bottom: $sp-sm;
}
.cal-nav {
width: 64rpx;
height: 64rpx;
width: 56rpx;
height: 56rpx;
display: flex;
align-items: center;
justify-content: center;
@@ -123,20 +123,20 @@ export default {
.cal-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
margin-bottom: $sp-sm;
margin-bottom: $sp-xs;
}
.cal-weekday {
text-align: center;
font-size: $fs-xs;
color: $text-tertiary;
padding: $sp-xs 0;
padding: 4rpx 0;
}
.cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: $sp-xs;
gap: 4rpx;
}
.cal-cell {
@@ -145,7 +145,7 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: $radius-md;
border-radius: $radius-sm;
position: relative;
transition: all $duration-fast $ease-out;
@@ -163,17 +163,17 @@ export default {
}
.cal-day-num {
font-size: $fs-sm;
font-size: $fs-xs;
font-weight: $fw-medium;
color: $text-primary;
font-family: $font-num;
}
.cal-dot {
width: 10rpx;
height: 10rpx;
width: 8rpx;
height: 8rpx;
border-radius: $radius-full;
margin-top: $sp-xs;
margin-top: 4rpx;
&.cal-dot-drank {
background: $amber;