From 7f42cb78593c82a0bd5cf8e2b232c84189c1b0a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B3=BD=E7=BE=A4?= <1986070059@qq.com>
Date: Mon, 27 Oct 2025 22:54:10 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=B6=E8=B4=A7=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/cart.js | 8 +
components/address.vue | 3 +
.../mine_address_add/mine_address_add.vue | 567 ++---
.../other_package/productInfo/productInfo.vue | 2095 ++++++++++-------
4 files changed, 1499 insertions(+), 1174 deletions(-)
diff --git a/api/cart.js b/api/cart.js
index 8b06b65..d0d8b28 100644
--- a/api/cart.js
+++ b/api/cart.js
@@ -64,3 +64,11 @@ export function settlementOrder(data) {
data,
});
}
+
+export function getPostageQuery(data) {
+ return request({
+ url: "/cart/getPostage",
+ method: "post",
+ data,
+ });
+}
diff --git a/components/address.vue b/components/address.vue
index a00a5e8..04de092 100644
--- a/components/address.vue
+++ b/components/address.vue
@@ -35,6 +35,9 @@ export default {
mounted() {
this.getAddressList();
},
+ activated () {
+ this.getAddressList();
+ },
methods: {
// 添加地址
jumpAddAddress() {
diff --git a/pages/mine_package/mine_address_add/mine_address_add.vue b/pages/mine_package/mine_address_add/mine_address_add.vue
index 040774d..5136fa9 100644
--- a/pages/mine_package/mine_address_add/mine_address_add.vue
+++ b/pages/mine_package/mine_address_add/mine_address_add.vue
@@ -1,36 +1,62 @@
-
-
-
-
- 收货人
-
-
-
- 手机号码
-
-
-
- 所在地区
-
- {{ (form.regionStr &&
- form.regionStr.join("/")) || "所在地区" }}
-
-
-
-
- 详细地址
-
-
-
-
-
- 保存地址
-
-
-
-
+ 保存地址
+
+
+
diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue
index 9aec6d7..619c612 100644
--- a/pages/other_package/productInfo/productInfo.vue
+++ b/pages/other_package/productInfo/productInfo.vue
@@ -1,124 +1,231 @@
-
-
-
\ No newline at end of file
+