|
@@ -6,6 +6,7 @@ import styles from './index.less';
|
|
|
import { exitFullScreen, requestFullScreen, isFull } from '@/utils/fullScreen'
|
|
|
import { BellOutlined } from '@ant-design/icons';
|
|
|
import { ReactComponent as GameSvg } from '@/assets/game.svg'
|
|
|
+import { ReactComponent as BiSvg } from '@/assets/bi.svg'
|
|
|
|
|
|
export type SiderTheme = 'light' | 'dark';
|
|
|
|
|
@@ -26,7 +27,7 @@ const GlobalHeaderRight: React.FC<{}> = () => {
|
|
|
let l = nav.offsetLeft
|
|
|
let lw = navLi[0].offsetWidth
|
|
|
let length = navLi.length - 1
|
|
|
- setLeft(l + lw * length + 20)
|
|
|
+ setLeft(l + lw * length)
|
|
|
}
|
|
|
}, [])
|
|
|
|
|
@@ -83,11 +84,15 @@ const GlobalHeaderRight: React.FC<{}> = () => {
|
|
|
return (
|
|
|
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
|
|
|
|
|
|
- <div style={{ cursor: 'pointer', position: 'absolute', left: left, top: 1 }} onClick={open}>
|
|
|
- <Space>
|
|
|
+ <div style={{ left: left }} className={styles.extraSys}>
|
|
|
+ <Space onClick={open}>
|
|
|
<span role="img" aria-label="fund-view" className="anticon anticon-fund-view"><GameSvg /></span>
|
|
|
<span style={{ color: 'rgba(255, 255, 255, 0.65)' }}>游戏SDK</span>
|
|
|
</Space>
|
|
|
+ <Space onClick={() => window.open(`https://bi.aliyun.com/product/view.htm?module=dashboard&productId=396f5cf7-9d50-4dde-9aaa-eb20e2590518&menuId=74f4c115-db5a-457c-b25b-94bdafc172fe`)}>
|
|
|
+ <span role="img" aria-label="fund-view" className="anticon anticon-fund-view"><BiSvg /></span>
|
|
|
+ <span style={{ color: 'rgba(255, 255, 255, 0.65)' }}>BI</span>
|
|
|
+ </Space>
|
|
|
</div>
|
|
|
|
|
|
<Space className={className}>
|