From b18c9128273de56e7be145d8f7c1ddd1e635ec85 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Thu, 7 Nov 2024 14:11:43 +0800 Subject: [PATCH] 1 --- pages-home/home/home.vue | 4 ++-- pages-shop/shopDetail/shopDetail.vue | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/pages-home/home/home.vue b/pages-home/home/home.vue index 9db6e37..56f0983 100644 --- a/pages-home/home/home.vue +++ b/pages-home/home/home.vue @@ -42,8 +42,8 @@ {{item.corpName}} {{item.address}} - - {{item.distance}} + + diff --git a/pages-shop/shopDetail/shopDetail.vue b/pages-shop/shopDetail/shopDetail.vue index f485101..abde021 100644 --- a/pages-shop/shopDetail/shopDetail.vue +++ b/pages-shop/shopDetail/shopDetail.vue @@ -42,10 +42,12 @@ {{ info.address }} - + + + - 电话 + {{info.mobilePhone}} @@ -113,6 +115,11 @@ this.getServer() }, methods: { + callPhone(phone){ + uni.makePhoneCall({ + phoneNumber: phone //仅为示例 + }); + }, // 去预约 gotoReservation() { if(getToken()){ @@ -277,8 +284,7 @@ column-gap: 8rpx; font-size: 28rpx; color: #666666; - border-right: 1rpx solid #EEEEEE; - margin-right: 20rpx; + padding: 10rpx 0; } .shopPhone {