From e52d46ae782db11a19e538df200603dda5eae69b Mon Sep 17 00:00:00 2001 From: wong1988 Date: Sat, 2 Dec 2023 18:26:55 +0800 Subject: [PATCH] 1111 --- pages/card/card_booking.vue | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/pages/card/card_booking.vue b/pages/card/card_booking.vue index 2f80d20..ce7d4be 100644 --- a/pages/card/card_booking.vue +++ b/pages/card/card_booking.vue @@ -29,8 +29,16 @@ style="background: #FFFFFF;border-radius: 20rpx;z-index: 1;min-height: 14vw;margin-left: 15px;margin-right: 15px;margin-top: 4vw;"> 提货地点 - + + 请选择提货点 + {{data.addressName}} + + @@ -118,8 +126,21 @@ onLoad(options) { this.page.sid = options.sid this.request() + uni.$on("address", (e) => { + // 相当与下拉刷新 + this.data.value = e.sid; + this.data.addressName = e.name; + }) + }, + onUnload() { + uni.$off('address'); }, methods: { + address() { + uni.navigateTo({ + url: '/pages/SelectAddressActivity' + }) + }, onKeyInput1: function(event) { this.data.userName = event.target.value },