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 { import {
Box, Box,
Button,
Code, Code,
Flex, Flex,
FormControl, FormControl,
FormHelperText, FormHelperText,
FormLabel, FormLabel,
Heading, Heading,
Icon,
Input, Input,
ListItem,
Text, Text,
UnorderedList,
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import { useAppDispatch, useAppSelector } from '~/hooks'; import { useAppDispatch, useAppSelector } from '~/hooks';
import { fetchParakeet } from '@jixun/libparakeet'; import { fetchParakeet } from '@jixun/libparakeet';
import { MdLock } from 'react-icons/md';
import { ExtLink } from '~/components/ExtLink'; import { ExtLink } from '~/components/ExtLink';
import { ChangeEvent, ClipboardEvent } from 'react'; import { ChangeEvent, ClipboardEvent } from 'react';
import { VQuote } from '~/components/HelpText/VQuote'; import { VQuote } from '~/components/HelpText/VQuote';
@ -78,56 +79,40 @@ export function PanelQingTing() {
</Heading> </Heading>
<Text> <Text>
<VQuote> FM</VQuote> <VQuote> FM</VQuote>
</Text> </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}> <Box mt={3} mb={3}>
<FormControl> <FormControl>
<FormLabel></FormLabel> <FormLabel></FormLabel>
<Input type="text" onPaste={handleDataPaste} value={secretKey} onChange={handleDataInput} /> <Input type="text" onPaste={handleDataPaste} value={secretKey} onChange={handleDataInput} />
<FormHelperText> <FormHelperText>
{'粘贴含有设备密钥的信息的内容时将自动提取密钥(如通过 '} {'粘贴含有密钥的信息时将自动提取密钥(如通过 '}
<ExtLink href={QTFM_DEVICE_ID_URL}> <ExtLink href={QTFM_DEVICE_ID_URL}>
<Code>qtfm-device-id</Code> <Code>qtfm-device-id</Code>
</ExtLink> </ExtLink>
{' 获取的设备信息)。'} {' 获取的内容)。'}
</FormHelperText> </FormHelperText>
</FormControl> </FormControl>
</Box> </Box>
<Heading as="h3" size="md" pt={3} pb={2}> {/* TODO: 填入内部储存开始的完整路径 */}
<Text>
</Heading> <VQuote> FM</VQuote> <Code>QTDownloadRadio</Code> 使
<UnorderedList> <VQuote>
<ListItem> <Code>.</Code>
<Text> </VQuote>
<Code>[]/Android/data/fm.qingting.qtradio/files/Music/</Code> </Text>
</Text> <Text></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>
</Flex> </Flex>
); );
} }

View File

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