From 28ffaee0ceff9019782c30a5450600cab8113d91 Mon Sep 17 00:00:00 2001
From: lifizer <913626195@qq.com>
Date: Wed, 26 Jun 2024 16:45:48 +0800
Subject: [PATCH] =?UTF-8?q?Feat(=E5=9C=B0=E5=9D=80=E7=AE=A1=E7=90=86):?=
=?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=AF=86=E5=88=AB=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/user.js | 7 +
pages/user/address/AddAddress/index.vue | 165 +++++++++++++++++-------
2 files changed, 127 insertions(+), 45 deletions(-)
diff --git a/api/user.js b/api/user.js
index 1a1b3e0..62e18f0 100644
--- a/api/user.js
+++ b/api/user.js
@@ -273,6 +273,13 @@ export function postAddress(data) {
return request.post("/address/edit", data);
}
+/*
+ * 自动识别收货地址
+ * */
+export function analysisAddress(data) {
+ return request.post("/address/analysis", data);
+}
+
/*
* 获取收藏产品
* */
diff --git a/pages/user/address/AddAddress/index.vue b/pages/user/address/AddAddress/index.vue
index 27ca54d..6db7837 100644
--- a/pages/user/address/AddAddress/index.vue
+++ b/pages/user/address/AddAddress/index.vue
@@ -7,7 +7,7 @@
联系电话
-
+
所在地区
@@ -29,6 +29,31 @@
+
+
+
+
+
+
+ 清空
+
+
+ 识别
+
+
+
@@ -48,13 +73,12 @@