index.html 3.63 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1
<!DOCTYPE html>
dengxiaofeng's avatar
dengxiaofeng committed
2
<html lang="en">
邓晓峰's avatar
邓晓峰 committed
3 4 5 6 7 8 9 10 11 12 13 14 15
  <head>
    <!-- The first thing in any HTML file should be the charset -->
    <meta charset="utf-8" />
    <!-- Make the page mobile compatible -->
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!-- Allow installing the app to the homescreen -->
    <meta name="mobile-web-app-capable" content="yes" />
    <!-- <link rel="icon" href="/favicon.ico" /> -->
    <script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script>
    <script type="text/javascript">
      window.share = {
        event: new EventEmitter(),
      };
dengxiaofeng's avatar
dengxiaofeng committed
16

邓晓峰's avatar
邓晓峰 committed
17
      window.share.event.setMaxListeners(50);
邓晓峰's avatar
邓晓峰 committed
18

dengxiaofeng's avatar
dengxiaofeng committed
19
      window.umi_plugin_ant_themeVar = [
邓晓峰's avatar
邓晓峰 committed
20
        { key: 'dark', fileName: 'dark.css', theme: 'dark' },
dengxiaofeng's avatar
dengxiaofeng committed
21
        {
邓晓峰's avatar
邓晓峰 committed
22 23 24
          key: 'dust',
          fileName: 'dust.css',
          modifyVars: { '@primary-color': '#F5222D' },
dengxiaofeng's avatar
dengxiaofeng committed
25 26
        },
        {
邓晓峰's avatar
邓晓峰 committed
27 28 29
          key: 'volcano',
          fileName: 'volcano.css',
          modifyVars: { '@primary-color': '#FA541C' },
dengxiaofeng's avatar
dengxiaofeng committed
30 31
        },
        {
邓晓峰's avatar
邓晓峰 committed
32 33 34
          key: 'sunset',
          fileName: 'sunset.css',
          modifyVars: { '@primary-color': '#FAAD14' },
dengxiaofeng's avatar
dengxiaofeng committed
35 36
        },
        {
邓晓峰's avatar
邓晓峰 committed
37 38 39
          key: 'cyan',
          fileName: 'cyan.css',
          modifyVars: { '@primary-color': '#13C2C2' },
dengxiaofeng's avatar
dengxiaofeng committed
40 41
        },
        {
邓晓峰's avatar
邓晓峰 committed
42 43 44
          key: 'green',
          fileName: 'green.css',
          modifyVars: { '@primary-color': '#52C41A' },
dengxiaofeng's avatar
dengxiaofeng committed
45 46
        },
        {
邓晓峰's avatar
邓晓峰 committed
47 48 49
          key: 'geekblue',
          fileName: 'geekblue.css',
          modifyVars: { '@primary-color': '#2F54EB' },
dengxiaofeng's avatar
dengxiaofeng committed
50 51
        },
        {
邓晓峰's avatar
邓晓峰 committed
52 53 54
          key: 'purple',
          fileName: 'purple.css',
          modifyVars: { '@primary-color': '#722ED1' },
dengxiaofeng's avatar
dengxiaofeng committed
55 56
        },
        {
邓晓峰's avatar
邓晓峰 committed
57 58 59 60
          key: 'dust',
          theme: 'dark',
          fileName: 'dark-dust.css',
          modifyVars: { '@primary-color': '#F5222D' },
dengxiaofeng's avatar
dengxiaofeng committed
61 62
        },
        {
邓晓峰's avatar
邓晓峰 committed
63 64 65 66
          key: 'volcano',
          theme: 'dark',
          fileName: 'dark-volcano.css',
          modifyVars: { '@primary-color': '#FA541C' },
dengxiaofeng's avatar
dengxiaofeng committed
67 68
        },
        {
邓晓峰's avatar
邓晓峰 committed
69 70 71 72
          key: 'sunset',
          theme: 'dark',
          fileName: 'dark-sunset.css',
          modifyVars: { '@primary-color': '#FAAD14' },
dengxiaofeng's avatar
dengxiaofeng committed
73 74
        },
        {
邓晓峰's avatar
邓晓峰 committed
75 76 77 78
          key: 'cyan',
          theme: 'dark',
          fileName: 'dark-cyan.css',
          modifyVars: { '@primary-color': '#13C2C2' },
dengxiaofeng's avatar
dengxiaofeng committed
79 80
        },
        {
邓晓峰's avatar
邓晓峰 committed
81 82 83 84
          key: 'green',
          theme: 'dark',
          fileName: 'dark-green.css',
          modifyVars: { '@primary-color': '#52C41A' },
dengxiaofeng's avatar
dengxiaofeng committed
85 86
        },
        {
邓晓峰's avatar
邓晓峰 committed
87 88 89 90
          key: 'geekblue',
          theme: 'dark',
          fileName: 'dark-geekblue.css',
          modifyVars: { '@primary-color': '#2F54EB' },
dengxiaofeng's avatar
dengxiaofeng committed
91 92
        },
        {
邓晓峰's avatar
邓晓峰 committed
93 94 95 96
          key: 'purple',
          theme: 'dark',
          fileName: 'dark-purple.css',
          modifyVars: { '@primary-color': '#722ED1' },
dengxiaofeng's avatar
dengxiaofeng committed
97 98
        },
      ];
邓晓峰's avatar
邓晓峰 committed
99 100
    </script>
  </head>
dengxiaofeng's avatar
dengxiaofeng committed
101

邓晓峰's avatar
邓晓峰 committed
102 103 104 105 106 107 108 109 110
  <body>
    <!-- Display a message if JS has been disabled on the browser. -->
    <noscript
      >If you're seeing this message, that means
      <strong>JavaScript has been disabled on your browser</strong>, please
      <strong>enable JS</strong> to make this app work.</noscript
    >
    <!-- The app hooks into this div -->
    <div id="app"></div>
dengxiaofeng's avatar
dengxiaofeng committed
111

邓晓峰's avatar
邓晓峰 committed
112 113 114 115
    <!-- Open Sans Font -->
    <!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet"> -->
    <!-- A lot of magic happens in this file. HtmlWebpackPlugin automatically injects all assets (e.g. bundle.js, main.css) with the correct HTML tags, which is why they are missing in this file. Don't add any assets here! (Check out webpack.dev.babel.js and webpack.prod.babel.js if you want to know more) -->
  </body>
dengxiaofeng's avatar
dengxiaofeng committed
116
</html>