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="shopDetail">
<view class="shopAddress">{{item.address}}</view>
<view class="line"></view>
<view class="shopDistance">{{item.distance}}</view>
<!-- <view class="line"></view>-->
<!-- <view class="shopDistance">{{item.mobilePhone}}</view>-->
</view>
</view>
</view>

View File

@ -42,10 +42,12 @@
<!-- <text>济南市历下区福瑞达历下护理院东南门旁</text>-->
<text>{{ info.address }}</text>
</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"
mode="aspectFit"></image>
<text>电话</text>
<text>{{info.mobilePhone}}</text>
</view>
</view>
</view>
@ -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 {