
JS 文件下载:https://txc.qq.com/static/desktop/vendor/txc-change-log.zip
<!-- 引入兔小巢更新日志的 JavaScript 文件 -->
<script src="./index.js"></script>
<!-- 创建弹窗文件 -->
<script>
// 创建兔小巢更新日志对象,传入社区ID
var txcChangeLog = new TxcChangeLog({ id: 366730 });
// 当页面加载完成后,立即弹出更新日志弹窗
window.addEventListener("load", function() {
// 直接调用 showModal 方法弹出更新日志弹窗
txcChangeLog.showModal();
});
</script>
根据官方的文档提示,加载在网站的头部即可。
在自媒体维基中,我们引入的页面为公告列表区域。
- All rights reserved.
- No part of this website, including text and images, may be reproduced, modified, distributed, or transmitted in any form or by any means, without the prior written permission of the author.
- Unauthorized commercial use is strictly prohibited.
- Unauthorized personal use is strictly prohibited.