v0.9.7
parent
fd10178367
commit
c0a4798fc6
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
## Session 14:55
|
||||||
|
|
||||||
|
|
||||||
|
## Session 14:59
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { useState, useEffect, useRef } from 'react'
|
import { useState, useEffect, useRef } from 'react'
|
||||||
import { useNavigate, useParams } from 'react-router-dom'
|
import { useNavigate, useParams } from 'react-router-dom'
|
||||||
import { Layout, Modal, Input, Spin, Button, Space, Tooltip } from 'antd'
|
import { Layout, Modal, Input, Spin, Button, Space, Tooltip } from 'antd'
|
||||||
import { CloseOutlined, LockOutlined, FileTextOutlined, FilePdfOutlined, VerticalAlignTopOutlined, CloudDownloadOutlined, MenuOutlined } from '@ant-design/icons'
|
import { LockOutlined, FileTextOutlined, FilePdfOutlined, VerticalAlignTopOutlined, CloudDownloadOutlined, MenuOutlined, ArrowLeftOutlined } from '@ant-design/icons'
|
||||||
import ReactMarkdown from 'react-markdown'
|
import ReactMarkdown from 'react-markdown'
|
||||||
import remarkGfm from 'remark-gfm'
|
import remarkGfm from 'remark-gfm'
|
||||||
import rehypeHighlight from 'rehype-highlight'
|
import rehypeHighlight from 'rehype-highlight'
|
||||||
|
|
@ -173,9 +173,9 @@ function FileSharePage() {
|
||||||
type="button"
|
type="button"
|
||||||
className="project-back-button"
|
className="project-back-button"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
aria-label="关闭文档分享"
|
aria-label="返回"
|
||||||
>
|
>
|
||||||
<CloseOutlined />
|
<ArrowLeftOutlined />
|
||||||
</button>
|
</button>
|
||||||
<h3 className="preview-header-title">
|
<h3 className="preview-header-title">
|
||||||
<HeaderIcon className="preview-header-icon" style={isHeaderPdf ? { color: '#f5222d' } : undefined} />
|
<HeaderIcon className="preview-header-icon" style={isHeaderPdf ? { color: '#f5222d' } : undefined} />
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { useState, useEffect, useRef, useMemo } from 'react'
|
import { useState, useEffect, useRef, useMemo } from 'react'
|
||||||
import { useParams, useSearchParams, useNavigate } from 'react-router-dom'
|
import { useParams, useSearchParams, useNavigate } from 'react-router-dom'
|
||||||
import { Layout, Menu, Spin, Button, Modal, Input, Drawer, Empty, Tooltip, Space } from 'antd'
|
import { Layout, Menu, Spin, Button, Modal, Input, Drawer, Empty, Tooltip, Space } from 'antd'
|
||||||
import { FileTextOutlined, FolderOutlined, FolderOpenOutlined, FilePdfOutlined, LockOutlined, MenuOutlined, CloseOutlined, VerticalAlignTopOutlined, CloudDownloadOutlined, UnorderedListOutlined } from '@ant-design/icons'
|
import { FileTextOutlined, FolderOutlined, FolderOpenOutlined, FilePdfOutlined, LockOutlined, MenuOutlined, VerticalAlignTopOutlined, CloudDownloadOutlined, UnorderedListOutlined, ArrowLeftOutlined } from '@ant-design/icons'
|
||||||
import ReactMarkdown from 'react-markdown'
|
import ReactMarkdown from 'react-markdown'
|
||||||
import remarkGfm from 'remark-gfm'
|
import remarkGfm from 'remark-gfm'
|
||||||
import rehypeHighlight from 'rehype-highlight'
|
import rehypeHighlight from 'rehype-highlight'
|
||||||
|
|
@ -463,9 +463,9 @@ function ProjectSharePage() {
|
||||||
type="button"
|
type="button"
|
||||||
className="project-back-button"
|
className="project-back-button"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
aria-label="关闭项目分享"
|
aria-label="返回"
|
||||||
>
|
>
|
||||||
<CloseOutlined />
|
<ArrowLeftOutlined />
|
||||||
</button>
|
</button>
|
||||||
<h2>{projectInfo?.name || '项目分享'}</h2>
|
<h2>{projectInfo?.name || '项目分享'}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -504,13 +504,13 @@ function ProjectSharePage() {
|
||||||
<div className="preview-content-header">
|
<div className="preview-content-header">
|
||||||
{isMobile && (
|
{isMobile && (
|
||||||
<div className="preview-header-leading-actions">
|
<div className="preview-header-leading-actions">
|
||||||
<Tooltip title="关闭">
|
<Tooltip title="返回">
|
||||||
<Button
|
<Button
|
||||||
type="text"
|
type="text"
|
||||||
icon={<CloseOutlined />}
|
icon={<ArrowLeftOutlined />}
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
size="small"
|
size="small"
|
||||||
aria-label="关闭项目分享"
|
aria-label="返回"
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip title="目录索引">
|
<Tooltip title="目录索引">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue