111
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
francis-fh
2026-06-17 21:48:26 +08:00
parent be90f4026b
commit 4f484f1d00
8 changed files with 606 additions and 141 deletions

View File

@@ -1,6 +1,7 @@
import React, { useEffect } from 'react';
import { createPortal } from 'react-dom';
import { HomeOutlined } from '@ant-design/icons';
import { HomeOutlined, CameraOutlined } from '@ant-design/icons';
import { history } from '@umijs/max';
import portalLogo from '@/assets/logo.png';
import './index.less';
@@ -19,6 +20,10 @@ const EnterpriseHeader: React.FC = () => {
window.open(PORTAL_HOME_URL, '_blank');
};
const handleGoShowcase = () => {
history.push('/management/enterprise-showcase');
};
const header = (
<div className="enterprise-header">
<div className="header-left">
@@ -28,6 +33,10 @@ const EnterpriseHeader: React.FC = () => {
</div>
<div className="header-right">
<div className="home-link-btn" onClick={handleGoShowcase}>
<CameraOutlined />
<span></span>
</div>
<div className="home-link-btn" onClick={handleGoHome}>
<HomeOutlined />
<span></span>