| | |
| | | onPosition: false, //持续定位指示 |
| | | }, |
| | | methods: { |
| | | setUniAppMsg(data) { |
| | | // console.log(data) |
| | | // console.log(uni) |
| | | uni.postMessage({ |
| | | data: { |
| | | action: 'message' |
| | | } |
| | | }); |
| | | uni.getEnv(function(res) { |
| | | console.log('当前环境:' + JSON.stringify(res)); |
| | | }); |
| | | |
| | | }, |
| | | openAPP(type) { |
| | | // console.log(type) |
| | | let that = this; |
| | |
| | | }); |
| | | } else if (that.data.butCT == "begin") { |
| | | // 开始任务 |
| | | // uni.navigateTo({ |
| | | // url: '/pages/grabOrders/feedback?data=' + JSON.stringify(this.data) |
| | | // }); |
| | | this.setUniAppMsg({ |
| | | type: "begin", |
| | | data: that.data |
| | | }) |
| | | } |
| | | } else { |
| | | this.$confirm('是否参与活动:' + this.data.rname + "?", '提示', { |
| | |
| | | district: "西湖区", |
| | | id: 37, |
| | | integral: "222", |
| | | iscation: "0", |
| | | iscation: "1", |
| | | jnum: 3, |
| | | line: "LINESTRING(115.8995839881188 28.687205773173343,115.89391916267935 28.678966027079593,115.90404718391959 28.673644524394046,115.91211526863638 28.681369286356936)", |
| | | num: 1, |
| | |
| | | serid: "1123598821738675201,", |
| | | team: "你,他,它", |
| | | time: "2022-02-18 14:15:52", |
| | | type: "0", |
| | | type: "2", |
| | | url: "http://223.82.109.183:2081/zhba/upload/20220218/67f0c8bf3e7b5024c64133691f265072.ico", |
| | | } |
| | | //url解码 |
| | |
| | | if (res.state === true || res.state === false) { |
| | | that.map.invalidateSize(true); |
| | | } |
| | | document.getElementsByClassName("dingwei")[0].style.bottom = res.height + 10 + "px"; |
| | | document.getElementsByClassName("dingwei")[0].style.bottom = res.height + |
| | | 10 + "px"; |
| | | }, |
| | | }); |
| | | this.domMove.init(); |