From 697da825078f94e22caa0c12f16934ce42503283 Mon Sep 17 00:00:00 2001 From: "jqtmviyu@gmail.com" Date: Fri, 5 Mar 2021 19:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/pay/pay.vue | 131 +++++++++++++++++++++++++++++------------- 1 file changed, 92 insertions(+), 39 deletions(-) diff --git a/src/pages/pay/pay.vue b/src/pages/pay/pay.vue index 5090168..c1f3e79 100644 --- a/src/pages/pay/pay.vue +++ b/src/pages/pay/pay.vue @@ -1,7 +1,11 @@ @@ -20,11 +47,14 @@ export default { data() { return { - address: {} + address: {}, + cartList: [] } }, onLoad(){ this.address = uni.getStorageSync("address") || {} + this.cartList = uni.getStorageSync("cartList") || []; + }, methods: { // 获取收货地址 @@ -49,48 +79,71 @@ export default { \ No newline at end of file