diff --git a/README.md b/README.md index e18599a7..a069a17d 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,25 @@ pages/ nfc/ # NFC相关 components/ utils/ +services/ +types/ +uni_modules/ +docs/ # 项目规范与数据库策略(含 docs/sql) +mall_sql/ # 数据库迁移/部署脚本与结构化SQL仓库 ak/ ``` +## 📚 文档与数据库目录 + +- **`docs/`** + - 项目规范与研发约定集合。 + - **`docs/sql/`**:数据库“权威口径”文档与结构化 SQL 归档(策略、RLS、RPC、授权等)。 + - Agent 执行规范见:`docs/AGENT_PROJECT_SPEC.md` + +- **`mall_sql/`** + - 可执行的数据库脚本与迁移仓库(migrations/schemas/scripts 等)。 + - 用于数据库部署/迁移/结构化管理(与 `docs/sql` 的“权威口径/评审归档”配合使用)。 + ## 🚀 开发说明 - 使用 HBuilderX 或 uni-app CLI 运行与编译 diff --git a/components/analytics/AnalyticsComboChart.uvue b/components/analytics/AnalyticsComboChart.uvue index fd3ef7b2..a328103d 100644 --- a/components/analytics/AnalyticsComboChart.uvue +++ b/components/analytics/AnalyticsComboChart.uvue @@ -154,10 +154,11 @@ export default { data: x, axisTick: { alignWithLabel: true }, axisLine: { lineStyle: { color: 'rgba(0,0,0,0.12)' } }, - axisLabel: { + axisLabel: { color: 'rgba(0,0,0,0.55)', rotate: x.length > 12 ? 45 : 0, - interval: 0 + // 数据量大时不要强制全部展示,否则会全部重叠 + interval: x.length > 60 ? 'auto' : 0 } }, yAxis: [ diff --git a/components/analytics/AnalyticsSidebarMenu.uvue b/components/analytics/AnalyticsSidebarMenu.uvue index a79dab5d..a0d6c18b 100644 --- a/components/analytics/AnalyticsSidebarMenu.uvue +++ b/components/analytics/AnalyticsSidebarMenu.uvue @@ -4,15 +4,32 @@ - - {{ item.icon }} - {{ item.title }} + + {{ item.icon }} + {{ item.title }} + {{ isExpanded(item.path) ? '▾' : '▸' }} + + + + + {{ child.icon }} + {{ child.title }} + + @@ -22,11 +39,15 @@