朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

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>
赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » Teowo - Typecho评论表情插件更新

评论 236

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #240

    https://medrxfast.com/# buy cheap prescription drugs online

    Dustinpotly5小时前回复
  2. #239

    What’s up, everything is going nicely here and ofcourse every one is sharing
    data, that’s truly excellent, keep up writing.

  3. #238

    https://medrxfast.com/# ed meds online without doctor prescription

    Dustinpotly1天前回复
  4. #237

    how to get prescription drugs without doctor canadian drug prices

    DarnellBrart2天前回复
  5. #236

    https://medrxfast.com/# pain medications without a prescription

    Dustinpotly2天前回复
  6. #235

    https://medrxfast.com/# how to get prescription drugs without doctor

    ThomasBib2天前回复
  7. #234

    bookmarked!!, I love your blog!

  8. #233

    Hi there Dear, are you genuinely visiting this web page regularly, if so after
    that you will without doubt get pleasant know-how.

  9. #232

    online canadian drugstore prescription drugs

    DarnellBrart4天前回复