Teowo – Typecho评论表情插件更新

释放双眼,带上耳机,听听看~!

插件介绍

[post]1531[/post]

更新说明

添加了设置表情窗口弹出方向的功能
QQ截图20200720193412.jpg

示例

我写好了一个OwO.json调用链接,您可以参考这种类型的写法自己做一套表情包
链接:https://owo.zhuchunshu.com/?version=1
代码

{
    "颜文字": {
        "type": "emoticon",
        "container": [
                {
                    "icon": "OωO",
                    "text": "Author: DIYgod"
                },
                {
                    "icon": "|´・ω・)ノ",
                    "text": "Hi"
                },
                {
                    "icon": "ヾ(≧∇≦*)ゝ",
                    "text": "开心"
                },
                {
                    "icon": "(☆ω☆)",
                    "text": "星星眼"
                },
                {
                    "icon": "(╯‵□′)╯︵┴─┴",
                    "text": "掀桌"
                },
                {
                    "icon": " ̄﹃ ̄",
                    "text": "流口水"
                },
                {
                    "icon": "(/ω\)",
                    "text": "捂脸"
                },
                {
                    "icon": "∠( ᐛ 」∠)_",
                    "text": "给跪"
                },
                {
                    "icon": "(๑•̀ㅁ•́ฅ)",
                    "text": "Hi"
                },
                {
                    "icon": "→_→",
                    "text": "斜眼"
                },
                {
                    "icon": "୧(๑•̀⌄•́๑)૭",
                    "text": "加油"
                },
                {
                    "icon": "٩(ˊᗜˋ*)و",
                    "text": "有木有WiFi"
                },
                {
                    "icon": "(ノ°ο°)ノ",
                    "text": "前方高能预警"
                },
                {
                    "icon": "(´இ皿இ`)",
                    "text": "我从未见过如此厚颜无耻之人"
                },
                {
                    "icon": "⌇●﹏●⌇",
                    "text": "吓死宝宝惹"
                },
                {
                    "icon": "(ฅ´ω`ฅ)",
                    "text": "已阅留爪"
                },
                {
                    "icon": "(╯°A°)╯︵○○○",
                    "text": "去吧大师球"
                },
                {
                    "icon": "φ( ̄∇ ̄o)",
                    "text": "太萌惹"
                },
                {
                    "icon": "ヾ(´・ ・`。)ノ\"",
                    "text": "咦咦咦"
                },
                {
                    "icon": "( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃",
                    "text": "气呼呼"
                },
                {
                    "icon": "(ó﹏ò。)",
                    "text": "我受到了惊吓"
                },
                {
                    "icon": "Σ(っ °Д °;)っ",
                    "text": "什么鬼"
                },
                {
                    "icon": "( ,,´・ω・)ノ\"(´っω・`。)",
                    "text": "摸摸头"
                },
                {
                    "icon": "╮(╯▽╰)╭ ",
                    "text": "无奈"
                },
                {
                    "icon": "o(*////▽////*)q ",
                    "text": "脸红"
                },
                {
                    "icon": ">﹏<",
                    "text": ""
                },
                {
                    "icon": "( ๑´•ω•) \"(ㆆᴗㆆ)",
                    "text": ""
                },
                {
                    "icon": "(。•ˇ‸ˇ•。)",
                    "text": ""
                }
        ]
    },
    "阿鲁": {
        "type": "image",
        "container": [
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/angry.png'>",
                "text": "angry"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/bigeye.png'>",
                "text": "bigeye"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/blood.png'>",
                "text": "blood"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/blood2.png'>",
                "text": "blood2"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/cheer.png'>",
                "text": "cheer"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/clap.png'>",
                "text": "clap"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/confuse.png'>",
                "text": "confuse"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/crying.png'>",
                "text": "crying"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/cryingface.png'>",
                "text": "cryingface"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/dead.png'>",
                "text": "dead"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/despise.png'>",
                "text": "despise"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/discovertruth.png'>",
                "text": "discovertruth"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/distressed.png'>",
                "text": "distressed"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/diving.png'>",
                "text": "diving"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/envious.png'>",
                "text": "envious"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/flower.png'>",
                "text": "flower"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/frown.png'>",
                "text": "frown"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/insidious.png'>",
                "text": "insidious"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/knife.png'>",
                "text": "knife"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/lurking.png'>",
                "text": "lurking"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/meditation.png'>",
                "text": "meditation"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/nomatter.png'>",
                "text": "nomatter"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/nose.png'>",
                "text": "nose"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/pouting.png'>",
                "text": "pouting"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/proud.png'>",
                "text": "proud"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/shit.png'>",
                "text": "shit"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/shutup.png'>",
                "text": "shutup"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/shy.png'>",
                "text": "shy"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/shy2.png'>",
                "text": "shy2"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/smile.png'>",
                "text": "smile"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/speechless.png'>",
                "text": "speechless"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/spit.png'>",
                "text": "spit"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/surprised.png'>",
                "text": "surprised"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/surrender.png'>",
                "text": "surrender"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/sweat.png'>",
                "text": "sweat"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/thumb.png'>",
                "text": "thumb"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/tongue.png'>",
                "text": "tongue"
            },
            {
                "icon": "<img height='100%' width='22px' src='https://owo.zhuchunshu.com/assets/aru/unhappy.png'>",
                "text": "unhappy"
            }
        ]
    }
}

常见问题

遇到问题你可以加入QQ群交流探讨,加群链接:http://d.69.re/q

使用远程路径不显示owo按钮

(F12报错Access to XMLHttpRequest at ” from origin ” has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.)
解决方法:是因为js跨域导致的,需要在远程路径站设置允许当前站点跨域请求
php代码:

header('Access-Control-Allow-Origin:*'); // *代表允许任何网址请求

不显示图片表情

Typecho->评论设置->允许使用的HTML标签和属性添加上下面的代码

<a href=""> <img height="" width="" src=""> <blockquote>

下载权限

查看
  • 免费下载
    评论后下载
    登录后下载

  • {{attr.name}}:
您当前的等级为
您有每天免费下载所有资源次的特权,今日剩余 已取得下载权限

人已赞赏
PHP学习笔记源码分享资源文件

Typecho 评论表情插件

2020-7-19 22:07:00

学习笔记技术杂烩

#普及知识#IPLC IEPL MPLS VPN GPLC CN2专线的区别和用途

2020-7-25 0:40:00

3 条回复 A文章作者 M管理员
  1. 谢谢

  2. 多谢(*^_^*)

  3. 正需要,多谢

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索