style: 将首页备案号移到右下角,并在底栏和全局页脚新增联系邮箱

This commit is contained in:
Chen Xiao
2026-06-01 16:02:55 +08:00
parent 54d890de04
commit 9238edfc7e
2 changed files with 9 additions and 2 deletions
+3
View File
@@ -9,6 +9,9 @@ export default function Footer() {
<span style={styles.copyright}>
© {currentYear} To Docx. 保留所有权利
</span>
<span style={{ color: '#9ca3af' }}>
联系邮箱: <a href="mailto:abigwc@163.com" style={styles.link} onMouseOver={(e) => e.target.style.color = '#3b82f6'} onMouseOut={(e) => e.target.style.color = '#9ca3af'}>abigwc@163.com</a>
</span>
<a
href="https://beian.miit.gov.cn/"
target="_blank"
+6 -2
View File
@@ -689,7 +689,7 @@ export default function MD2Doc() {
</main>
<div style={styles.bottomBar}>
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '8px' }}>
<div style={{ position: 'relative', width: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' }}>
<button
style={styles.mainExportBtn}
onClick={handleExportWord}
@@ -697,7 +697,11 @@ export default function MD2Doc() {
>
{exporting ? '正在生成文档...' : '一键导出 Word 文档 (.docx)'}
</button>
<div style={{ fontSize: '12px', marginTop: '4px' }}>
<div style={{ position: 'absolute', right: '24px', display: 'flex', flexDirection: 'column', alignItems: 'flex-end', gap: '4px', fontSize: '12px' }}>
<span style={{ color: '#9ca3af' }}>
联系邮箱: <a href="mailto:abigwc@163.com" style={{ color: '#9ca3af', textDecoration: 'none', transition: 'color 0.2s' }} onMouseOver={(e) => e.target.style.color = '#3b82f6'} onMouseOut={(e) => e.target.style.color = '#9ca3af'}>abigwc@163.com</a>
</span>
<a
href="https://beian.miit.gov.cn/"
target="_blank"