Browse Source

换logo

fanmiyou
nili 6 months ago
parent
commit
3d0e402d60
  1. 2
      config/config.ts
  2. 4
      config/defaultSettings.ts
  3. BIN
      dist/icons/icon.png
  4. 4
      dist/index.html
  5. BIN
      dist/logo.jpg
  6. BIN
      dist/logo.png
  7. 2
      dist/p__User__Login__index.79522455.async.js
  8. 1
      dist/p__Welcome.0f971878.async.js
  9. 1
      dist/p__Welcome.70b2426d.async.js
  10. 2
      dist/t__plugin-layout__Layout.9c68ad01.async.js
  11. 4
      dist/umi.2f2f77c5.js
  12. BIN
      public/icons/icon.png
  13. BIN
      public/logo.jpg
  14. BIN
      public/logo.png
  15. 10
      src/manifest.json
  16. 4
      src/pages/User/Login/index.tsx
  17. 2
      src/pages/Welcome.tsx

2
config/config.ts

@ -15,7 +15,7 @@ export default defineConfig({
*/
hash: true,
favicons : ['logo.jpg'],
favicons : ['logo.png'],
/**
* @name

4
config/defaultSettings.ts

@ -15,9 +15,9 @@ const Settings: ProLayoutProps & {
fixedHeader: false,
fixSiderbar: true,
colorWeak: false,
title: '凡米游',
title: 'Magic',
pwa: true,
logo: '/logo.jpg',
logo: '/logo.png',
iconfontUrl: '',
token: {
// 参见ts声明,demo 见文档,通过token 修改样式

BIN
dist/icons/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

4
dist/index.html

@ -2,13 +2,13 @@
<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="logo.jpg">
<link rel="shortcut icon" href="logo.png">
<title>Ant Design Pro</title>
<link rel="stylesheet" href="/umi.f9018446.css">
<script async="" src="/scripts/loading.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/umi.4a415c12.js"></script>
<script src="/umi.2f2f77c5.js"></script>
</body></html>

BIN
dist/logo.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

BIN
dist/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

2
dist/p__User__Login__index.e1ea880f.async.js → dist/p__User__Login__index.79522455.async.js

File diff suppressed because one or more lines are too long

1
dist/p__Welcome.0f971878.async.js

File diff suppressed because one or more lines are too long

1
dist/p__Welcome.70b2426d.async.js

File diff suppressed because one or more lines are too long

2
dist/t__plugin-layout__Layout.6d492b8c.async.js → dist/t__plugin-layout__Layout.9c68ad01.async.js

File diff suppressed because one or more lines are too long

4
dist/umi.4a415c12.js → dist/umi.2f2f77c5.js

File diff suppressed because one or more lines are too long

BIN
public/icons/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
public/logo.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

BIN
public/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

10
src/manifest.json

@ -1,21 +1,21 @@
{
"name": "凡米游",
"short_name": "凡米游",
"name": "Magic",
"short_name": "Magic",
"display": "standalone",
"start_url": "./?utm_source=homescreen",
"theme_color": "#002140",
"background_color": "#001529",
"icons": [
{
"src": "icons/icon.jpg",
"src": "icons/icon.png",
"sizes": "192x192"
},
{
"src": "icons/icon.jpg",
"src": "icons/icon.png",
"sizes": "128x128"
},
{
"src": "icons/icon.jpg",
"src": "icons/icon.png",
"sizes": "512x512"
}
]

4
src/pages/User/Login/index.tsx

@ -125,8 +125,8 @@ const Login: React.FC = () => {
minWidth: 280,
maxWidth: '75vw',
}}
logo={<img alt="logo" src="/logo.jpg" />}
title="凡米游"
logo={<img alt="logo" src="/logo.png" />}
// title="Magic"
// subTitle={intl.formatMessage({ id: 'pages.layouts.userLayout.title' })}
initialValues={{
autoLogin: true,

2
src/pages/Welcome.tsx

@ -21,7 +21,7 @@ const Welcome: React.FC = () => {
>
<Image preview={false} width={300} src={welcome} />
<p style={{ marginTop: 20, fontSize: 20, color: token.colorTextBase }}>
使
使Magic后台管理系
</p>
</Flex>
);

Loading…
Cancel
Save