-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeeling.html
694 lines (670 loc) · 27.7 KB
/
feeling.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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
<!DOCTYPE html>
<html lang="en">
<head>
<title>轩尼诗X.O 一场感官之旅</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/style.css" rel="stylesheet">
<style>
.section {
height: 100% !important;
}
</style>
<script src="js/jquery.min.js"></script>
<script src="js/fullPage.js"></script>
</head>
<body style="height: 100%;width: 100%;">
<!--分享-->
<div id="share" class="alert" style="display: none;">
<div class="alShow">
<img src="image/logo.png" height="63" width="149"/>
<div>
<span class="s-logo1" onclick="tsina_a()">新浪微博</span>
<span class="s-logo2" onclick="weixin()">微信</span>
<span class="s-logo3" onclick="txWeibo()">腾讯微博</span>
<span class="s-logo4" onclick="qqZone()">QQ空间</span>
</div>
</div>
</div>
<!--微信分享弹窗-->
<div id="wcShow" style="display: none;">
<h2>微信扫一扫</h2>
<hr>
<div id="wCShare"></div>
<span class="closeWC">X</span>
</div>
<div class="logo">
<img src="image/logo.png" alt="">
</div>
<div class="hd-nav">
<ul>
<li><a href="index.html">首页</a></li>
<li class="active"><a class="active">轩尼诗X.O感官之旅</a></li>
<li><a href="wine-ice.html">谈酒论冰</a></li>
<li><a><img src="image/share.png" id="al-Share" alt=""></a></li>
</ul>
</div>
<div class="ft-nav">
<ul>
<li><a id="nav11">关注我们</a></li>
<li><a id="nav12">隐私政策</a></li>
<li class="active"><a href="http://www.miitbeian.gov.cn" target="_blank">沪ICP备10018200号-6</a></li>
<li><a href>请理性享用轩尼诗干邑</a></li>
</ul>
</div>
<div id="fullPage-nav">
<ul>
<li class="active"><a href="#page0"></a></li>
<li><a href="#page1"></a></li>
<li><a href="#page2"></a></li>
<li><a href="#page3"></a></li>
<li><a href="#page4"></a></li>
<li><a href="#page5"></a></li>
<li><a href="#page6"></a></li>
<li><a href="#page7"></a></li>
</ul>
</div>
<div id="fullpage">
<div class="section" id="section0">
<div class="video-wrap">
<div class="video-wrap-left">
<!--<span class="video-title">【“轩尼诗X.O感官之旅”导演剪辑版】</span>-->
<div class="video-bg">
<img src="image/play.png" alt="" class="vPlay">
<video data-target='0' preload="none" controls="controls" class="videoP acshow" src="image/ad.mp4"
width="100%">
</video>
<video data-target='3' preload="none" controls="controls" class="videoP" src="image/cdm.mp4"
width="100%"></video>
</div>
</div>
<div class="video-wrap-right show23">
<div class="prev slide-btn">
<img src="image/up-arrow.png" alt="">
</div>
<div class="bd">
<ul class="picList">
<li class="active">
<div class="black-content">
<span>【“轩尼诗X.O感官之旅”导演剪辑版】</span>
</div>
<div class="pic">
<img src="image/slide-img1.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img2.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img3.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>解码感官之旅</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
</ul>
</div>
<div class="next slide-btn">
<img src="image/down-arrow.png" alt="">
</div>
</div>
<div class="video-wrap-right show17">
<div class="prev slide-btn">
<img src="image/up-arrow.png" alt="">
</div>
<div class="bd">
<ul class="picList">
<li class="active">
<div class="black-content">
<span>【“轩尼诗X.O感官之旅”导演剪辑版】</span>
</div>
<div class="pic">
<img src="image/slide-img1.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img2.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img3.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>解码感官之旅</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
</ul>
</div>
<div class="next slide-btn">
<img src="image/down-arrow.png" alt="">
</div>
</div>
<div class="video-wrap-right show15">
<div class="prev slide-btn">
<img src="image/up-arrow.png" alt="">
</div>
<div class="bd">
<ul class="picList">
<li class="active">
<div class="black-content">
<span>【“轩尼诗X.O感官之旅”导演剪辑版】</span>
</div>
<div class="pic">
<img src="image/slide-img1.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img2.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img3.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>解码感官之旅</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
</ul>
</div>
<div class="next slide-btn">
<img src="image/down-arrow.png" alt="">
</div>
</div>
<div class="video-wrap-right show13">
<div class="prev slide-btn">
<img src="image/up-arrow.png" alt="">
</div>
<div class="bd">
<ul class="picList">
<li class="active">
<div class="black-content">
<span>【“轩尼诗X.O感官之旅”导演剪辑版】</span>
</div>
<div class="pic">
<img src="image/slide-img1.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img2.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img3.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>解码感官之旅</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
</ul>
</div>
<div class="next slide-btn">
<img src="image/down-arrow.png" alt="">
</div>
</div>
<div class="video-wrap-right show11">
<div class="prev slide-btn">
<img src="image/up-arrow.png" alt="">
</div>
<div class="bd">
<ul class="picList">
<li class="active">
<div class="black-content">
<span>【“轩尼诗X.O感官之旅”导演剪辑版】</span>
</div>
<div class="pic">
<img src="image/slide-img1.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img2.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img3.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>解码感官之旅</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
<li>
<div class="black-content">
<span>【更多精彩 敬请期待】</span>
</div>
<div class="pic">
<img src="image/slide-img4.jpg"/>
</div>
</li>
</ul>
</div>
<div class="next slide-btn">
<img src="image/down-arrow.png" alt="">
</div>
</div>
<div class="bottom_tip special"></div>
</div>
</div>
<div class="section" id="section1">
<div class="wrapper">
<div class="bgtext"><img src="image/p1_text.png"></div>
<div class="circlebtn" style="margin-top: 240px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section2">
<div class="wrapper">
<div class="bgtext"><img src="image/p2_text.png"></div>
<div class="circlebtn" style="margin-top: 235px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section3">
<div class="wrapper">
<div class="bgtext"><img src="image/p3_text.png"></div>
<div class="circlebtn" style="margin-top: 240px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section4">
<div class="wrapper">
<div class="bgtext"><img src="image/p4_text.png"></div>
<div class="circlebtn" style="margin-top: 240px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section5">
<div class="wrapper">
<div class="bgtext"><img src="image/p5_text.png"></div>
<div class="circlebtn" style="margin-top: 240px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section6">
<div class="wrapper">
<div class="bgtext"><img src="image/p6_text.png"></div>
<div class="circlebtn" style="margin-top: 285px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip"></div>
</div>
</div>
<div class="section" id="section7">
<div class="wrapper">
<div class="bgtext"><img src="image/p7_text.png"></div>
<div class="circlebtn" id="buy_07" style="margin-top: 310px;">
<div class="buybtn">
<a href="javascript:;"><img src="image/buybtn.png" width="100%" height="100%"></a>
</div>
<div class="buybtn_over">
<a href="https://detail.tmall.com/item.htm?spm=a1z10.1-b-s.w5003-16659567229.19.19335493lmLbYh&id=555677268005&scene">跃跃欲试?由此前往官方旗舰店选购<img
src="image/buybtn.png" height="100%"></a>
</div>
</div>
<div class="bottom_tip" style="background:none;">
<a href="javascript:void(0);"><img src="image/scroll_tip6.png"></a>
</div>
</div>
</div>
</div>
<script src="js/jquery.qrcode.min.js"></script>
<script src="js/SuperSlide.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#fullpage').fullpage({
anchors: ['page0', 'page1', 'page2', 'page3', 'page4', 'page5', 'page6', 'page7'],
continuousVertical: true,
onLeave: function (index, nextIndex, direction) {
$("#section" + (index - 1)).find('.circlebtn').hide();
$("#section" + (nextIndex - 1)).find('.circlebtn').show();
$("#fullPage-nav li").eq(nextIndex - 1).addClass("active").siblings().removeClass("active");
if (nextIndex == 1) {
$('.vPlay').show();
//
}
},
});
$('.buybtn').mouseenter(function () {
$(this).hide();
$(this).parent().stop().animate({'width': '320px'});
$(this).siblings().stop().show().animate({'left': '0px'});
});
$('.buybtn_over').mouseleave(function () {
var $this = $(this);
$this.parent().stop().animate({'width': '45px'});
$this.stop().animate({'left': '-307px'}, function () {
$this.siblings().show();
$this.hide();
});
});
$(".video-wrap-right").slide({
mainCell: ".bd ul",
autoPage: true,
effect: "top",
autoPlay: false,
vis: 4,
trigger: "click"
});
$(".picList li").click(function () {
$(this).addClass("active").siblings(".active").removeClass("active")
$(".video-title").text($(this).find("span").text());
});
})
;
</script>
<script>
//按钮 显示//隐藏
function btnHide() {
$btnPlay.hide();
}
function btnShow() {
$btnPlay.show();
}
var $btnPlay = $('.vPlay');//播放按钮
var $vidList = $('.video-bg').find('video');
var vidList = document.getElementsByTagName('video');
var $picList = $('.picList li');
var hasVid = true; //记录视频是否找到
for (var v = 0; v < vidList.length; v++) {
vidList[v].onclick = function () {
if (this.paused) {
this.play();
btnHide();
$vidList.css('opacity', 1)
} else {
this.pause()
btnShow();
}
}
}
$btnPlay.click(function () {
btnHide();
vidList[0].play();
$vidList.eq(0).css('opacity', 1);
for (var i = 0; i < $(this).siblings().length; i++) {
if (vidList[i].paused) {
vidList[i].play();
}
}
;
})
$picList.click(function () {
var index = $(this).index();
//设置视频没有
hasVid = false;
console.log(index);
//如果找不到视频
btnHide();
$vidList.removeClass('acshow');
//如果找到视频
$vidList.each(function () {
$(this)[0].currentTime = 0;
if ($(this).attr('data-target') == index) {
hasVid = true;
btnHide();
$vidList.css('opacity', 1)
console.log($(this)[0])
$(this).addClass('acshow')
$(this)[0].play();
}
});
});
</script>
<script>
window.addEventListener('resize', function () {
var pageList = $('.section'),
wH = window.innerHeight + 'px',
wW = window.innerWidth + 'px';
pageList.css({heigth: wH, width: wW});
});
</script>
<script>
//生成微信分享二维码
$("#wCShare").qrcode({
render: "table", //table方式
width: 200, //宽度
height: 200, //高度
text: location.href //任意内容
});
// 微信分享
function weixin() {
$('#share').hide();
$('#wcShow').fadeIn();
}
//取消微信分享
$('.closeWC').click(function () {
$('#wcShow').hide();
})
//点击关闭分享
document.onclick = function () {
$('#share').hide();
};
$('#al-Share').click(function (e) {
e.stopPropagation();
$('#share').show();
});
//新浪分享
function tsina_a() {
var n = screen
, t = document
, i = encodeURIComponent
, r = "http://v.t.sina.com.cn/share/share.php?"
, u = t.location.href
, f = ["url=", i(u), "&title=", i(t.title)].join("");
window.open([r, f].join(""), "mb", ["toolbar=0,status=0,resizable=1,width=620,height=450,left=", (n.width - 620) / 2, ",top=", (n.height - 450) / 2].join("")) || (u.href = [r, f].join(""))
}
//qq空间分享
function qqZone() {
var n = screen
, t = document
, i = encodeURIComponent
, r = "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?"
, u = t.location.href
, f = ["url=", u,'&title=' ,t.title].join("");
window.open([r, f].join(""), "mb", ["toolbar=0,status=0,resizable=1,width=620,height=450,left=", (n.width - 620) / 2, ",top=", (n.height - 450) / 2].join("")) || (u.href = [r, f].join("") + '&summary=');
}
// 腾讯微博分享
function txWeibo() {
var n = screen
, t = document
, i = encodeURIComponent
, r = "http://share.v.t.qq.com/index.php?c=share&a=index&"
, u = t.location.href
, f = ["url=", i(u), "&title=", i(t.title)].join("");
window.open([r, f].join(""), ' ', ["toolbar=0,status=0,resizable=1,width=620,height=450,left=", (n.width - 620) / 2, ",top=", (n.height - 450) / 2].join("")) || (u.href = [r, f].join(""))
}
</script>
<script>
if (localStorage.pagecount == 1) {
localStorage.pagecount = 0;
$('#section0').css('background-image', 'url("image/feeling-bg5.jpg")')
}
else {
$('#section0').css('background-image', 'url("image/feeling-bg4.jpg")')
localStorage.pagecount = 1;
}
</script>
</body>
</html>