地图定位 充值

This commit is contained in:
Mr.jiang 2024-06-25 15:20:37 +08:00
parent b8b9e24eef
commit afb296cc5f
4 changed files with 44 additions and 33 deletions

View File

@ -6,6 +6,7 @@ const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/";
const ROOTPATH = "http://192.168.2.222:8187/sqx_fast";
const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast";
// const ROOTPATH = "http://192.168.2.13:8187/sqx_fast";
// const ROOTPATH1 = "http://192.168.2.13:8187/sqx_fast";
// const ROOTPATH3 = "wss://192.168.2.13:8187/wss/websocket/";

View File

@ -350,7 +350,6 @@
}else{
this.artificerIdMy=false
}
console.log("artificerId",this.artificerId)
if (d.tabIndex) {
this.tabIndex = d.tabIndex;
this.title_color = 2;
@ -688,8 +687,11 @@
payClassifyId: this.thisSelect.payClassifyId,
type: 2,
userId: uni.getStorageSync('userId'),
artificerId:this.artificerId==''?this.artificerIdMy.artificerId:this.artificerId
}
if(this.artificerId){
data.artificerId=this.artificerId
}
this.$Request.post('/app/aliPay/payOrderMoney', data).then(
res => {
if (res.code == 0) {

View File

@ -104,7 +104,7 @@
</view>
<view v-show="current === 1">
<view class="flex text-center flex-wrap"
style="margin-top: 135px; padding: 0px 16px; justify-content: space-between;">
style="margin-top: 60px;justify-content: space-between;">
<div id="txMapContainer" style="width: 100%;height: calc(100vh - 188px);">&nbsp;</div>
<!-- 地图地图 -->
</view>
@ -351,9 +351,10 @@ import permision from "@/components/permission.js";
that.massageTypeId = e.massageTypeId
// that.getLocation();//
// that.getLocation(true);//
that.getTypeList();
uni.getLocation({
type: 'wgs84',
type: 'gcj02',
geocode: true, //true
highAccuracyExpireTime: 500,
success: function(res) {
@ -411,7 +412,7 @@ import permision from "@/components/permission.js";
that.getTpMy();
that.token = uni.getStorageSync('token')
// if (uni.getStorageSync('token')) {
if (uni.getStorageSync('token')) {
if (that.latitude && that.longitude) {
that.page = 1
that.getlist()
@ -426,14 +427,14 @@ import permision from "@/components/permission.js";
that.longitude = res.longitude
that.page = 1
that.getTypeList();
// that.getlist()
that.getlist()
},
fail: function() {
console.log('获取地址失败2')
}
})
}
// }
}
that.myId = uni.getStorageSync('userId')
// console.log(that.showModal, '------', that.myId)
// #ifdef MP-WEIXIN
@ -599,12 +600,7 @@ import permision from "@/components/permission.js";
});
},
getTpMy() {
var data={
page:'',
limit:'',
state:''
}
this.$Request.getT('/app/message/selectMessageByUserId',data).then(res => {
this.$Request.getT('/app/message/selectMessageByUserId?page=1&limit=1&state=11').then(res => {
if (res.code == 0) {
if (res.data && res.data.list && res.data.list.length > 0) {
this.tpSel = 1;
@ -1227,6 +1223,12 @@ import permision from "@/components/permission.js";
</script>
<style lang="scss" scoped>
/deep/.u-drawer,/deep/.u-mask-show{
z-index:11 !important;
}
/deep/.u-drawer-content-visible{
z-index:99 !important;
}
.item-view-jianjie{
font-weight: 400;
font-size: 22rpx;

View File

@ -104,7 +104,7 @@
</view>
<view v-show="current === 1">
<view class="flex text-center flex-wrap"
style="margin-top: 135px; padding: 0px 16px; justify-content: space-between;">
style="margin-top: 60px;justify-content: space-between;">
<div id="txMapContainer" style="width: 100%;height: calc(100vh - 188px);">&nbsp;</div>
<!-- 地图地图 -->
</view>
@ -1238,6 +1238,12 @@ import permision from "@/components/permission.js";
</script>
<style lang="scss" scoped>
/deep/.u-drawer,/deep/.u-mask-show{
z-index:11 !important;
}
/deep/.u-drawer-content-visible{
z-index:99 !important;
}
.item-view-jianjie{
font-weight: 400;
font-size: 22rpx;