博客园特效页脚保存

<div class="waifu ui-draggable ui-draggable-handle" style="left: 0px;">
<div class="waifu-tips" style=" 285px; height: 75px; top: -60px; font-size: 15px; opacity: 0;">鼠…鼠标放错地方了!</div>
<canvas id="live2d" class="live2d" width="300" height="267.5"></canvas>
<div class="waifu-tool" style="font-size: 18px;">
<span class="fui-home" style="line-height: 25px; display: none;"></span>
<span class="fui-chat" style="line-height: 25px;"></span>
<span class="fui-eye" style="line-height: 25px;"></span>
<span class="fui-user" style="line-height: 25px;"></span>
<span class="fui-photo" style="line-height: 25px;"></span>
<span class="fui-info-circle" style="line-height: 25px;"></span>
<span class="fui-cross" style="line-height: 25px; display: none;"></span>
</div>
</div>

<script type="text/javascript">
setTimeout(() => {
/* 可直接修改部分参数 */
live2d_settings['modelId'] = 6; // 默认模型 ID
live2d_settings['modelTexturesId'] = 1; // 默认材质 ID
live2d_settings['modelStorage'] = false; // 不储存模型 ID
live2d_settings['canCloseLive2d'] = false; // 隐藏 关闭看板娘 按钮
live2d_settings['canTurnToHomePage'] = true; // 隐藏 返回首页 按钮
live2d_settings['waifuSize'] = '200x177.5'; // 看板娘大小
live2d_settings['waifuTipsSize'] = '200x50'; // 提示框大小
live2d_settings['waifuFontSize'] = '10px'; // 提示框字体
live2d_settings['waifuToolFont'] = '14px'; // 工具栏字体
live2d_settings['waifuToolLine'] = '25px'; // 工具栏行高
live2d_settings['waifuToolTop'] = '-30px'; // 工具栏顶部边距
live2d_settings['waifuDraggable'] = 'axis-x'; // 拖拽样式
/* 在 initModel 前添加 */
initModel("https://live2d-cdn.fghrsh.net/assets/1.4.2/waifu-tips.json");
}, 500)
</script>

  

原文地址:https://www.cnblogs.com/php-linux/p/13056113.html