From 20b2ca04f05c7dc2c31fb02e837426e0e32850e7 Mon Sep 17 00:00:00 2001 From: lele0521 Date: Mon, 4 Dec 2023 17:19:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/login.js | 11 + pages.json | 10 + pages/mine/set/personMsg.vue | 19 +- pages/mine/set/securityCenter/bindMobile.vue | 218 +++++++++++++++++++ 4 files changed, 257 insertions(+), 1 deletion(-) create mode 100644 pages/mine/set/securityCenter/bindMobile.vue diff --git a/api/login.js b/api/login.js index af9a1a0..9b062fa 100644 --- a/api/login.js +++ b/api/login.js @@ -14,6 +14,17 @@ export function resetByMobile(params) { }); } +/** + * 绑定手机号码 + * @param mobile + */ +export function bindMobile(params) { + return http.request({ + url: `/passport/member/bindMobile`, + method: "POST", + params, + }); +} //获取自动发券 export function getAutoCoup(){ diff --git a/pages.json b/pages.json index eca83d4..bbce918 100644 --- a/pages.json +++ b/pages.json @@ -275,6 +275,16 @@ } } }, + + { + "path": "set/securityCenter/bindMobile", + "style": { + "navigationBarTitleText": "绑定手机号", + "app-plus": { + + } + } + }, { "path": "im/list", diff --git a/pages/mine/set/personMsg.vue b/pages/mine/set/personMsg.vue index e9c477e..fbe56b3 100644 --- a/pages/mine/set/personMsg.vue +++ b/pages/mine/set/personMsg.vue @@ -22,6 +22,15 @@
{{ form.___path || '请选择城市' }}
+ + + + {{form.mobile}} + + + 绑定手机号码 + +
@@ -32,7 +41,7 @@ +