/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2025-06-25 14:32:48
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2025-06-25 14:44:24
 * @FilePath: /bi2025/src/components/AuthCheck.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import styled from 'styled-components';

const AuthContainer = styled.div`
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
`;

const AuthImage = styled.img`
  width:30vw;
  height: 20vw;
  object-fit: contain;
`;

interface AuthCheckProps {
  children: React.ReactNode;
}

const AuthCheck: React.FC<AuthCheckProps> = ({ children }) => {
  return (
    <AuthContainer>
      <AuthImage src="/jianquan_tishi.png" alt="鉴权提示" />
    </AuthContainer>
  );
};

export default AuthCheck; 