展示商户收款详情

This commit is contained in:
2020-08-29 23:21:00 +08:00
parent 89ff2bd661
commit c248086a77
7 changed files with 261 additions and 72 deletions

View File

@ -158,7 +158,7 @@ const app = new Vue({
Math.cos(radLat1)*Math.cos(radLat2)*Math.pow(Math.sin(b/2),2)));
s = s *6378.137 ;// EARTH_RADIUS;
if (s < 1.5) {
return `${s * 1000}m`;
return `${(s * 1000).toFixed(2)}m`;
}
if (s > 50) {
return `>50km`;