From e8265fcb603358426f2dbe06193a86ccf6332ad0 Mon Sep 17 00:00:00 2001
From: chensiAb <chenchenco03@163.com>
Date: Tue, 14 Jan 2025 09:58:03 +0800
Subject: [PATCH] 千分位方法说明

---
 layout/homeNav/CHomeNav.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/layout/homeNav/CHomeNav.vue b/layout/homeNav/CHomeNav.vue
index 2035d3f..25b41b1 100644
--- a/layout/homeNav/CHomeNav.vue
+++ b/layout/homeNav/CHomeNav.vue
@@ -5,7 +5,13 @@
 
 <template>
     <view :class="['c-home-nav', 'col-'+layout]">
-        <slot />
+        <view
+            class="c-home-nav-title"
+            v-if="title"
+        >{{title}}</view>
+        <view class="c-home-nav-content">
+            <slot />
+        </view>
     </view>
 </template>
 
@@ -21,6 +27,8 @@
             type: String,
             default: 'two',
         },
+        // 群组标题
+        title: String,
     },
     methods: {},
 };

--
Gitblit v1.9.1