|
|
|
@ -4,9 +4,9 @@ |
|
|
|
|
<view class="top"> |
|
|
|
|
<image class="dw" src="@/static/定位.png" mode="" style="width: 30rpx;height: 30rpx;"></image> |
|
|
|
|
<view class="xuzou">{{city}}</view> |
|
|
|
|
<picker @change="bindPickerChange" :value="index" :range="array"> |
|
|
|
|
<!-- <picker @change="bindPickerChange" :value="index" :range="array"> |
|
|
|
|
<image class="jiantou" src="@/static/jiantou.png" mode="" style="width: 15rpx;height: 15rpx;"></image> |
|
|
|
|
</picker> |
|
|
|
|
</picker> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="topimg"> |
|
|
|
|
<image class="topimg1" :src="tuijianlist[0].image.url" mode=""></image> |
|
|
|
@ -24,8 +24,11 @@ |
|
|
|
|
<view class="mddz1wz">{{item.name}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="mddz2"> |
|
|
|
|
<image class="mddz1img1" src="@/static/定位1.png" mode=""></image> |
|
|
|
|
<text class="dz">{{item.address}}</text> |
|
|
|
|
<view style='width:570rpx' @click="handleNavigation(item)"> |
|
|
|
|
<image class="mddz1img1" src="@/static/定位1.png" mode=""></image> |
|
|
|
|
<text class="dz">{{item.address}}</text> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<image class="mddz1img2" src="@/static/电话o.png" mode="" @click="makePhoneCall(item.mobile)"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -88,6 +91,20 @@ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
methods: { |
|
|
|
|
handleNavigation(i) { |
|
|
|
|
uni.openLocation({ |
|
|
|
|
longitude:Number(i.longitude), |
|
|
|
|
latitude:Number(i.latitude), |
|
|
|
|
name:i.name, |
|
|
|
|
address: i.address, |
|
|
|
|
success: function(res) { |
|
|
|
|
console.log('打开系统位置地图成功') |
|
|
|
|
}, |
|
|
|
|
fail: function(error) { |
|
|
|
|
console.log(error) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
numberCheck(){ |
|
|
|
|
this.$api.numberCheck({number:this.number}).then(res=>{ |
|
|
|
|
if(res.data.code==200){ |
|
|
|
@ -327,6 +344,7 @@ |
|
|
|
|
|
|
|
|
|
.mddz2 { |
|
|
|
|
margin-top: 32rpx; |
|
|
|
|
display: flex; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.dz { |
|
|
|
@ -358,7 +376,7 @@ |
|
|
|
|
|
|
|
|
|
.mddz { |
|
|
|
|
width: 643rpx; |
|
|
|
|
height: 142rpx; |
|
|
|
|
/* height: 142rpx; */ |
|
|
|
|
background: #FFFFFF; |
|
|
|
|
box-shadow: 0rpx 3rpx 9rpx 0rpx rgba(19, 14, 4, 0.08); |
|
|
|
|
border-radius: 20rpx; |
|
|
|
|