From 9bce7bb8665b60983eb0697a101731eb39fc61dd Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 11 Oct 2025 14:49:23 +0800
Subject: [PATCH] 1

---
 src/views/main.vue              |    3 +++
 src/views/modules/user/user.vue |   16 ++++++++++++++++
 src/config.js                   |    5 +++--
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/config.js b/src/config.js
index b3f3b2b..faa9bb0 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,10 +1,10 @@
 const menuMap = {
-	'C2C_0': '',
+	'C2C管理_0': '.c2c_count',
 	'C2C支付方式模板_1': '',
 	'C2C支付方式管理_1': '',
 	'C2C承兑商管理_1': '',
 	'C2C广告配置_1': '',
-	'C2C订单_1': '',
+	'C2C订单_1': '.c2c_untreated_count',
 	'C2C申诉_1': '',
 	'理财矿机_0': '',
 	'理财配置_1': '',
@@ -66,6 +66,7 @@
 		".user_safeword_apply_untreated_cout-1", ".user_safeword_apply_untreated_cout-2",
 		".user_safeword_apply_untreated_cout-3"
 	]],
+	[".c2c_count",[".c2c_untreated_count"]],
 ]);
 
 
diff --git a/src/views/main.vue b/src/views/main.vue
index 1348710..88d307c 100644
--- a/src/views/main.vue
+++ b/src/views/main.vue
@@ -394,6 +394,9 @@
 				this.countHandle(".withdraw_order_untreated_cout", 0);
 				this.countHandle(".recharge_blockchain_order_untreated_cout", 0);
 				this.countHandle(".bank_card_order_untreated_cout", 0);
+				// C2C
+				this.countHandle(".c2c_count", 0);
+				this.countHandle(".c2c_untreated_count", 0);
 			},
 			//展示处理
 			countHandle(ele, count) {
diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue
index 516760b..65fd27d 100644
--- a/src/views/modules/user/user.vue
+++ b/src/views/modules/user/user.vue
@@ -150,6 +150,19 @@
               <span class="font_Size12 bg_Red">{{ highLevelAuthCount }}</span>
             </div>
           </div>
+          <div class="text_Box2" @click="onUseBaseButtonTwo()">
+            <div class="text_moll">
+              <img
+                style="width: 42px; height: 40px"
+                src="../../../assets/img/Vector_4.png"
+                alt=""
+              />
+            </div>
+            <div class="text_moll">
+              <span class="font_Size14">c2c</span>
+              <span class="font_Size12 bg_Red">{{ c2cMsgCount }}</span>
+            </div>
+          </div>
         </div>
       </div>
       <!-- <div class="user_Box_main user_Bottom_box">
@@ -193,6 +206,7 @@
       withdrawCount: "", //提现
       realNameAuthCount: "", //用户基础认证
       highLevelAuthCount: "", //用户高级认证
+      c2cMsgCount: "", //c2c消息数量
       allUserCount: "", //总用户数
       balanceAmount: "", //	充提差额
       recharge: "", //	充值金额
@@ -249,10 +263,12 @@
             (this.withdrawCount = data.data.withdrawCount), //提现
             (this.realNameAuthCount = data.data.realNameAuthCount), //用户基础认证
             (this.highLevelAuthCount = data.data.highLevelAuthCount); //用户高级认证
+            (this.c2cMsgCount = data.data.c2cMsgCount); //c2c消息数量
           this.waitCount =
             this.rechargeCount +
             this.withdrawCount +
             this.realNameAuthCount +
+            this.c2cMsgCount +
             this.highLevelAuthCount;
         } else {
           this.$message({

--
Gitblit v1.9.3