TypechoJoeTheme

贰狐Blog - 一个笨蛋的博客

统计

贰狐

类目归类

Nolanjdc公告带CSS样式修改教程

2021-11-08
/
7 评论
/
6,895 阅读
/
正在检测是否收录...
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>橙色

插入图片,将这一行放在第2行以后的任意位置,其中 height="高度数值" width="宽度数值" 可以被删除

<a href="点击图片访问的网址"><img src="图片地址" alt="悬停文字" height="高度数值" width="宽度数值"></a>

例子:

<a href="https://www.jd.com"><img src="https://dss0.bdstatic.com/-0U0bnSm1A5BphGlnYG/tam-ogel/799358883_-1374987367_121_121.jpg" alt="狗东直达" height="130" width="130"></a>

支持如下按钮

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

换行使用<br>

使用方法

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

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

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

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

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

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

保存后使用 docker restart nolanjdc 重启nolanjdc

朗读
赞 · 6
版权属于:

贰狐Blog - 一个笨蛋的博客

本文链接:

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

评论 (7)
  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 回复
  3. 作者
    Windows 7 · Google Chrome

    大佬知道怎么加入图片吗

    2021-12-02 回复
    1. 贰狐 作者
      Windows 10 · Google Chrome
      @蓝

      评论里不能插入代码,看正文吧,我修改一下正文

      2021-12-04 回复
  4. jdc 作者
    Windows 10 · Google Chrome

    字体大小可以调吗

    2021-12-12 回复

贰狐

17 文章数
64 评论量
本站已存活

人生倒计时

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

最新回复

  1. 藤川铄铄子
    2024-04-19
  2. 秋风无言
    2023-09-07

    {!{data:image/webp;base64,UklGRlwMAABXRUJQVlA4WAoAAAAwAAAAAQMAKwEASUNDUBgCAAAAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgA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rpyAIApAuCWlu4XdhG0AJ7APfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJwoAAP7/rR4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==}!}

  3. 秋风无言
    2023-09-07

    {!{data:image/webp;base64,UklGRgAOAABXRUJQVlA4WAoAAAAwAAAADwQAKwEASUNDUBgCAAAAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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牙
    2023-01-28

    我按照步骤把程序部署到了云服务上了,OlivOS正常启动,但是在启动go-cqhttp之后发现日志一直打印警告,qq消息可以接收到但是没有反馈,能麻烦帮忙看看么
    [2023-01-28 18:59:17] [WARNING]: 上报 Event 数据到 http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp 失败: Post "http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp": dial tcp 172.31.32.237:55001: connect: connection refused 将进行第 1 次重试
    [2023-01-28 18:59:18] [WARNING]: 上报 Event 数据到 http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp 失败: Post "http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp": dial tcp 172.31.32.237:55001: connect: connection refused 将进行第 2 次重试
    [2023-01-28 18:59:20] [WARNING]: 上报 Event 数据到 http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp 失败: Post "http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp": dial tcp 172.31.32.237:55001: connect: connection refused 将进行第 3 次重试
    [2023-01-28 18:59:21] [WARNING]: 上报 Event 数据 {"post_type":"meta_event","meta_event_type":"heartbeat","time":1674903557,"self_id":2683851566,"interval":5000,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_received":42,"packet_sent":34,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}}
    到 http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp 失败: Post "http://172.31.32.237:55001/OlivOSMsgApi/qq/onebot/gocqhttp": dial tcp 172.31.32.237:55001: connect: connection refused 停止上报:已达重试上限

广告

标签云