index.html
6.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<head lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/>
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="default" name="apple-mobile-web-app-status-bar-style">
<meta name="keywords"
content="男生,女生,街头,潮流,时尚,搭配,造型,模特,yohood">
<meta name="description" content="页面内容介绍">
<meta name="viewport"
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1"/>
<title>YO'HOOD 2016</title>
<link rel="stylesheet" href="css/yohood_base.css">
<link rel="stylesheet" href="css/yohood_index.css">
<script>
window.location.href = 'http://activity.m.yohobuy.com/yohood?openby:yohobuy={"action":"go.h5","params":{"param":{"share_id":"151","title":"YOHOOD 2016"},"share":"/operations/api/v5/webshare/getShare","shareparam":{"share_id":"151"},"title":"YOHOOD 2016","url":"http://service.yoho.cn/activity/yohood/index.html"}}';
</script>
<script>
//写cookies
function setCookie(name, value) {
var Days = 50;
var expireTime = Days * 24 * 60 * 60 * 1000;
var exp = new Date();
exp.setTime(exp.getTime() + expireTime);
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
}
//读取cookies
function getCookie(name) {
var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
if (arr = document.cookie.match(reg))
return unescape(arr[2]);
else
return null;
}
//删除cookie
function delCookie(name) {
var exp = new Date();
exp.setTime(exp.getTime() - 1);
var cval = getCookie(name);
if (cval != null) {
document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString();
}
}
var loc = document.location;
if(loc.href.indexOf('os_version') > 0 || loc.href.indexOf('app_version') > 0) {
setCookie('is_app','1');
}
</script>
<script>
//以375宽度屏幕为标准,20px为基础font-size,用于计算rem
(function (doc, win) {
var docEl = doc.documentElement;
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
var recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if (clientWidth > 540) {
clientWidth = 540;
}
docEl.style.fontSize = (clientWidth / 375 * 20).toFixed(1) + 'px';
};
recalc();
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
})(document, window);
</script>
<script type="text/javascript" charset="utf-8" src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/fastclick.js"></script>
<script type="text/javascript" src="js/yohood_footer.js"></script>
<script>
window.addEventListener('load',function(){
FastClick.attach(document.body);
},false);
var page = 1;
</script>
</head>
<body>
<!--微信分享start-->
<input id="shareLink" type="hidden" value="http://service.yoho.cn/activity/yohood/index.html">
<input id="shareDesc" type="hidden" value="YO'HOOD2016汇聚150+潮流品牌、演出、市集、艺术、美食。玩转全球潮流新品嘉年华。">
<input id="shareImg" type="hidden" value="http://service.yoho.cn/activity/yohood/images/share/logo.jpg">
<input id="shareTitle" type="hidden" value="又双叒叕来了!YO'HOOD 2016携超豪华阵容Coming Soon!">
<div id="wx_pic" style="width:0; height:0; overflow:hidden">
<img src="http://service.yoho.cn/activity/yohood/images/share/logo.jpg">
</div>
<!--主页面-->
<div class="yohood_wrapper">
<div class="yohood_main">
<ul class="yohood_main_ul">
<li>
<img src="images/index/head.jpg">
</li>
<li>
<img src="images/index/part_1.jpg">
</li>
<li>
<img src="images/index/part_2.jpg">
</li>
<li id="part_3">
<img src="images/index/part_3.jpg">
<a href="http://j.map.baidu.com/i2q0C" target="_blank"></a>
</li>
<li>
<img src="images/index/part_4.jpg">
</li>
<li id="part_5">
<img src="images/index/part_5.jpg">
<a id="btn_down_yohobuy" href="javascript:void(0)"></a>
<a id="btn_down_yoho" href="javascript:void(0)"></a>
<a id="btn_down_mars" href="javascript:void(0)"></a>
</li>
<!--即将开售,敬请期待-->
<li id="part_6_1" style="display: block;">
<img src="images/index/part_6_1.jpg">
</li>
<!--去抢票-->
<li id="part_6_2" style="display: none">
<a id="btn_goto_buy" href="javascript:void(0)">
<img src="images/index/part_6_2.jpg">
</a>
</li>
</ul>
</div>
<div class="live-app-download-msg">
<div class="wx-img1">
<img src="images/share/wx-img1.png">
</div>
<div class="wx-img2">
<img src="images/share/wx-img2.png">
</div>
<div class="wx-img3">
<img src="images/share/wx-img3.png">
</div>
</div>
</div>
</body>
<script>
var yas_h = document.location.hostname;
var yas_key = 'yohood_m';
var yas_device = 'ios';
if(navigator.userAgent.match(/android/i)) {
yas_device = 'android';
}
if(location.href.match(/os_version=/i) || getCookie('is_app') == '1') {
yas_key = 'yohood_' + yas_device;
}
(function(w,d,s,j,f){w['YohoAcquisitionObject'] = f;w[f] = function(){w[f].p = arguments;};
var a=d.createElement(s);
var m=d.getElementsByTagName(s)[0];
a.async=1;a.src=j;
m.parentNode.insertBefore(a,m);
})(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.16/yas.js','_yas');
_yas(1*new Date(),'1.0.16',yas_key,'','');
</script>
<script type="text/javascript" src="js/yas_data.js"></script>
<script type="text/javascript" src="js/wxshare.js"></script>
</html>