zoukankan      html  css  js  c++  java
  • 博客园特效页脚保存

    <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>
    

      

  • 相关阅读:
    浅谈关于JavaScript解析XML文件的注意事项
    个人总结的Struts2拦截器使用和拦截栈的配置,基于注解的方式
    使用Awstats统计部署在tomcat中的网站数据
    spring4.x + hibernate4.x 配置详解
    Java内部类总结
    Java中static的使用
    Java多线程基础知识总结
    Java线程经典面试题
    C#/.net七牛云存储上传图片(文件)操作
    Special Solver Parameters
  • 原文地址:https://www.cnblogs.com/php-linux/p/13056113.html
Copyright © 2011-2022 走看看