index.ejs 4.11 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1
<!DOCTYPE html>
崔佳豪's avatar
崔佳豪 committed
2
<html lang="zh-CN">
邓晓峰's avatar
邓晓峰 committed
3
  <head>
4
    <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
邓晓峰's avatar
邓晓峰 committed
5 6 7 8 9 10 11
    <!-- 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" /> -->
12
<!--    <link type="text/css" rel="stylesheet" id="theme-style" href="https://panda-water.cn/civbase/theme/sunset.css">-->
邓晓峰's avatar
邓晓峰 committed
13
    <script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script>
邓晓峰's avatar
邓晓峰 committed
14
    <script crossorigin src="//g.alicdn.com/bone/libs/1.2.3/??isomorphic-fetch@2.js"></script>
尚顺利's avatar
尚顺利 committed
15 16
<script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
<script src="https://rescdn.qqmail.com/node/ww/wwopenmng/js/sso/wwLogin-1.0.0.js"></script>
邓晓峰's avatar
邓晓峰 committed
17 18 19
    <script type="text/javascript">
      window.share = {
        event: new EventEmitter(),
尚顺利's avatar
尚顺利 committed
20
      };  
dengxiaofeng's avatar
dengxiaofeng committed
21

22
      window.share.event.setMaxListeners(50000);
邓晓峰's avatar
邓晓峰 committed
23

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

邓晓峰's avatar
邓晓峰 committed
105 106
    </script>
  </head>
dengxiaofeng's avatar
dengxiaofeng committed
107

邓晓峰's avatar
邓晓峰 committed
108 109 110 111 112 113 114 115
  <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 -->
116
    <div id="root"></div>
邓晓峰's avatar
邓晓峰 committed
117 118 119 120
    <!-- 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
121
</html>