Skip to content

Commit

Permalink
docs: 新增春节返乡地图 (#2294)
Browse files Browse the repository at this point in the history
* feat: 新增春运路线天气地图

* docs: 新增归乡天气地图页面
  • Loading branch information
heiyexing authored Feb 19, 2024
1 parent 5517e71 commit c9551aa
Show file tree
Hide file tree
Showing 8 changed files with 8,652 additions and 7 deletions.
17 changes: 10 additions & 7 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import { defineConfig } from 'dumi';
const path = require('path');
const env = process.env.NODE_ENV;
const GaodeTokenScript = env === 'production' ? [
` window._AMapSecurityConfig = {
const GaodeTokenScript =
env === 'production'
? [
` window._AMapSecurityConfig = {
securityJsCode: '2653011adeb04230b3a26cc9a780a800',
}`,
'https://webapi.amap.com/maps?v=2.0&key=f59bcf249433f8b05caaee19f349b3d7',
] : [
` window._AMapSecurityConfig = {
'https://webapi.amap.com/maps?v=2.0&key=f59bcf249433f8b05caaee19f349b3d7',
]
: [
` window._AMapSecurityConfig = {
securityJsCode: "290ddc4b0d33be7bc9b354bc6a4ca614"
}`,
'https://webapi.amap.com/maps?v=2.0&key=6f025e700cbacbb0bb866712d20bb35c',
];
'https://webapi.amap.com/maps?v=2.0&key=6f025e700cbacbb0bb866712d20bb35c',
];
export default defineConfig({
locales: [
{ id: 'zh', name: '中文' },
Expand Down
8,511 changes: 8,511 additions & 0 deletions packages/site/public/weather/737.b3e3e1f0.async.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions packages/site/public/weather/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="https://mdn.alipayobjects.com/huamei_rzapb5/afts/img/A*LWejS63Sc44AAAAAAAAAAAAADqWCAQ/original">
<title>春运路线天气地图</title>
<script>var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?cde34c32ff1edfd4f933bfb44ae0e9f3";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script>
</head>
<body>
<div id="root"></div>
<script src="/weather/umi.4c6db688.js"></script>

</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
html,body,.layout___Ps7xZ{margin:0;padding:0}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 92 additions & 0 deletions packages/site/public/weather/p__index.0bf7347e.async.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/site/public/weather/p__index.b8bc0093.chunk.css

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions packages/site/public/weather/umi.4c6db688.js

Large diffs are not rendered by default.

0 comments on commit c9551aa

Please sign in to comment.