Compare commits

..

No commits in common. "92a5eb71796ebe2a79dce4d9499050008771ba28" and "0280bbbdfd5a775bc2a4a2c54c28d4469b22454a" have entirely different histories.

2 changed files with 25 additions and 41 deletions

View File

@ -1,19 +1,20 @@
import {
Box,
Button,
Code,
Flex,
FormControl,
FormHelperText,
FormLabel,
Heading,
Icon,
Input,
ListItem,
Text,
UnorderedList,
} from '@chakra-ui/react';
import { useAppDispatch, useAppSelector } from '~/hooks';
import { fetchParakeet } from '@jixun/libparakeet';
import { MdLock } from 'react-icons/md';
import { ExtLink } from '~/components/ExtLink';
import { ChangeEvent, ClipboardEvent } from 'react';
import { VQuote } from '~/components/HelpText/VQuote';
@ -78,56 +79,40 @@ export function PanelQingTing() {
</Heading>
<Text>
<VQuote> FM</VQuote>
<VQuote> FM</VQuote>
</Text>
<Box display="none">
{/* TODO: 解密弹窗、带步骤说明 */}
<Box p={2} pt={4} pb={4}>
<Button onClick={() => {}} leftIcon={<Icon as={MdLock} boxSize={5} />} variant="outline">
</Button>
</Box>
</Box>
<Box mt={3} mb={3}>
<FormControl>
<FormLabel></FormLabel>
<Input type="text" onPaste={handleDataPaste} value={secretKey} onChange={handleDataInput} />
<FormHelperText>
{'粘贴含有设备密钥的信息的内容时将自动提取密钥(如通过 '}
{'粘贴含有密钥的信息时将自动提取密钥(如通过 '}
<ExtLink href={QTFM_DEVICE_ID_URL}>
<Code>qtfm-device-id</Code>
</ExtLink>
{' 获取的设备信息)。'}
{' 获取的内容)。'}
</FormHelperText>
</FormControl>
</Box>
<Heading as="h3" size="md" pt={3} pb={2}>
</Heading>
<UnorderedList>
<ListItem>
<Text>
<Code>[]/Android/data/fm.qingting.qtradio/files/Music/</Code>
</Text>
<UnorderedList>
<ListItem>
<Text>
使
<ruby>
<rp> (</rp>
<rt>root</rt>
<rp>)</rp>
</ruby>
访
</Text>
</ListItem>
</UnorderedList>
</ListItem>
<ListItem>
<Text>
<Code>.p~!</Code>
</Text>
</ListItem>
<ListItem>
<Text></Text>
</ListItem>
</UnorderedList>
{/* TODO: 填入内部储存开始的完整路径 */}
<Text>
<VQuote> FM</VQuote> <Code>QTDownloadRadio</Code> 使
<VQuote>
<Code>.</Code>
</VQuote>
</Text>
<Text></Text>
</Flex>
);
}

View File

@ -11,9 +11,8 @@ export const theme = extendTheme({
].join(','),
mono: [
'SFMono-Regular,Menlo,Monaco',
'"Sarasa Mono CJK SC"',
'"Sarasa Mono CJK SC",',
'Consolas,"Liberation Mono","Courier New",monospace',
'"Microsoft YaHei UI"',
].join(','),
},
components: {