This commit is contained in:
Vinjor 2024-11-07 14:11:43 +08:00
parent a8d08bc795
commit b18c912827
2 changed files with 12 additions and 6 deletions

View File

@ -42,8 +42,8 @@
<view class="shopTitle">{{item.corpName}}</view> <view class="shopTitle">{{item.corpName}}</view>
<view class="shopDetail"> <view class="shopDetail">
<view class="shopAddress">{{item.address}}</view> <view class="shopAddress">{{item.address}}</view>
<view class="line"></view> <!-- <view class="line"></view>-->
<view class="shopDistance">{{item.distance}}</view> <!-- <view class="shopDistance">{{item.mobilePhone}}</view>-->
</view> </view>
</view> </view>
</view> </view>

View File

@ -42,10 +42,12 @@
<!-- <text>济南市历下区福瑞达历下护理院东南门旁</text>--> <!-- <text>济南市历下区福瑞达历下护理院东南门旁</text>-->
<text>{{ info.address }}</text> <text>{{ info.address }}</text>
</view> </view>
<view class="shopPhone"> </view>
<view v-if="info.mobilePhone" class="shopDetailFooter" @click="callPhone(info.mobilePhone)">
<view class="shopAddress">
<image style="width: 32rpx;height: 32rpx;" src="../../static/icons/order-icon2.png" <image style="width: 32rpx;height: 32rpx;" src="../../static/icons/order-icon2.png"
mode="aspectFit"></image> mode="aspectFit"></image>
<text>电话</text> <text>{{info.mobilePhone}}</text>
</view> </view>
</view> </view>
</view> </view>
@ -113,6 +115,11 @@
this.getServer() this.getServer()
}, },
methods: { methods: {
callPhone(phone){
uni.makePhoneCall({
phoneNumber: phone //
});
},
// //
gotoReservation() { gotoReservation() {
if(getToken()){ if(getToken()){
@ -277,8 +284,7 @@
column-gap: 8rpx; column-gap: 8rpx;
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #666666;
border-right: 1rpx solid #EEEEEE; padding: 10rpx 0;
margin-right: 20rpx;
} }
.shopPhone { .shopPhone {