refactor(custom): 后结收款增加加载动画
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-12 19:14:01 +08:00
parent f5dd812787
commit f199320de0
11 changed files with 148 additions and 25 deletions

View File

@@ -7,11 +7,11 @@ export function calculateDistance(
la2: number,
lo2: number,
): any {
var radLat1 = (la1 * Math.PI) / 180.0;
var radLat2 = (la2 * Math.PI) / 180.0;
var a = radLat1 - radLat2;
var b = (lo1 * Math.PI) / 180.0 - (lo2 * Math.PI) / 180.0;
var s =
const radLat1 = (la1 * Math.PI) / 180.0;
const radLat2 = (la2 * Math.PI) / 180.0;
const a = radLat1 - radLat2;
const b = (lo1 * Math.PI) / 180.0 - (lo2 * Math.PI) / 180.0;
let s =
2 *
Math.asin(
Math.sqrt(