| | |
| | | showDetail: false,
|
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | | onLoad(option) { |
| | | uni.setStorageSync('ywinfo',{})
|
| | | this.jobId = option.id
|
| | | if (option.status && option.status == '1') {
|
| | | // wx.config({
|
| | |
| | | // 'openLocation'
|
| | | // ] // 必填,需要使用的JS接口列表
|
| | | // })
|
| | | // this.getLocation() |
| | | this.getDetail()
|
| | | this.getLocation() |
| | | // this.getDetail()
|
| | | } else {
|
| | | this.getDetail()
|
| | | }
|
| | |
| | | type: 'wgs84',
|
| | | success: (res) => {
|
| | | this.lat = res.latitude
|
| | | this.lnt = res.longitude
|
| | | this.lnt = res.longitude |
| | | console.log('---', res);
|
| | | this.getDetail()
|
| | | },
|
| | | fail: (err) => {
|
| | |
| | | display: flex;
|
| | |
|
| | | .label {
|
| | | width: 150rpx;
|
| | | width: 154rpx;
|
| | | font-size: 30rpx;
|
| | | color: #666666;
|
| | | }
|