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