更新三轮车任务图标
This commit is contained in:
parent
a55382d467
commit
42cfa2bbf0
BIN
static/img/logistics/my_destination.png
Normal file
BIN
static/img/logistics/my_destination.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
static/img/logistics/my_position.png
Normal file
BIN
static/img/logistics/my_position.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -79,19 +79,19 @@
|
||||
scale: 17,
|
||||
nowAddress: "无",
|
||||
markers: [
|
||||
// 商家
|
||||
// 目的地
|
||||
{
|
||||
id: 1,
|
||||
latitude: 28.8733,
|
||||
longitude: 105.445717,
|
||||
iconPath: '../../static/img/logistics/SJ.png', //显示的图标
|
||||
iconPath: '../../static/img/logistics/my_destination.png', //显示的图标
|
||||
},
|
||||
// 当前所在位置
|
||||
{
|
||||
id: 2,
|
||||
latitude: undefined,
|
||||
longitude: undefined,
|
||||
iconPath: '../../static/img/logistics/QS.png', //显示的图标
|
||||
iconPath: '../../static/img/logistics/my_position.png', //显示的图标
|
||||
}
|
||||
],
|
||||
polyline: [],
|
||||
@ -128,7 +128,7 @@
|
||||
this.markers[0].longitude = +res.data.extend.terminus.lnglat[0];
|
||||
this.address.terminus['status'] = 1;
|
||||
}
|
||||
if (res.data.extend?.update?.transfer?.lnglat[0]) {
|
||||
if (res.data.extend?.update?.transfer?.lnglat[0]||res.data.status==3) {
|
||||
this.address.transfer['status'] = 2;
|
||||
this.status = 3;
|
||||
} else this.address.transfer['status'] = 1;
|
||||
@ -334,6 +334,7 @@
|
||||
.map_address {
|
||||
background-color: white;
|
||||
padding: 20rpx 10rpx;
|
||||
border-radius: 0 0 14rpx 14rpx;
|
||||
|
||||
.li {
|
||||
margin: 20rpx 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user