diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/routers/layout/layout.module.less b/src/routers/layout/layout.module.less index c6545b3..2bf8a2b 100644 --- a/src/routers/layout/layout.module.less +++ b/src/routers/layout/layout.module.less @@ -31,7 +31,82 @@ left: 50%; transform: translate(-50%, -50%); white-space: nowrap; - //todo 根据应援色修改 + + button { + position: absolute; + transform: translate(-20px, -10px); + } + } + } +} + +.modal { + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + background-color: #fff; + border-radius: 4px; + padding: 15px 10px; + max-width: 400px; + width: 90%; + max-height: 400px; + overflow-y: auto; + overflow-x: hidden; + + //todo 优化fq + ul { + display: flex; + flex-flow: column nowrap; + } + + li { + margin: 10px; + list-style: none; + box-sizing: border-box; + + &>p:not(:last-of-type) { + margin-bottom: 12px; + } + + &>p { + display: flex; + + strong { + flex: 0 0 25px; + } + } + + + } +} + + +.line_text { + width: 100%; + // color: #a2a9b6; + border: 0; + font-size: 14px; + padding: 1em 0; + position: relative; + -webkit-mask-image: linear-gradient(to right, + transparent, + black, + transparent); + mask-image: linear-gradient(to right, transparent, black, transparent); + + &::before { + content: attr(data-content); + position: absolute; + padding: 0 1ch; + line-height: 1px; + border: solid #d0d0d5; + border-width: 0 99vw; + width: fit-content; + /* for 不支持fit-content浏览器 */ + white-space: nowrap; + left: 50%; + transform: translateX(-50%); } } \ No newline at end of file diff --git a/src/routers/layout/logo.tsx b/src/routers/layout/logo.tsx index d9e8a54..a5c3f40 100644 --- a/src/routers/layout/logo.tsx +++ b/src/routers/layout/logo.tsx @@ -1,16 +1,70 @@ -import { FC } from "react"; +import { Button, Modal } from "@mui/material"; +import { FC, useState } from "react"; import { Link } from "react-router-dom"; import styles from "./layout.module.less"; + export default function LOGO() { + const [open, set] = useState(false), + handlerClick = () => set((open) => !open); return (
-

EOEfans-web端

+

+ EOEfans-web端 + + +
+
+
    +
  • +

    + Q: + 为什么界面这么丑? +

    +

    + A: + web端没有UI捏🙇‍♂️🙇‍♂️🙇‍♂️果咩。 +

    +
  • +
  • +

    + Q: + 如何查找我想看的视频类型? +

    +

    + A: + + 😩目前只能通过点击下方tag栏进行查询,其中各分区、原创和转载、 + 最新发布和最多播放互斥外其他tag皆满足异或查询。 +
    + 🤔tag排序不是固定的,可以使用鼠标或者触摸按住tag半秒后进行移动。 +
    + 🤗可以自定义任何你想要的tag栏顺序,下一次访问也有效。 +
    +

    +
  • +
+ +
+
+

); } + //todo 修改logo const Yituo: FC<{