1
|
-<!DOCTYPE html>
|
|
|
2
|
-<html>
|
|
|
3
|
- <head>
|
|
|
4
|
- <meta charset="utf-8">
|
|
|
5
|
- <title>{{title}}</title>
|
|
|
6
|
- <meta name="keywords" content="{{keywords}}">
|
|
|
7
|
- <meta name="description" content="{{description}}">
|
|
|
8
|
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
|
9
|
- <meta http-equiv="cleartype" content="on">
|
|
|
10
|
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
|
11
|
- <meta content="telephone=no" name="format-detection" />
|
|
|
12
|
- <meta content="email=no" name="format-detection" />
|
|
|
13
|
- <link rel="dns-prefetch" href="//cdn.yoho.cn">
|
|
|
14
|
- <link rel="dns-prefetch" href="//static.yohobuy.com">
|
|
|
15
|
- <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
|
|
|
16
|
- <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
|
|
|
17
|
- {{#if devEnv}}
|
|
|
18
|
- <link rel="stylesheet" href="//localhost:5002/css/index.css">
|
|
|
19
|
- {{^}}
|
|
|
20
|
- <link rel="stylesheet" href="//cdn.yoho.cn/yohobuy-node/{{version}}/index.css">
|
|
|
21
|
- {{/if}}
|
|
|
22
|
- </head>
|
|
|
23
|
- <body>
|
|
|
24
|
- {{> header}}
|
|
|
25
|
- {{> common/simple-header}}
|
|
|
26
|
- {{#if pageErr}}
|
|
|
27
|
- {{> 404}}
|
|
|
28
|
- {{^}}
|
|
|
29
|
- {{{body}}}
|
|
|
30
|
- {{/if}}
|
|
|
31
|
- {{> footer}}
|
|
|
32
|
- {{#if devEnv}}
|
|
|
33
|
- <script src="//localhost:5002/libs.js"></script>
|
|
|
34
|
- <script src="//localhost:5002/{{module}}.{{page}}.js"></script>
|
|
|
35
|
- {{^}}
|
|
|
36
|
- <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/libs.js"></script>
|
|
|
37
|
- <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
|
|
|
38
|
- {{> analysis}}
|
|
|
39
|
- {{/if}}
|
|
|
40
|
- </body>
|
|
|
41
|
-</html> |
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+ <head>
|
|
|
4
|
+ <meta charset="utf-8">
|
|
|
5
|
+ <title>{{title}}</title>
|
|
|
6
|
+ <meta name="keywords" content="{{keywords}}">
|
|
|
7
|
+ <meta name="description" content="{{description}}">
|
|
|
8
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
|
9
|
+ <meta http-equiv="cleartype" content="on">
|
|
|
10
|
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
|
11
|
+ <meta content="telephone=no" name="format-detection" />
|
|
|
12
|
+ <meta content="email=no" name="format-detection" />
|
|
|
13
|
+ <link rel="dns-prefetch" href="//cdn.yoho.cn">
|
|
|
14
|
+ <link rel="dns-prefetch" href="//static.yohobuy.com">
|
|
|
15
|
+ <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
|
|
|
16
|
+ <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
|
|
|
17
|
+ {{#if devEnv}}
|
|
|
18
|
+ <link rel="stylesheet" href="//localhost:5002/css/index.css">
|
|
|
19
|
+ {{^}}
|
|
|
20
|
+ <link rel="stylesheet" href="//cdn.yoho.cn/yohobuy-node/{{version}}/index.css">
|
|
|
21
|
+ {{/if}}
|
|
|
22
|
+ </head>
|
|
|
23
|
+ <body>
|
|
|
24
|
+ {{> header}}
|
|
|
25
|
+ {{> common/simple-header}}
|
|
|
26
|
+ {{#if pageErr}}
|
|
|
27
|
+ {{> 404}}
|
|
|
28
|
+ {{^}}
|
|
|
29
|
+ {{{body}}}
|
|
|
30
|
+ {{/if}}
|
|
|
31
|
+ {{> footer}}
|
|
|
32
|
+
|
|
|
33
|
+ <!--降级配置-->
|
|
|
34
|
+ <stript>
|
|
|
35
|
+ var __YOHO_CONFIG = {{{json __YOHO_CONFIG}}}
|
|
|
36
|
+ </stript>
|
|
|
37
|
+
|
|
|
38
|
+ {{#if devEnv}}
|
|
|
39
|
+ <script src="//localhost:5002/libs.js"></script>
|
|
|
40
|
+ <script src="//localhost:5002/{{module}}.{{page}}.js"></script>
|
|
|
41
|
+ {{^}}
|
|
|
42
|
+ <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/libs.js"></script>
|
|
|
43
|
+ <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
|
|
|
44
|
+ {{> analysis}}
|
|
|
45
|
+ {{/if}}
|
|
|
46
|
+ </body>
|
|
|
47
|
+</html> |