From 7090c14ba3b50948952e7fcb9e0652ed6ec86e20 Mon Sep 17 00:00:00 2001
From: liudan <18634735655@163.com>
Date: Fri, 19 Jul 2024 18:20:27 +0800
Subject: [PATCH] 1
---
api/user.js | 8 +++
components/psw.vue | 115 ++++++++++++++++++++++++++++++++++
pages/goods/cashier/index.vue | 43 +++++++++++--
pages/users/mima/index.vue | 62 +++++++++++-------
4 files changed, 203 insertions(+), 25 deletions(-)
create mode 100644 components/psw.vue
diff --git a/api/user.js b/api/user.js
index ecfcab1..f0cfe70 100644
--- a/api/user.js
+++ b/api/user.js
@@ -727,4 +727,12 @@ export function changeRemindStatus(status) {
*/
export function spreadAgent(data) {
return request.post(`agent/spread`, data);
+}
+// 设置密码
+export function setPsw(data) {
+ return request.post(`user/set_pay_password`, data);
+}
+// 密码校验
+export function checkPsw(data) {
+ return request.post(`user/sure_pay_password`, data);
}
\ No newline at end of file
diff --git a/components/psw.vue b/components/psw.vue
new file mode 100644
index 0000000..1e578a2
--- /dev/null
+++ b/components/psw.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+ 请输入密码
+
+
+
+
+
+ 支付尾款
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/goods/cashier/index.vue b/pages/goods/cashier/index.vue
index e43d2d5..7c4ae4f 100644
--- a/pages/goods/cashier/index.vue
+++ b/pages/goods/cashier/index.vue
@@ -31,31 +31,43 @@
- {{$t(`确认支付`)}}
+
+ {{$t(`确认支付`)}}
{{$t(`暂不支付`)}}
+
+
-
+