更换图床

This commit is contained in:
✨小透明・宸✨
2020-09-12 14:40:10 +08:00
parent ac1a60ba41
commit d4218f2bc0
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -467,7 +467,7 @@
</div>
<script src="https://cdn.jsdelivr.net/npm/mdui/dist/js/mdui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.0.0-alpha.12/dist/html2canvas.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.0.0-rc.7/dist/html2canvas.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/TransparentLC/WechatMomentScreenshot/main.min.js"></script>
</body>
</html>

View File

@@ -397,9 +397,9 @@ document.getElementById('generate').addEventListener('click', function () {
avatarUsedIndex = Math.floor(Math.random() * avatarSource.length);
var div = document.createElement('div');
div.setAttribute('class', 'likeAvatar squareImage');
div.setAttribute('style', 'background-image: url(\"' + avatarSource[avatarUsedIndex] + '\");');
div.setAttribute('style', 'background-image:url(\"' + avatarSource[avatarUsedIndex] + '\")');
document.getElementById('likeAvatarList').appendChild(div);
avatarSource.splice(avatarUsedIndex, 1)
avatarSource.splice(avatarUsedIndex, 1);
}
//加入评论区