李志伟 hace 2 años
padre
commit
02685118db
Se han modificado 4 ficheros con 198 adiciones y 208 borrados
  1. 1
    1
      config/defaultSettings.js
  2. BIN
      public/logo.png
  3. BIN
      public/logo2.png
  4. 197
    207
      src/pages/document.ejs

+ 1
- 1
config/defaultSettings.js Ver fichero

@@ -12,7 +12,7 @@ const Settings = {
12 12
   menu: {
13 13
     locale: false,
14 14
   },
15
-  logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
15
+  logo: './logo2.png',
16 16
   // iconfontUrl: '//at.alicdn.com/t/font_3221810_t3g0tvsigf.js',
17 17
 };
18 18
 export default Settings;

BIN
public/logo.png Ver fichero


BIN
public/logo2.png Ver fichero


+ 197
- 207
src/pages/document.ejs Ver fichero

@@ -1,238 +1,228 @@
1 1
 <!DOCTYPE html>
2 2
 <html lang="en">
3
-  <head>
4
-    <meta charset="UTF-8" />
5
-    <meta name="theme-color" content="#1890ff" />
6
-    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
-    <meta
8
-      name="keywords"
9
-      content="antd,umi,umijs,ant design,Scaffolding, layout, Ant Design, project, Pro, admin, console, homepage, out-of-the-box, middle and back office, solution, component library"
10
-    />
11
-    <meta
12
-      name="description"
13
-      content="
14
-    An out-of-box UI solution for enterprise applications as a React boilerplate."
15
-    />
16
-    <meta
17
-      name="description"
18
-      content="
19
-      Out-of-the-box mid-stage front-end/design solution."
20
-    />
21
-    <meta
22
-      name="viewport"
23
-      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
24
-    />
25
-    <title>邓州农机数据可视化平台</title>
26
-    <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
27
-    <script src="./js/particles.min.js"></script>
28
-    <script src="./js/jsWebControl-1.0.0.min.js"></script>
29
-  </head>
30
-  <body>
31
-    <noscript>
32
-      <div class="noscript-container">
33
-        Hi there! Please
34
-        <div class="noscript-enableJS">
35
-          <a href="https://www.enablejavascript.io/en" target="_blank" rel="noopener noreferrer">
36
-            <b>enable Javascript</b>
37
-          </a>
38
-        </div>
39
-        in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
3
+
4
+<head>
5
+  <meta charset="UTF-8" />
6
+  <meta name="theme-color" content="#1890ff" />
7
+  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+  <meta name="keywords"
9
+    content="antd,umi,umijs,ant design,Scaffolding, layout, Ant Design, project, Pro, admin, console, homepage, out-of-the-box, middle and back office, solution, component library" />
10
+  <meta name="description" content="
11
+    An out-of-box UI solution for enterprise applications as a React boilerplate." />
12
+  <meta name="description" content="
13
+      Out-of-the-box mid-stage front-end/design solution." />
14
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
15
+  <title>邓州农机数据可视化平台</title>
16
+  <link rel="icon" href="./logo.png" type="image/x-icon" />
17
+  <script src="./js/particles.min.js"></script>
18
+  <script src="./js/jsWebControl-1.0.0.min.js"></script>
19
+</head>
20
+
21
+<body>
22
+  <noscript>
23
+    <div class="noscript-container">
24
+      Hi there! Please
25
+      <div class="noscript-enableJS">
26
+        <a href="https://www.enablejavascript.io/en" target="_blank" rel="noopener noreferrer">
27
+          <b>enable Javascript</b>
28
+        </a>
40 29
       </div>
41
-    </noscript>
42
-    <div id="root">
43
-      <style>
44
-        html,
45
-        body,
46
-        #root {
47
-          height: 100%;
48
-          margin: 0;
49
-          padding: 0;
50
-        }
51
-        #root {
52
-          background-repeat: no-repeat;
53
-          background-size: 100% auto;
54
-        }
55
-        .noscript-container {
56
-          display: flex;
57
-          align-content: center;
58
-          justify-content: center;
59
-          margin-top: 90px;
60
-          font-size: 20px;
61
-          font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode',
62
-            Geneva, Verdana, sans-serif;
63
-        }
64
-        .noscript-enableJS {
65
-          padding-right: 3px;
66
-          padding-left: 3px;
67
-        }
68
-        .page-loading-warp {
69
-          display: flex;
70
-          align-items: center;
71
-          justify-content: center;
72
-          padding: 98px;
73
-        }
74
-        .ant-spin {
75
-          position: absolute;
76
-          display: none;
77
-          -webkit-box-sizing: border-box;
78
-          box-sizing: border-box;
79
-          margin: 0;
80
-          padding: 0;
81
-          color: rgba(0, 0, 0, 0.65);
82
-          color: #1890ff;
83
-          font-size: 14px;
84
-          font-variant: tabular-nums;
85
-          line-height: 1.5;
86
-          text-align: center;
87
-          list-style: none;
88
-          opacity: 0;
89
-          -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
90
-          transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
91
-          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
92
-          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
93
-            -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
94
-          -webkit-font-feature-settings: 'tnum';
95
-          font-feature-settings: 'tnum';
96
-        }
30
+      in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
31
+    </div>
32
+  </noscript>
33
+  <div id="root">
34
+    <style>
35
+      html,
36
+      body,
37
+      #root {
38
+        height: 100%;
39
+        margin: 0;
40
+        padding: 0;
41
+      }
97 42
 
98
-        .ant-spin-spinning {
99
-          position: static;
100
-          display: inline-block;
101
-          opacity: 1;
102
-        }
43
+      #root {
44
+        background-repeat: no-repeat;
45
+        background-size: 100% auto;
46
+      }
103 47
 
104
-        .ant-spin-dot {
105
-          position: relative;
106
-          display: inline-block;
107
-          width: 20px;
108
-          height: 20px;
109
-          font-size: 20px;
110
-        }
48
+      .noscript-container {
49
+        display: flex;
50
+        align-content: center;
51
+        justify-content: center;
52
+        margin-top: 90px;
53
+        font-size: 20px;
54
+        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode',
55
+          Geneva, Verdana, sans-serif;
56
+      }
111 57
 
112
-        .ant-spin-dot-item {
113
-          position: absolute;
114
-          display: block;
115
-          width: 9px;
116
-          height: 9px;
117
-          background-color: #1890ff;
118
-          border-radius: 100%;
119
-          -webkit-transform: scale(0.75);
120
-          -ms-transform: scale(0.75);
121
-          transform: scale(0.75);
122
-          -webkit-transform-origin: 50% 50%;
123
-          -ms-transform-origin: 50% 50%;
124
-          transform-origin: 50% 50%;
125
-          opacity: 0.3;
126
-          -webkit-animation: antspinmove 1s infinite linear alternate;
127
-          animation: antSpinMove 1s infinite linear alternate;
128
-        }
58
+      .noscript-enableJS {
59
+        padding-right: 3px;
60
+        padding-left: 3px;
61
+      }
129 62
 
130
-        .ant-spin-dot-item:nth-child(1) {
131
-          top: 0;
132
-          left: 0;
133
-        }
63
+      .page-loading-warp {
64
+        display: flex;
65
+        align-items: center;
66
+        justify-content: center;
67
+        padding: 98px;
68
+      }
134 69
 
135
-        .ant-spin-dot-item:nth-child(2) {
136
-          top: 0;
137
-          right: 0;
138
-          -webkit-animation-delay: 0.4s;
139
-          animation-delay: 0.4s;
140
-        }
70
+      .ant-spin {
71
+        position: absolute;
72
+        display: none;
73
+        -webkit-box-sizing: border-box;
74
+        box-sizing: border-box;
75
+        margin: 0;
76
+        padding: 0;
77
+        color: rgba(0, 0, 0, 0.65);
78
+        color: #1890ff;
79
+        font-size: 14px;
80
+        font-variant: tabular-nums;
81
+        line-height: 1.5;
82
+        text-align: center;
83
+        list-style: none;
84
+        opacity: 0;
85
+        -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
86
+        transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
87
+        transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
88
+        transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
89
+          -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
90
+        -webkit-font-feature-settings: 'tnum';
91
+        font-feature-settings: 'tnum';
92
+      }
141 93
 
142
-        .ant-spin-dot-item:nth-child(3) {
143
-          right: 0;
144
-          bottom: 0;
145
-          -webkit-animation-delay: 0.8s;
146
-          animation-delay: 0.8s;
147
-        }
94
+      .ant-spin-spinning {
95
+        position: static;
96
+        display: inline-block;
97
+        opacity: 1;
98
+      }
148 99
 
149
-        .ant-spin-dot-item:nth-child(4) {
150
-          bottom: 0;
151
-          left: 0;
152
-          -webkit-animation-delay: 1.2s;
153
-          animation-delay: 1.2s;
154
-        }
100
+      .ant-spin-dot {
101
+        position: relative;
102
+        display: inline-block;
103
+        width: 20px;
104
+        height: 20px;
105
+        font-size: 20px;
106
+      }
155 107
 
156
-        .ant-spin-dot-spin {
157
-          -webkit-transform: rotate(45deg);
158
-          -ms-transform: rotate(45deg);
159
-          transform: rotate(45deg);
160
-          -webkit-animation: antrotate 1.2s infinite linear;
161
-          animation: antRotate 1.2s infinite linear;
162
-        }
108
+      .ant-spin-dot-item {
109
+        position: absolute;
110
+        display: block;
111
+        width: 9px;
112
+        height: 9px;
113
+        background-color: #1890ff;
114
+        border-radius: 100%;
115
+        -webkit-transform: scale(0.75);
116
+        -ms-transform: scale(0.75);
117
+        transform: scale(0.75);
118
+        -webkit-transform-origin: 50% 50%;
119
+        -ms-transform-origin: 50% 50%;
120
+        transform-origin: 50% 50%;
121
+        opacity: 0.3;
122
+        -webkit-animation: antspinmove 1s infinite linear alternate;
123
+        animation: antSpinMove 1s infinite linear alternate;
124
+      }
163 125
 
164
-        .ant-spin-lg .ant-spin-dot {
165
-          width: 32px;
166
-          height: 32px;
167
-          font-size: 32px;
168
-        }
126
+      .ant-spin-dot-item:nth-child(1) {
127
+        top: 0;
128
+        left: 0;
129
+      }
169 130
 
170
-        .ant-spin-lg .ant-spin-dot i {
171
-          width: 14px;
172
-          height: 14px;
173
-        }
131
+      .ant-spin-dot-item:nth-child(2) {
132
+        top: 0;
133
+        right: 0;
134
+        -webkit-animation-delay: 0.4s;
135
+        animation-delay: 0.4s;
136
+      }
174 137
 
175
-        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
176
-          .ant-spin-blur {
177
-            background: #fff;
178
-            opacity: 0.5;
179
-          }
180
-        }
138
+      .ant-spin-dot-item:nth-child(3) {
139
+        right: 0;
140
+        bottom: 0;
141
+        -webkit-animation-delay: 0.8s;
142
+        animation-delay: 0.8s;
143
+      }
144
+
145
+      .ant-spin-dot-item:nth-child(4) {
146
+        bottom: 0;
147
+        left: 0;
148
+        -webkit-animation-delay: 1.2s;
149
+        animation-delay: 1.2s;
150
+      }
181 151
 
182
-        @-webkit-keyframes antSpinMove {
183
-          to {
184
-            opacity: 1;
185
-          }
152
+      .ant-spin-dot-spin {
153
+        -webkit-transform: rotate(45deg);
154
+        -ms-transform: rotate(45deg);
155
+        transform: rotate(45deg);
156
+        -webkit-animation: antrotate 1.2s infinite linear;
157
+        animation: antRotate 1.2s infinite linear;
158
+      }
159
+
160
+      .ant-spin-lg .ant-spin-dot {
161
+        width: 32px;
162
+        height: 32px;
163
+        font-size: 32px;
164
+      }
165
+
166
+      .ant-spin-lg .ant-spin-dot i {
167
+        width: 14px;
168
+        height: 14px;
169
+      }
170
+
171
+      @media all and (-ms-high-contrast: none),
172
+      (-ms-high-contrast: active) {
173
+        .ant-spin-blur {
174
+          background: #fff;
175
+          opacity: 0.5;
186 176
         }
177
+      }
187 178
 
188
-        @keyframes antSpinMove {
189
-          to {
190
-            opacity: 1;
191
-          }
179
+      @-webkit-keyframes antSpinMove {
180
+        to {
181
+          opacity: 1;
192 182
         }
183
+      }
193 184
 
194
-        @-webkit-keyframes antRotate {
195
-          to {
196
-            -webkit-transform: rotate(405deg);
197
-            transform: rotate(405deg);
198
-          }
185
+      @keyframes antSpinMove {
186
+        to {
187
+          opacity: 1;
199 188
         }
189
+      }
200 190
 
201
-        @keyframes antRotate {
202
-          to {
203
-            -webkit-transform: rotate(405deg);
204
-            transform: rotate(405deg);
205
-          }
191
+      @-webkit-keyframes antRotate {
192
+        to {
193
+          -webkit-transform: rotate(405deg);
194
+          transform: rotate(405deg);
206 195
         }
207
-      </style>
208
-      <div
209
-        style="
196
+      }
197
+
198
+      @keyframes antRotate {
199
+        to {
200
+          -webkit-transform: rotate(405deg);
201
+          transform: rotate(405deg);
202
+        }
203
+      }
204
+    </style>
205
+    <div style="
210 206
           display: flex;
211 207
           flex-direction: column;
212 208
           align-items: center;
213 209
           justify-content: center;
214 210
           height: 100%;
215 211
           min-height: 420px;
216
-        "
217
-      >
218
-        <img src="<%= context.config.publicPath +'pro_icon.svg'%>" alt="logo" width="256" />
219
-        <div class="page-loading-warp">
220
-          <div class="ant-spin ant-spin-lg ant-spin-spinning">
221
-            <span class="ant-spin-dot ant-spin-dot-spin"
222
-              ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
223
-              ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
224
-            ></span>
225
-          </div>
226
-        </div>
227
-        <div style="display: flex; align-items: center; justify-content: center">
228
-          <img
229
-            src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
230
-            width="32"
231
-            style="margin-right: 8px"
232
-          />
233
-          Ant Design
212
+        ">
213
+      <img src="./logo.png" alt="logo" width="256" />
214
+      <div class="page-loading-warp">
215
+        <div class="ant-spin ant-spin-lg ant-spin-spinning">
216
+          <span class="ant-spin-dot ant-spin-dot-spin"><i class="ant-spin-dot-item"></i><i
217
+              class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i></span>
234 218
         </div>
235 219
       </div>
220
+      <div style="display: flex; align-items: center; justify-content: center">
221
+        <img src="./logo.png" width="32" style="margin-right: 8px" />
222
+        南京云致
223
+      </div>
236 224
     </div>
237
-  </body>
238
-</html>
225
+  </div>
226
+</body>
227
+
228
+</html>