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>
    

      

  • 相关阅读:
    003_cd pushd popd三个命令的区别
    002_更新Nginx证书
    001_nginx常用参数查询
    001_shell经典案例
    001_chrome工具详解
    002_分布式搜索引擎Elasticsearch的查询与过滤
    004_加速国内docker源下载速度
    dango models and database ---- relation ship
    dango models and database ---- verbose name
    MySQL字符集详解
  • 原文地址:https://www.cnblogs.com/php-linux/p/13056113.html
Copyright © 2011-2022 走看看