|
@@ -10,7 +10,8 @@
|
|
|
<view class="title">
|
|
<view class="title">
|
|
|
客户
|
|
客户
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="address-des_bx content-box">
|
|
|
|
|
|
|
+ <view class="address-des_bx content-box"
|
|
|
|
|
+ @click='pageTo({url:"/pagesClient/member/detail",query: {id: detailInfo.customId}})'>
|
|
|
<view>
|
|
<view>
|
|
|
<view> {{ detailInfo.customName }} {{ detailInfo.customMobile }} </view>
|
|
<view> {{ detailInfo.customName }} {{ detailInfo.customMobile }} </view>
|
|
|
<view class="">
|
|
<view class="">
|
|
@@ -18,10 +19,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view>
|
|
<view>
|
|
|
- <i
|
|
|
|
|
- @click="callUp(detailInfo.customMobile)"
|
|
|
|
|
- class="iconfont icondianhua1"
|
|
|
|
|
- ></i>
|
|
|
|
|
|
|
+ <i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
|
|
|
|
|
+ <i @click.stop="navigate(detailInfo.lat,detailInfo.long,detailInfo.customName)" class="iconfont icondianhua" style="font-size:52rpx;margin-left:13px;margin-right:8rpx;color:#3385ff;"></i>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -239,6 +238,19 @@ export default {
|
|
|
this.init();
|
|
this.init();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ navigate(latitude, longitude, address) {
|
|
|
|
|
+ // 将经纬度转换成Number
|
|
|
|
|
+ let latituded = Number(latitude);
|
|
|
|
|
+ let longituded = Number(longitude);
|
|
|
|
|
+ uni.openLocation({
|
|
|
|
|
+ latitude: latituded,
|
|
|
|
|
+ longitude: longituded,
|
|
|
|
|
+ address: address,
|
|
|
|
|
+ success: function() {
|
|
|
|
|
+ console.log('success');
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
totalPriceFun(){
|
|
totalPriceFun(){
|
|
|
let list = this.detailInfo.product;
|
|
let list = this.detailInfo.product;
|
|
|
let product = 0;
|
|
let product = 0;
|