地图找人

This commit is contained in:
Mr.jiang 2024-08-05 11:15:41 +08:00
parent ef3f229c02
commit 4a07ce0053
4 changed files with 2907 additions and 1024 deletions

View File

@ -5,7 +5,7 @@
<view v-if="XCXIsSelect != ''" class="flex align-center justify-between margin-right-sm"
@tap="showCityList" style="line-height: 68rpx;">
<image src="../../static/liliao-1.png" class="dingwei-img"></image>
<view class="localName" style="margin-right: 30rpx;">{{ city }}</view>
<view class="localName" style="margin-right: 30rpx;">{{ cityname }}</view>
</view>
<u-search class="flex-sub" placeholder="请输入技师名字" :focus="false" shape="square" v-model="artificerName"
:show-action="true" :animation="true" bg-color="#fff" color="#019c88" @search="onSearch()"
@ -304,7 +304,8 @@ import permision from "@/components/permission.js";
userId:'',
Key2:'ad684a15ebbb6f5d12c407a3d593c949',
latadd:'',
componentKey:0
componentKey:0,
cityname:''
}
},
@ -370,13 +371,14 @@ import permision from "@/components/permission.js";
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
var add=uni.getStorageSync('cityTherapist');
if(add!=''){
that.city=add.name
that.cityname=add.name;
that.city=add.cityname;
var location=add.location.split(",")
that.longitude = location[0]
that.latitude = location[1]
that.componentKey++
that.initMap();
console.log("location========>",location)
console.log("location========>",add)
}
that.getKTCityList();
that.getTpCount();
@ -733,8 +735,8 @@ import permision from "@/components/permission.js";
let township = response.data.regeocode.addressComponent.township;
let streetNumber = response.data.regeocode.addressComponent.streetNumber.street;
let number = response.data.regeocode.addressComponent.streetNumber.number;
that.city = address.replace(province,'').replace(city,'').replace(district,'').replace(streetNumber,'').replace(number,'').replace(township,'')
// that.city=that.latadd
that.cityname = address.replace(province,'').replace(city,'').replace(district,'').replace(streetNumber,'').replace(number,'').replace(township,'')
that.city=city
that.page = 1
that.getlist()
that.getKTCityList();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -371,9 +371,10 @@
setTimeout(() => this.getPingL(this.videoID), 500);
this.showPopup==true;
uni.hideLoading();
this.dataList[this.k].pls++
// callback(this.videoID);
} else {
uni.hideLoading();
uni.hideLoading();
uni.showToast({
title: res.msg,
icon: 'none'