地图找人

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