diff --git a/src/pages/mall/subs/components/payment-dialog.vue b/src/pages/mall/subs/components/payment-dialog.vue
new file mode 100644
index 0000000..d137249
--- /dev/null
+++ b/src/pages/mall/subs/components/payment-dialog.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+ 选择支付方式
+
+
+
+
+ 微信支付
+
+
+
+
+
+ 余额(剩余¥100)
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/mall/subs/order/order-confirm.vue b/src/pages/mall/subs/order/order-confirm.vue
index 498450a..685f3f2 100644
--- a/src/pages/mall/subs/order/order-confirm.vue
+++ b/src/pages/mall/subs/order/order-confirm.vue
@@ -81,9 +81,9 @@
-
+
支付方式
- 微信支付
+ {{ paymentType === 0 ? '微信支付' : '余额' }}
@@ -91,16 +91,28 @@
合计
¥29.90
- 确认订单
+ 确认订单
+ paymentType=args' />
diff --git a/src/static/images/ic_back.png b/src/static/images/ic_back.png
new file mode 100644
index 0000000..2ab340b
Binary files /dev/null and b/src/static/images/ic_back.png differ
diff --git a/src/static/images/ic_balance.png b/src/static/images/ic_balance.png
new file mode 100644
index 0000000..baafe98
Binary files /dev/null and b/src/static/images/ic_balance.png differ
diff --git a/src/static/images/ic_order.png b/src/static/images/ic_order.png
new file mode 100644
index 0000000..ceb7352
Binary files /dev/null and b/src/static/images/ic_order.png differ
diff --git a/src/static/images/ic_wechat.png b/src/static/images/ic_wechat.png
new file mode 100644
index 0000000..a721748
Binary files /dev/null and b/src/static/images/ic_wechat.png differ
diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts
index e02aa42..52618a1 100644
--- a/src/store/modules/user/index.ts
+++ b/src/store/modules/user/index.ts
@@ -68,7 +68,8 @@ const useUserStore = defineStore('user', {
...wechatUserInfo.userInfo,
encryptedData: wechatUserInfo?.encryptedData,
rawData: JSON.parse(wechatUserInfo?.rawData),
- signature: wechatUserInfo?.signature
+ signature: wechatUserInfo?.signature,
+ iv: wechatUserInfo.iv
};
const res = await login({