-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
321 lines (277 loc) · 11.1 KB
/
index.html
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>2015首届中国数字阅读大会</title>
<meta name="apple-touch-fullscreen" content="YES">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="pragram" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<link rel="stylesheet" href="./assets/vendor/swiper/3.0.5/css/swiper.min.css">
<link rel="stylesheet" href="./assets/igrow/css/igrow.animate.css">
<link rel="stylesheet" href="./assets/igrow/css/igrow.swiper.css">
<link rel="stylesheet" href="./assets/css/app.css?t=20150322">
<script src="./assets/js/jquery.min.js"></script>
<script src="./assets/vendor/swiper/3.0.5/js/swiper.min.js"></script>
<style>
.p-bg1 {
background-color: #dd514c;
}
.p-bg2 {
background-color: #f37b1d;
}
.p-bg3 {
background-color: #FFCC33;
}
.p-bg4 {
background-color: #5eb95e;
}
.p-bg5 {
background-color: #55cc33;
}
.p-bg6 {
background-color: #0f9ae0;
}
.p-bg7 {
background-color: purple;
}
</style>
<script>
/* 预加载图片 */
var SwiperApp = {
imgs:[
'./assets/images/png/p1_01.png',
'./assets/images/png/p1_02.png',
'./assets/images/png/p1_03.png',
'./assets/images/png/p1.jpg',
'./assets/images/png/p2_01.png',
'./assets/images/png/p2_02.png',
'./assets/images/png/p2_03.png',
'./assets/images/png/p2.jpg',
'./assets/images/png/p3_01.png',
'./assets/images/png/p3_02.png',
//'./assets/images/png/p3.png',
//'./assets/images/png/p4_01.png',
//'./assets/images/png/p5_01.png',
//'./assets/images/png/p6_01.png',
//'./assets/images/png/p6_02.png',
//'./assets/images/png/p6.png',
//'./assets/images/png/p7_01.png',
//'./assets/images/png/p7_02.png',
'./assets/images/png/p7_03.png'
],
config:{
loop:false,
hashnav: true,
effect: 'cube',
cube: {
shadow: false,
slideShadows: false,
shadowOffset: 0,
shadowScale: 1
}
},
ajaxParams:{},
loading:function(p){
console.log('p',p)
$('#loader-progress-txt').text(p + '%');
},
load_done:function(){
$('body').addClass('done');
}
};
</script>
</head>
<body onload="init()">
<!-- 分享图片 400*400px-->
<div class="xx">
<img src="./assets/images/share.jpg" alt="">
</div>
<!-- 音乐 -->
<div class="u-audio">
<div class="xx">
<audio src="./assets/music/background.mp3" loop autoplay preload id="music"></audio>
</div>
<a href="javascript:;" class="css_sprite01 audio_open" id="btn-audio"></a>
</div>
<!-- 加载 -->
<div class="loader swiper-load-container">
<div class="loader-progress">
<span id="loader-progress-txt">0%</span>
</div>
<div class="loader-graph"></div>
<div class="loader-text">LOADING</div>
<!-- <div class="copyright"></div> -->
</div>
<!-- <div class="load-container swiper-load-container">
<span class="load-txt"></span>
<section class="copyright"></section>
</div> -->
<div class="swipe swiper-container" id="swipe">
<div class="swiper-wrapper">
<!-- 1 -->
<div class="swiper-slide meteors page1">
<!-- <img src="./assets/images/png/qrcode.jpg" alt=""> -->
<div class="sprite4 sprite "><div class="light"></div></div>
<div class="sprite5 sprite "><div class="light"></div></div>
<div class="sprite6 sprite "><div class="light"></div></div>
<div class="sprite7 sprite "><div class="light"></div></div>
<div class="sprite8 sprite "><div class="light"></div></div>
<div class="sprite9 sprite "><div class="light"></div></div>
<div class="sprite10 sprite "><div class="light"></div></div>
<figure class="abs p1 animated bounceInDown" data-transition-delay="500"><img src="./assets/images/png/p1_01.png" alt=""></figure>
<figure class="abs p2 txt-sprite" data-transition-delay="800"><img src="./assets/images/png/p1_02.png" alt=""></figure>
<figure class="abs p3 "><img src="./assets/images/png/p1_03.png" alt=""></figure>
<div class="page_nav"></div>
</div>
<!-- 2 -->
<div class="swiper-slide page2">
<figure class="center p1 " ><img src="./assets/images/png/p2_01.png" alt=""></figure>
<figure class="center p2 txt-sprite" data-transition-delay="1200"><img src="./assets/images/png/p2_02.png" alt=""></figure>
<figure class="center p3 txt-sprite" data-transition-delay="1500"><img src="./assets/images/png/p2_03.png" alt=""></figure>
<div class="page_nav"></div>
</div>
<!-- 你将看到 -->
<div class="swiper-slide page3">
<figure class="center p1 none" ><img src="./assets/images/png/p3_01.png" alt=""></figure>
<figure class="center p2 txt-sprite" ><img src="./assets/images/png/p3_02.png" alt=""></figure>
<div class="page_nav"></div>
</div>
<!-- 与会领导 -->
<div class="swiper-slide page4">
<figure class="center p1 "><img src="./assets/images/png/p4_01.png" alt=""></figure>
<div class="page_nav"></div>
</div>
<!-- 大会嘉宾 -->
<div class="swiper-slide page5">
<figure class="center p1 "><img src="./assets/images/png/p5_01.png" alt=""></figure>
<div class="page_nav"></div>
</div>
<!-- 大会日程 -->
<div class="swiper-slide page6">
<figure class="center p0 "><img src="./assets/images/png/p6_00.png" alt=""></figure>
<figure class="center p1 txt-sprite"><img src="./assets/images/png/p6_01.png" alt=""></figure>
<figure class="center p2 txt-sprite">
<img src="./assets/images/png/p6_02.png" alt="">
<div id="map"></div>
<!-- <div class="wave"></div> -->
</figure>
<div class="page_nav"></div>
</div>
<!-- 7 -->
<div class="swiper-slide page7">
<figure class="center p0 "><img src="./assets/images/png/p7_00.png" alt=""></figure>
<figure class="center p1 "><img src="./assets/images/png/p7_01.png" alt=""></figure>
<figure class="center p2 txt-sprite">
<img src="./assets/images/png/qrcode.jpg" alt="">
</figure>
<!-- <img src="./assets/images/png/p7_03.png" alt="" class="logo-cmmgc"> -->
<div class="page_nav"></div>
</div>
</div>
</div>
<script src="./assets/igrow/igrow.swiper.js"></script>
<script charset="utf-8" src="http://map.qq.com/api/js?v=2.exp"></script>
<script>
var geocoder,map,marker = null;
var init = function() {
var center = new qq.maps.LatLng(39.916527,116.397128);
map = new qq.maps.Map(document.getElementById('map'),{
center: center,
zoom: 15
});
geocoder = new qq.maps.Geocoder({
complete : function(result){
map.setCenter(result.detail.location);
var marker = new qq.maps.Marker({
map:map,
position: result.detail.location
});
}
});
codeAddress();
}
function codeAddress() {
var address = '杭州市西湖区省府路9号';
geocoder.getLocation(address);
}
</script>
<script>
/**/
$(function(){
var winHeight = window.innerHeight;
var swiper = new Swiper('.swiper-container', {
loop:true,
hashnav: true,
effect: 'slide',
grabCursor: true,
direction: 'vertical',
cube: {
shadow: false,
slideShadows: false,
shadowOffset: 0,
shadowScale: 1
},
onTouchMove: function(swiper){
},
onTouchEnd: function(swiper){
}
});
});
</script>
<script src="wx.min-1.0.0.js"></script>
<!--<?php
print <<<EOT
-->
<script language="javascript">
var imgUrl = "http://h5.mediadreamworks.net/dl_szyddh/assets/images/share.jpg";
var lineLink = "http://h5.mediadreamworks.net/dl_szyddh/index.php?f=2";
var shareTitle = '4.21·杭州·省人民大会堂';
var descContent = '2015首届中国数字阅读大会,相约西子湖畔,江湖召集令!';
wx.config({
debug: false,
appId: '$signPackage[appId]',
timestamp: $signPackage[timestamp],
nonceStr: '$signPackage[nonceStr]',
signature: '$signPackage[signature]',
jsApiList: [
// 所有要调用的 API 都要加到这个列表中
'onMenuShareTimeline',
'onMenuShareAppMessage',
]
});
wx.ready(function () {
// 在这里调用 API
//分享到朋友圈
wx.onMenuShareTimeline({
title: descContent, // 分享标题
link: lineLink, // 分享链接
imgUrl: imgUrl, // 分享图标
success: function () {
},
cancel: function () {
}
});
//分享到给微信朋友
wx.onMenuShareAppMessage({
title: shareTitle, // 分享标题
desc: descContent, // 分享描述
link: lineLink, // 分享链接
imgUrl: imgUrl, // 分享图标
type: 'link', // 分享类型,music、video或link,不填默认为link
dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空
success: function () {
},
cancel: function () {
}
});
});
</script>
<!--
EOT;
?>-->
</body>
</html>