写窗口给我脑子差点烧了

在写增强脚本的设置页面,艰难的写css……

Image description</s>Image description<e>

Image description</s>Image description<e>

说实话写出来只是时间问题,不过我快被css干晕了

很难想象 flarum 开发人员的精神状态

设置页面的ui工程量真的大,我打算是这样子的结构
Image description![Image description](https://s.rmimg.com/2024-12-03/1733238872-441921-image.png)
(随便起的草稿,请以实际为准)

```css #NL_settings { position: fixed; z-index: 114514; top: 0; left: 0; right: 0; bottom: 0; background: #00000010; display: flex; justify-content: center; align-items: center; } #NL_settings > .s-window { z-index: 1919810; width: 600px; height: 400px; background: #ffffff; border-radius: 8px; display: flex; flex-direction: column; } #NL_settings > .s-window > .s-topbar { background: #00000005; display: flex; justify-content: flex-end; } #NL_settings > .s-window > .s-topbar > .s-title { width: 100%; font-weight: bold; font-size: 16px; padding: 8px 16px; } #NL_settings > .s-window > .s-body { height: 100%; } @media (max-width: 768px) { #NL_settings > .s-window { width: 100%; height: 100%; border-radius: 0px !important; } } ```

@“[已注销]”#p172700 让GPT帮你写

@“James”#p172701 gpt看不懂图啊,现在gpt的图片识别问题很大,不过我记得好像有个网页能根据图片生成css……不过这得看美工了

这个用claude或gpt不是很快就搞定了吗

找个UI框架套套皮换换颜色应该挺容易解决


@“TaoXu”#p173092 主题不符合啊,比如那些GenTo弹窗一看就不是NL的,而且nl有webpack(flarum论坛都这样子),还没法直接用flarum提供的

@“enjiiG”#p173096 感觉可以?


@“[已注销]”#p173425 除非需求特别专不然大部分都能解决吧,起码会比自己死磕好很多捏