地图定位 充值
This commit is contained in:
parent
b8b9e24eef
commit
afb296cc5f
|
@ -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/";
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);"> </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;
|
||||
|
|
|
@ -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);"> </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;
|
||||
|
|
Loading…
Reference in New Issue