From 915253eefbea3d229a640f0f1e3be7a08489398c Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Wed, 12 Aug 2026 16:36:44 +0800 Subject: [PATCH] feat(oa): show draft pending cc badges on mobile home menu Co-authored-by: Cursor --- mobile-h5/components/MenuGrid.vue | 10 ++++++ mobile-h5/pages/index/index.vue | 29 ++++++++++++++++ mobile-h5/styles/components/menu-grid.scss | 22 ++++++++++++ mobile-h5/utils/oa-badge.js | 40 ++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 mobile-h5/utils/oa-badge.js diff --git a/mobile-h5/components/MenuGrid.vue b/mobile-h5/components/MenuGrid.vue index c45d7f00..6b558873 100644 --- a/mobile-h5/components/MenuGrid.vue +++ b/mobile-h5/components/MenuGrid.vue @@ -12,6 +12,7 @@ :style="iconBoxStyle(m)" > + {{ badgeText(m) }} {{ m.title }} @@ -21,6 +22,7 @@