TypechoJoeTheme

贰狐Blog - 一个笨蛋的博客

统计

贰狐

类目归类

Nolanjdc公告带CSS样式修改教程

2021-11-08
/
4 评论
/
482 阅读
/
正在检测是否收录...
11/08

怎么修改公告

nolanjdc的公告部分就是一般的html,需要通过json转义写入config.json文件的"Announcement"部分

公告示例

下面是我自己用的html代码,引用了我自己的css样式,要是仅修改文字,可以按照底下的模版修改。

如果需要其他css,也可以直接写<style>来写入。

<link rel="stylesheet" href="https://www.aobacore.com/css/style-card.css">
<div class="card">
<h1>狐东自动挂豆</h1> <br>
<red>本项目脚本收集于互联网。为了您的财产安全,请关闭京东免密支付。</red>
<h2>(京东-设置-支付设置-支付验证设置)</h2> 
<a class="button" href="https://wpa.qq.com/msgrd?v=3&uin=这里修改成机器人QQ号码&site=qq&menu=yes" target="_blank">添加Q机器人</a><br>
<h2>机器人QQxxxx,添加后发送[查询]来查看个人信息</h2></div>

模版说明

如果直接引用样式模版,第一行和第二行不可以删除

支持两种文字大小

<h1>标题,加粗

<h2>正文

支持如下颜色文字,文字大小同<h2>

<red>红色

<blue>蓝色

<yellow>黄色

<green>绿色

<orange>橙色

支持如下按钮

<a class="button" href="链接" target="_blank">文字</a>

换行使用<br>

使用方法

在上述模版基础上修改完成后,将其合并成一行(重点!)

合并方法:可以直接将代码全选,然后复制到浏览器地址栏中

然后来https://www.sojson.com/yasuo.html进行转义

使用普通转义不可压缩(重点!)

然后将转义好的代码复制到

/root/nolanjdc/Config.json的"Announcement"项,替换原有公告

保存后使用 docker restart nolanjdc 重启nolanjdc

朗读
赞 · 3
赞赏
感谢您的支持,我会继续努力哒!

三合一收款

下面三种方式都支持哦

微信
QQ
支付宝
打开支付宝/微信/QQ扫一扫,即可进行扫码打赏哦
版权属于:

贰狐Blog - 一个笨蛋的博客

本文链接:

https://www.aobacore.com/archives/nolanjdc-notice-code.html(转载时请注明本文出处及文章链接)

评论 (4)
  1. cc 作者
    Windows 10 · Google Chrome

    用了博主的css样式,首先很好用,但是发现博主的总是宕机还是关机呢?哈哈哈,我那段时间字号与颜色就不对,请问有好的解决方法嘛。

    2021-11-11 回复
    1. 贰狐 作者
      Windows 10 · Google Chrome
      @cc

      最近源站一直在挨打

      2021-11-20 回复
  2. 作者
    Windows 10 · Google Chrome

    为什么这个加QQ不跳转了

    2021-11-16 回复
    1. 贰狐 作者
      Windows 10 · Google Chrome
      @林

      如果不跳转可能是QQ状态没有开通,来这里开通试试
      https://shang.qq.com/

      2021-11-20 回复
15 文章数
37 评论量
本站已存活

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

最新回复

  1. 2021-11-16
  2. cc
    2021-11-11
  3. 2021-11-08

    {!{data:image/webp;base64,UklGRpYPAABXRUJQVlA4WAoAAAAQAAAAAQMAKwEAQUxQSJ0NAAANsABr2+q20SeyZVuOSXGva5B3qoZByyFTGNw4DA7YYSiEOVMMrcOJXYbATqAYZrDLdTONknKr3TrTeKOdKK1cKVbAlub6/+9/75X1a8bfgiIComxbVZtjTYXwODAxwj0nPwAR/4+I/4j4j4j/iPiPiP+I+I+I/4j4j4j/iPiPiP/430hE/EfOGykuo8mv1UQ1uAxGD52KTfS9NRPNMWgFgBlACwB6M0C8NBUzuvzFeTgO23MqKEXN7laM4udOdaz6n8HwGptV0tL68Rtj51AtBebpIMYXk177pRUcktSY7gBguI/eSKygWvINhEbwga8WwMFI5f6BbMkb0BulVL27BYo4keIAvyF3mtxYrQj6gQrU4zeos+6qQlhJuXgPeiOGwK+YE5JX85HbSxNQxwnHxejb6jjhd1m7DQCc6jjhN0xUOa86TpgMNXEms0sdJxzPvqOOU0TabDWuu/tont1crjtUfqf5VlhYnlAHNE+oaUhwYnlCXUMInsD/hnqRcpY6t5q9CZIX0Z/uoypCi954tVAAgD+UPqEigeAttL9sBIDRbynXojG8pvu1RZTzFPW1aJcZABpwX4uLIeUCuK/E+cifJqBGicPzFzXV8PxFhRKH6NnKE61vov5LZwLDfSxv/LYyMjqC6+hcNsi7jGyC3diMYPvu8giOYLMcF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Ie+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ycKAAD+/60eAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=}!}

  4. MYXBXiaoba
    2021-10-12
  5. 站元素主机
    2021-08-04

标签云