Showing
6 changed files
with
108 additions
and
0 deletions
@@ -53,6 +53,27 @@ | @@ -53,6 +53,27 @@ | ||
53 | {{/if}} | 53 | {{/if}} |
54 | {{> footer}} | 54 | {{> footer}} |
55 | 55 | ||
56 | + <!--[if lt IE 9]> | ||
57 | + <div class="invalid-ie"> | ||
58 | + <div class="invalid-ie-cover"></div> | ||
59 | + <div class="invalid-ie-content"> | ||
60 | + <p class="tip">您使用的浏览器版本过低,</p> | ||
61 | + <p class="tip">可能有安全风险,您可以选择</p> | ||
62 | + <p class="tip-download">Yoho!Buy有货APP扫码浏览</p> | ||
63 | + <div class="download"> | ||
64 | + <span class="app-icon"></span> | ||
65 | + <span class="app-qrcode"></span> | ||
66 | + </div> | ||
67 | + <a class="link first" href="http://www.google.cn/intl/zh-CN/chrome/browser/desktop"> | ||
68 | + 谷歌浏览器 | ||
69 | + </a> | ||
70 | + <a class="link" href="https://support.microsoft.com/zh-cn/help/17621/internet-explorer-downloads"> | ||
71 | + IE浏览器最新版 | ||
72 | + </a> | ||
73 | + <div class="spokesman"></div> | ||
74 | + </div> | ||
75 | + </div> | ||
76 | + <![endif]--> | ||
56 | <script>window._yasVersion='2.4.8';</script> | 77 | <script>window._yasVersion='2.4.8';</script> |
57 | 78 | ||
58 | {{#if devEnv}} | 79 | {{#if devEnv}} |
public/img/layout/app-icon.png
0 → 100644
20.6 KB
public/img/layout/app-qrcode.png
0 → 100644
30.4 KB
public/img/layout/spokesman.png
0 → 100644
112 KB
public/scss/common/_invalid-ie.css
0 → 100644
1 | +.invalid-ie { | ||
2 | + position: fixed; | ||
3 | + top: 0; | ||
4 | + left: 0; | ||
5 | + right: 0; | ||
6 | + bottom: 0; | ||
7 | + z-index: 99999999; | ||
8 | + | ||
9 | + .invalid-ie-cover { | ||
10 | + position: absolute; | ||
11 | + top: 0; | ||
12 | + left: 0; | ||
13 | + right: 0; | ||
14 | + bottom: 0; | ||
15 | + opacity: 0.4; | ||
16 | + background: #000; | ||
17 | + } | ||
18 | + | ||
19 | + .invalid-ie-content { | ||
20 | + position: absolute; | ||
21 | + box-sizing: border-box; | ||
22 | + top: 50%; | ||
23 | + left: 50%; | ||
24 | + width: 590px; | ||
25 | + height: 328px; | ||
26 | + padding-top: 49px; | ||
27 | + padding-left: 45px; | ||
28 | + margin-top: -164px; | ||
29 | + margin-left: -295px; | ||
30 | + background: #fff; | ||
31 | + | ||
32 | + .tip { | ||
33 | + color: #b0b0b0; | ||
34 | + font-size: 16px; | ||
35 | + line-height: 24px; | ||
36 | + } | ||
37 | + | ||
38 | + .tip-download { | ||
39 | + font-size: 20px; | ||
40 | + margin-top: 20px; | ||
41 | + margin-bottom: 20px; | ||
42 | + } | ||
43 | + | ||
44 | + .download { | ||
45 | + margin-bottom: 24px; | ||
46 | + } | ||
47 | + | ||
48 | + .link { | ||
49 | + color: #444; | ||
50 | + font-size: 14px; | ||
51 | + text-decoration: none; | ||
52 | + border-bottom: 1px solid #444; | ||
53 | + | ||
54 | + &.first { | ||
55 | + margin-right: 10px; | ||
56 | + } | ||
57 | + } | ||
58 | + | ||
59 | + .app-icon { | ||
60 | + display: inline-block; | ||
61 | + width: 100px; | ||
62 | + height: 100px; | ||
63 | + background: resolve(layout/app-icon.png); | ||
64 | + } | ||
65 | + | ||
66 | + .app-qrcode { | ||
67 | + box-sizing: border-box; | ||
68 | + display: inline-block; | ||
69 | + width: 96px; | ||
70 | + height: 96px; | ||
71 | + padding: 4px; | ||
72 | + margin-left: 16px; | ||
73 | + margin-bottom: 2px; | ||
74 | + background: resolve(layout/app-qrcode.png); | ||
75 | + } | ||
76 | + | ||
77 | + .spokesman { | ||
78 | + position: absolute; | ||
79 | + width: 293px; | ||
80 | + height: 356px; | ||
81 | + bottom: 0; | ||
82 | + right: 20px; | ||
83 | + background: resolve(layout/spokesman.png); | ||
84 | + } | ||
85 | + } | ||
86 | +} |
-
Please register or login to post a comment