浏览代码

feat: 日统计/月统计列表卡片新增注册用户和活跃用户

info-grid 从 4 列扩展为 6 列(2 行 → 3 行),后台 DailyStatVo /
MonthStatVo 已包含 registrations 和 activeUserCount 字段,仅前端展示。

Co-Authored-By: Claude <noreply@anthropic.com>
skyline 1 月之前
父节点
当前提交
cb655ffc7f
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      admin-h5/src/pages/statistics/index.vue

+ 8 - 0
admin-h5/src/pages/statistics/index.vue

@@ -101,6 +101,14 @@
               <text class="info-label">订单数</text>
               <text class="info-value">{{ item.ordersCount || 0 }}</text>
             </view>
+            <view class="info-item">
+              <text class="info-label">注册用户</text>
+              <text class="info-value">{{ item.registrations || 0 }}</text>
+            </view>
+            <view class="info-item">
+              <text class="info-label">活跃用户</text>
+              <text class="info-value">{{ item.activeUserCount || 0 }}</text>
+            </view>
           </view>
         </view>
       </view>