From 743abaebb551dc24d0ca368f1300fb1326127ae0 Mon Sep 17 00:00:00 2001
From: dzl <786316265@qq.com>
Date: Mon, 29 Sep 2025 15:01:55 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=94=AF=E4=BB=98=E6=96=B9?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Pay.vue | 59 +++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 54 insertions(+), 5 deletions(-)
diff --git a/src/views/Pay.vue b/src/views/Pay.vue
index 526ca68..e258e0b 100644
--- a/src/views/Pay.vue
+++ b/src/views/Pay.vue
@@ -246,7 +246,7 @@
-
+
+
+
+
+
+
+
微信支付
+
使用微信进行支付(¥{{ getRMBPrice() }})
+
+
+
@@ -315,6 +334,15 @@
+
+
+
+
+ ¥
+ {{ getRMBPrice() }}
+
+
+
@@ -389,6 +417,12 @@ const totalPointsPrice = computed(() => {
return sum + (pointsPrice * item.quantity)
}, 0)
})
+
+// 计算人民币价格(融豆价格1:1换算)
+const getRMBPrice = () => {
+ const totalRongdou = totalRongdouPrice.value
+ return (totalRongdou).toFixed(2) // 假设1融豆=0.01元,可根据实际汇率调整
+}
// 用户余额数据
const userBalance = ref({
points: 0, // 用户积分
@@ -1471,8 +1505,23 @@ onMounted(() => {
}
.bottom-points-price {
- font-size: 14px;
- color: #666;
+ font-size: 16px;
+ font-weight: bold;
+ color: #ff4757;
+}
+
+/* 人民币价格显示样式 */
+.bottom-rmb-symbol {
+ font-size: 16px;
+ font-weight: bold;
+ color: #ff4757;
+ margin-right: 2px;
+}
+
+.bottom-rmb-price {
+ font-size: 18px;
+ font-weight: bold;
+ color: #ff4757;
}
.bottom-points-price {