index.html 2.0 KB
Newer Older
yma16's avatar
yma16 已提交
1 2
<!DOCTYPE html>
<html>
yma16's avatar
yma16 已提交
3 4 5
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
yma16's avatar
yma16 已提交
6
    <title>yma16前端日记</title>
yma16's avatar
yma16 已提交
7 8
    <link
      rel="shortcut icon"
yma16's avatar
yma16 已提交
9
      href="./myblog_static/utils/fx_background/image/logo.ico"
yma16's avatar
yma16 已提交
10
    />
yma16's avatar
yma16 已提交
11
    <!-- up -->
yma16's avatar
yma16 已提交
12 13 14

    <link
      rel="stylesheet"
yma16's avatar
yma16 已提交
15
      href="./myblog_static/utils/fx_background/css/core.css"
yma16's avatar
yma16 已提交
16
    />
yma16's avatar
yma16 已提交
17

yma16's avatar
yma16 已提交
18 19
    <style>
      body {
yma16's avatar
yma16 已提交
20
        overflow: hidden;
yma16's avatar
yma16 已提交
21 22
      }
    </style>
yma16's avatar
yma16 已提交
23 24 25 26 27
    <!--    cdn -->
    <% htmlWebpackPlugin.options.cdnConfig.forEach(function(item){ if(item.css){ %>
    <link href="<%= item.css %>" rel="stylesheet" />
    <% }}) %>
<!--    -->
yma16's avatar
yma16 已提交
28 29 30
  </head>
  <!-- 阿里 -->
  <style type="text/css">
yma16's avatar
yma16 已提交
31
    .icon {
yma16's avatar
yma16 已提交
32 33 34 35 36
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
yma16's avatar
yma16 已提交
37
    }
yma16's avatar
yma16 已提交
38
  </style>
yma16's avatar
yma16 已提交
39 40 41 42
  <!-- cdn -->
  <% htmlWebpackPlugin.options.cdnConfig.forEach(function(item){ if(item.js && !htmlWebpackPlugin.options.onlyCss){ %>
  <script type="text/javascript" src="<%= item.js %>"></script>
  <% }}) %>
yma16's avatar
yma16 已提交
43
  <body>
yma16's avatar
yma16 已提交
44
    <div id="app"></div>
yma16's avatar
yma16 已提交
45
    <div id="canvas">
yma16's avatar
yma16 已提交
46 47 48
      <div id="life"></div>
      <div id="is"></div>
      <div id="beautiful"></div>
yma16's avatar
yma16 已提交
49
    </div>
yma16's avatar
yma16 已提交
50
  </body>
yma16's avatar
yma16 已提交
51 52 53


<!--  资源-->
yma16's avatar
yma16 已提交
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
  <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
  <!-- 我的阿里图标库 -->
  <script src="https://yongma16.xyz/static/aliyunIcon/icon.js"></script>
  <script>
    L2Dwidget.init({
      model: {
        jsonPath:
          "https://unpkg.com/live2d-widget-model-haruto@1.0.5/assets/haruto.model.json",
        scale: 1,
        hHeadPos: 0.5,
        vHeadPos: 0.618,
      },
      display: {
        position: "left",
        width: 50,
        height: 60,
        hOffset: 0,
        vOffset: 0,
      },
      mobile: {
        show: true,
        scale: 0.5,
      },
      react: {
        opacityDefault: 0.9,
        opacityOnHover: 0.5,
      },
    });
  </script>
yma16's avatar
yma16 已提交
83
</html>