UserAgreement.tsx 559 B

1234567891011121314151617
  1. import React from 'react';
  2. const UserAgreement: React.FC = () => {
  3. const src = '/user-agreement-raw.html';
  4. const updateDate = (import.meta.env.VITE_AGREEMENT_UPDATE_DATE as string) || '2025年5月26日';
  5. const effectiveDate = (import.meta.env.VITE_AGREEMENT_EFFECTIVE_DATE as string) || '2025年6月03日';
  6. return (
  7. <iframe
  8. title="用户协议(原站)"
  9. src={src}
  10. style={{ position: 'fixed', top: 0, left: 0, width: '100%', height: '100%', border: 'none', background: '#fff' }}
  11. />
  12. );
  13. };
  14. export default UserAgreement;