Browse Source

凡米游加登陆背景

fanmiyou
nili 8 months ago
parent
commit
c0f8fbfdbd
  1. BIN
      dist/icons/icon-128x128.png
  2. BIN
      dist/icons/icon-192x192.png
  3. BIN
      dist/icons/icon-512x512.png
  4. BIN
      dist/icons/icon.jpg
  5. 2
      dist/index.html
  6. 2
      dist/p__User__Login__index.76a0af0b.async.js
  7. BIN
      dist/static/loginBg.12a730ec.jpg
  8. 4
      dist/umi.213997c9.js
  9. BIN
      public/icons/icon-128x128.png
  10. BIN
      public/icons/icon-192x192.png
  11. BIN
      public/icons/icon-512x512.png
  12. BIN
      public/icons/icon.jpg
  13. BIN
      src/assets/loginBg.jpg
  14. 10
      src/manifest.json
  15. 4
      src/pages/User/Login/index.tsx

BIN
dist/icons/icon-128x128.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
dist/icons/icon-192x192.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
dist/icons/icon-512x512.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

BIN
dist/icons/icon.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

2
dist/index.html

@ -9,6 +9,6 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.362ade8f.js"></script> <script src="/umi.213997c9.js"></script>
</body></html> </body></html>

2
dist/p__User__Login__index.be34cf5d.async.js → dist/p__User__Login__index.76a0af0b.async.js

File diff suppressed because one or more lines are too long

BIN
dist/static/loginBg.12a730ec.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

4
dist/umi.362ade8f.js → dist/umi.213997c9.js

File diff suppressed because one or more lines are too long

BIN
public/icons/icon-128x128.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/icons/icon-192x192.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
public/icons/icon-512x512.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

BIN
public/icons/icon.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
src/assets/loginBg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

10
src/manifest.json

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

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

@ -7,6 +7,7 @@ import { message, Tabs } from 'antd';
import { createStyles } from 'antd-style'; import { createStyles } from 'antd-style';
import React, { useState } from 'react'; import React, { useState } from 'react';
import { flushSync } from 'react-dom'; import { flushSync } from 'react-dom';
import loginBg from '@/assets/loginBg.jpg';
import Settings from '../../../../config/defaultSettings'; import Settings from '../../../../config/defaultSettings';
@ -39,8 +40,7 @@ const useStyles = createStyles(({ token }) => {
flexDirection: 'column', flexDirection: 'column',
height: '100vh', height: '100vh',
overflow: 'auto', overflow: 'auto',
backgroundImage: backgroundImage: `url(${loginBg})`,
"url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr')",
backgroundSize: '100% 100%', backgroundSize: '100% 100%',
}, },
}; };

Loading…
Cancel
Save