From 8e656d5e80a720a6d9435d39dec5e10e30d9b357 Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Wed, 1 Mar 2023 10:45:54 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20feat(custom):=20=E6=B5=8B=E8=AF=951.0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/layout/logo/index.tsx | 2 +- src/routers/layout/logo/modal.tsx | 144 +++++++++---------- src/routers/layout/search/pc/search.tsx | 25 ++-- src/routers/layout/search/search.module.less | 2 +- 4 files changed, 82 insertions(+), 91 deletions(-) diff --git a/src/routers/layout/logo/index.tsx b/src/routers/layout/logo/index.tsx index 26eb4fd..d2baea2 100644 --- a/src/routers/layout/logo/index.tsx +++ b/src/routers/layout/logo/index.tsx @@ -7,7 +7,7 @@ import { useScreenSize } from "@components/proview/screenSize"; const QAStorage = new Storage("QAUpdate"); //暂时先这样 -const _qa_update_time = `2023-2-2`; +const _qa_update_time = `2023-3-1`; const useCheckQANews = () => { const local_qa_value = useMemo(() => { return QAStorage.getLocalStorage(""); diff --git a/src/routers/layout/logo/modal.tsx b/src/routers/layout/logo/modal.tsx index 85cc6f3..83d6a7e 100644 --- a/src/routers/layout/logo/modal.tsx +++ b/src/routers/layout/logo/modal.tsx @@ -1,6 +1,6 @@ import { Button, Link, Modal, styled } from "@mui/material"; import { Link as Rlink } from "react-router-dom"; -import { FC } from "react"; +import { FC, ReactElement } from "react"; import styles from "./logo.module.less"; export const Explain: FC<{ open: boolean; handlerClick: () => void }> = ( @@ -33,87 +33,71 @@ export const H1 = styled("h1")(({ theme }) => ({ }, })); +const QALists: { question: ReactElement; answer: ReactElement }[] = [ + { + question: <>露早tag为什么不是应援色?>, + answer: ( + <> + 露早GOGO的应援色为 + + #3dff9e + + ,tag字面显示不明显,所以更换为黑露早形态的 + #A0191D + > + ), + }, + { + question: <>如何进行用户反馈?>, + answer: ( + <> + 请前往 + + eoefans反馈 + + > + ), + }, + { + question: <>图片页图片太小了?>, + answer: ( + <> + 图片页可点击图片进入放大镜模式,支持手势返回和空白处返回;可使用双指放大对图片大小进行调整。 + > + ), + }, + { + question: <>搜索没有想要的结果?>, + answer: ( + <> + 目前搜索仅支持全字匹配,请确保输入信息完整。另搜索结果已将某些视频过滤。 + > + ), + }, +]; + export const QA = () => (
- Q: - 为什么界面这么丑? -
-- A: - web端没有UI捏🙇♂️🙇♂️🙇♂️果咩。 -
-- Q: - 如何查找我想看的视频类型? -
-
- A:
-
- 😩目前只能通过点击下方tag栏进行查询,其中各分区、原创和转载、
- 最新发布和最多播放互斥外其他tag皆满足异或查询。
-
- 🤔tag排序不是固定的,可以使用鼠标或者触摸按住tag半秒后进行移动。
-
- 🤗可以自定义任何你想要的tag栏顺序,下一次访问也有效。
-
-
- Q: - 露早tag为什么不是应援色? -
-- A: - - 露早GOGO的应援色为 - - #3dff9e - - ,tag字面显示不明显,所以更换为黑露早形态的 - #A0191D - -
-- Q: - 如何进行用户反馈? -
-- A: - - 请前往 - - eoefans反馈 - - -
-- Q: - 图片页图片太小了? -
-- A: - - 图片页可点击图片进入放大镜模式,支持手势返回和空白处返回;可使用双指放大对图片大小进行调整。 - -
-+ Q: + {item.question} +
++ A: + {item.answer} +
+