Add AMap location and weather header with warm mini program theme
This commit is contained in:
@@ -131,7 +131,7 @@ Page({
|
||||
walk,
|
||||
points: pts,
|
||||
polyline:
|
||||
pts.length > 1 ? [{ points: pts, color: "#268e6a", width: 5 }] : [],
|
||||
pts.length > 1 ? [{ points: pts, color: "#b95738", width: 5 }] : [],
|
||||
latitude: last ? last.latitude : this.data.latitude,
|
||||
longitude: last ? last.longitude : this.data.longitude,
|
||||
distance: ((walk.distance_meters || 0) / 1000).toFixed(2),
|
||||
|
||||
Reference in New Issue
Block a user