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 {