You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.6 KiB
58 lines
2.6 KiB
<!-- |
|
* @Descripttion: |
|
* @version: |
|
* @Author: sueRimn |
|
* @Date: 2020-11-25 15:44:29 |
|
* @LastEditors: sueRimn |
|
* @LastEditTime: 2021-01-12 13:42:33 |
|
--> |
|
<!doctype html> |
|
<html lang="zh-CN"> |
|
<head> |
|
<meta charset="utf-8"> |
|
<title>数字化预案编制管理平台</title> |
|
<base href="/"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
<!-- <meta name="viewport" content="initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no,uc-fitscreen=yes,viewport-fit=cover"> --> |
|
<link rel="icon" type="image/x-icon" href="favicon.ico"> |
|
<link href='/assets/icon/material-icons.css' rel="stylesheet"> |
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photo-sphere-viewer@4/dist/photo-sphere-viewer.min.css"/> |
|
</head> |
|
<body> |
|
<app-root></app-root> |
|
</body> |
|
<script src="/assets/ajaxhook/ajaxhook.min.js"></script> |
|
<script> |
|
ah.proxy({ |
|
onRequest: (config, handler) => { |
|
// console.log(config.url) |
|
if (config.url.toString().search('https://vdata.amap.com') != -1) { |
|
config.url = 'http://127.0.0.1:8000/web2' + config.url.split('vdata.amap.com/')[1]; |
|
console.log(config.url) |
|
} else if (config.url.toString().search('http://restapi.amap.com') != -1) { |
|
config.url = 'http://127.0.0.1:8000/web3' + config.url.split('restapi.amap.com/')[1]; |
|
console.log(config.url) |
|
} else if (config.url.toString().search('http://vector.amap.com') != -1) { |
|
config.url = 'http://127.0.0.1:8000/web4' + config.url.split('vector.amap.com/')[1]; |
|
console.log(config.url) |
|
} else if (config.url.toString().search('http://lbs.amap.com') != -1) { |
|
config.url = 'http://127.0.0.1:8000/web5' + config.url.split('lbs.amap.com/')[1]; |
|
console.log(config.url) |
|
} |
|
handler.next(config); |
|
}, |
|
onError: (err, handler) => { |
|
console.log(err.type) |
|
handler.next(err) |
|
}, |
|
onResponse: (response, handler) => { |
|
// console.log(response.response) |
|
handler.next(response) |
|
} |
|
}) |
|
</script> |
|
<script src="http://127.0.0.1:8000/web1maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script> |
|
<script src="http://127.0.0.1:8000/web1/ui/1.1/main.js"></script> |
|
<!-- <script src="https://webapi.amap.com/maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script> |
|
<script src="https://webapi.amap.com/ui/1.1/main.js"></script> --> |
|
</html>
|
|
|