Sim-U我的世界模拟城市模组官网 Sim-U我的世界模拟城市模组官网
首页
随笔
    • 视频教程 (opens new window)
    • 使用教程
    • 常见问题
下载中心
赞助
    • 官方频道 (opens new window)
首页
随笔
    • 视频教程 (opens new window)
    • 使用教程
    • 常见问题
下载中心
赞助
    • 官方频道 (opens new window)
npm
  • 博客添加在线联系 DaoVoice

  • 随笔
trhsy
2019年8月14日12:15:28

博客添加在线联系 DaoVoice

# 博客添加在线联系 DaoVoice

去注册,注册 (opens new window)需要邀请码 (opens new window),我给出我的06591aa4; 查看app_id app_id 复制app_id,打开目录/themes/next/layout/_partials/head.swig,添加代码

{% if theme.daovoice %}
  <script>
  (function(i,s,o,g,r,a,m){i["DaoVoiceObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset="utf-8";m.parentNode.insertBefore(a,m)})(window,document,"script",('https:' == document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/0f81ff2f.js","daovoice")
  daovoice('init', {
      app_id: "{{theme.daovoice_app_id}}"
    });
  daovoice('update');
  </script>
{% endif %}

打开主题配置文件,加入

# Online contact
daovoice: true
daovoice_app_id: {你刚刚复制的 app_id}

样式修改的话可以在刚刚,应用设置-聊天设置修改 daovoice

欧了部署试试 daovoice

如果本文对您有所帮助,请打赏给我吧,我先送个你也红包往下看,你可以把扫到红包打赏个我哦! 红包

上次更新: 2022/12/05, 09:12:57
Theme by Vdoing | Copyright © 2022-2025 Sim-U | By Trhsy
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式