|
@@ -44,9 +44,74 @@
|
44
|
44
|
<img src="../assets/images/icon-35.jpg" @load="imgLoad" class="icon35" width="100%" alt>
|
45
|
45
|
</div>
|
46
|
46
|
</div>
|
47
|
|
- <div class="box box3">
|
|
47
|
+ <div class="box box3" style="margin-top: .4rem;">
|
48
|
48
|
<img src="../assets/images/icon-25.png" class="icon25" width="100%" alt>
|
49
|
|
- <div class="scrollPage"></div>
|
|
49
|
+ <div class="scrollPage" style="margin-top: .3rem;position: relative;overflow: visible;">
|
|
50
|
+ <img
|
|
51
|
+ src="../assets/images/icon-38.png"
|
|
52
|
+ style="margin-top: .2rem;"
|
|
53
|
+ @load="imgLoad"
|
|
54
|
+ class="icon38"
|
|
55
|
+ width="100%"
|
|
56
|
+ alt
|
|
57
|
+ >
|
|
58
|
+ <img
|
|
59
|
+ src="../assets/images/icon-39.png"
|
|
60
|
+ style="margin-top: .3rem;"
|
|
61
|
+ @load="imgLoad"
|
|
62
|
+ class="icon39"
|
|
63
|
+ width="100%"
|
|
64
|
+ alt
|
|
65
|
+ >
|
|
66
|
+ <img
|
|
67
|
+ src="../assets/images/icon-40.png"
|
|
68
|
+ style="margin-top: .3rem;"
|
|
69
|
+ @load="imgLoad"
|
|
70
|
+ class="icon40"
|
|
71
|
+ width="100%"
|
|
72
|
+ alt
|
|
73
|
+ >
|
|
74
|
+ <img
|
|
75
|
+ src="../assets/images/icon-41.png"
|
|
76
|
+ @load="imgLoad"
|
|
77
|
+ :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[0]}"
|
|
78
|
+ class="icon41"
|
|
79
|
+ width="100%"
|
|
80
|
+ alt
|
|
81
|
+ >
|
|
82
|
+ <img
|
|
83
|
+ src="../assets/images/icon-42.png"
|
|
84
|
+ @load="imgLoad"
|
|
85
|
+ :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[0]}"
|
|
86
|
+ class="icon42"
|
|
87
|
+ width="100%"
|
|
88
|
+ alt
|
|
89
|
+ >
|
|
90
|
+ <img
|
|
91
|
+ src="../assets/images/icon-36.png"
|
|
92
|
+ @load="imgLoad"
|
|
93
|
+ :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[0]}"
|
|
94
|
+ class="icon36"
|
|
95
|
+ width="20px"
|
|
96
|
+ alt
|
|
97
|
+ >
|
|
98
|
+ <img
|
|
99
|
+ src="../assets/images/icon-37.png"
|
|
100
|
+ @load="imgLoad"
|
|
101
|
+ :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[0]}"
|
|
102
|
+ class="icon37"
|
|
103
|
+ width="20px"
|
|
104
|
+ alt
|
|
105
|
+ >
|
|
106
|
+ </div>
|
|
107
|
+ <div class="subInfo scrollPage">
|
|
108
|
+ <span :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[1]}">以老山为设计之源,
|
|
109
|
+ <br>取其风貌,融于植被,建筑,山水之雅。
|
|
110
|
+ <br>美之灵,智之魂,
|
|
111
|
+ <br>七重园林景观随目之所及,
|
|
112
|
+ <br>五维景观感受携心之所向。
|
|
113
|
+ </span>
|
|
114
|
+ </div>
|
50
|
115
|
</div>
|
51
|
116
|
<div class="box box4">
|
52
|
117
|
<img src="../assets/images/icon-25.png" class="icon25" width="100%" alt>
|
|
@@ -78,8 +143,7 @@
|
78
|
143
|
>
|
79
|
144
|
</div>
|
80
|
145
|
<div class="subInfo scrollPage" style="margin-top: .15rem;">
|
81
|
|
- <!-- <span :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[2]}"> -->
|
82
|
|
- <span class="active">健康夜光慢跑环,
|
|
146
|
+ <span :class="{'active': imgNum >= totalImgNum && scrollTop >= scrollArr[2]}">健康夜光慢跑环,
|
83
|
147
|
<br>
|
84
|
148
|
<b>动</b>起来,恣意徜徉。
|
85
|
149
|
<br>
|
|
@@ -210,7 +274,7 @@ export default {
|
210
|
274
|
data () {
|
211
|
275
|
return {
|
212
|
276
|
imgNum: 0,
|
213
|
|
- totalImgNum: 10,
|
|
277
|
+ totalImgNum: 26,
|
214
|
278
|
scrollArr: [],
|
215
|
279
|
scrollTop: 0,
|
216
|
280
|
musicStatus: true
|
|
@@ -244,7 +308,7 @@ export default {
|
244
|
308
|
calcScrollArr () {
|
245
|
309
|
this.scrollArr = []
|
246
|
310
|
for (let n = 0; n < document.getElementsByClassName('scrollPage').length; n++) {
|
247
|
|
- this.scrollArr.push(document.getElementsByClassName('scrollPage')[n].offsetTop - window.innerHeight / 1.5)
|
|
311
|
+ this.scrollArr.push(document.getElementsByClassName('scrollPage')[n].offsetTop - window.innerHeight / 1.8)
|
248
|
312
|
}
|
249
|
313
|
},
|
250
|
314
|
reback () {
|
|
@@ -368,6 +432,57 @@ export default {
|
368
|
432
|
overflow: hidden;
|
369
|
433
|
margin-top: 0.25rem;
|
370
|
434
|
}
|
|
435
|
+ .box3 {
|
|
436
|
+ .icon38,
|
|
437
|
+ .icon39,
|
|
438
|
+ .icon40 {
|
|
439
|
+ position: relative;
|
|
440
|
+ z-index: 2;
|
|
441
|
+ }
|
|
442
|
+ .icon36,
|
|
443
|
+ .icon37 {
|
|
444
|
+ display: block;
|
|
445
|
+ position: absolute;
|
|
446
|
+ z-index: 3;
|
|
447
|
+ transition: all 0.5s linear;
|
|
448
|
+ -webkit-transition: all 0.5s linear;
|
|
449
|
+ opacity: 0;
|
|
450
|
+ &.active{
|
|
451
|
+ opacity: 1;
|
|
452
|
+ }
|
|
453
|
+ }
|
|
454
|
+ .icon36{
|
|
455
|
+ top: 10vw;
|
|
456
|
+ right: 10vw;
|
|
457
|
+ }
|
|
458
|
+ .icon37{
|
|
459
|
+ top: 80vw;
|
|
460
|
+ left: 10vw;
|
|
461
|
+ transition-delay: 0.5s;
|
|
462
|
+ -webkit-transition-delay: 0.5s;
|
|
463
|
+ }
|
|
464
|
+ .icon41,
|
|
465
|
+ .icon42 {
|
|
466
|
+ display: block;
|
|
467
|
+ position: absolute;
|
|
468
|
+ left: 0;
|
|
469
|
+ z-index: 1;
|
|
470
|
+ transition: all 0.5s linear;
|
|
471
|
+ -webkit-transition: all 0.5s linear;
|
|
472
|
+ opacity: 0;
|
|
473
|
+ &.active {
|
|
474
|
+ opacity: 1;
|
|
475
|
+ }
|
|
476
|
+ }
|
|
477
|
+ .icon41 {
|
|
478
|
+ top: 45vw;
|
|
479
|
+ }
|
|
480
|
+ .icon42 {
|
|
481
|
+ transition-delay: 0.5s;
|
|
482
|
+ -webkit-transition-delay: 0.5s;
|
|
483
|
+ top: 110vw;
|
|
484
|
+ }
|
|
485
|
+ }
|
371
|
486
|
.textInfo {
|
372
|
487
|
.line {
|
373
|
488
|
width: 13vw;
|
|
@@ -487,7 +602,7 @@ export default {
|
487
|
602
|
position: relative;
|
488
|
603
|
overflow: visible;
|
489
|
604
|
text-align: center;
|
490
|
|
- margin-top: .1rem;
|
|
605
|
+ margin-top: 0.1rem;
|
491
|
606
|
> div {
|
492
|
607
|
display: inline-block;
|
493
|
608
|
width: 1px;
|
|
@@ -521,7 +636,7 @@ export default {
|
521
|
636
|
&.hide::before {
|
522
|
637
|
display: none;
|
523
|
638
|
}
|
524
|
|
- &.hideFoot::after{
|
|
639
|
+ &.hideFoot::after {
|
525
|
640
|
display: none;
|
526
|
641
|
}
|
527
|
642
|
}
|
|
@@ -537,20 +652,20 @@ export default {
|
537
|
652
|
color: #dea369;
|
538
|
653
|
font-weight: normal;
|
539
|
654
|
}
|
540
|
|
- >b{
|
|
655
|
+ > b {
|
541
|
656
|
width: 100%;
|
542
|
657
|
display: block;
|
543
|
658
|
text-align: center;
|
544
|
659
|
color: #dea369;
|
545
|
|
- font-size: .14rem;
|
|
660
|
+ font-size: 0.14rem;
|
546
|
661
|
line-height: 1.5;
|
547
|
|
- margin: .1rem auto 0;
|
|
662
|
+ margin: 0.1rem auto 0;
|
548
|
663
|
}
|
549
|
|
- >span{
|
|
664
|
+ > span {
|
550
|
665
|
width: 100%;
|
551
|
666
|
display: block;
|
552
|
667
|
text-align: center;
|
553
|
|
- font-size: .11rem;
|
|
668
|
+ font-size: 0.11rem;
|
554
|
669
|
line-height: 1.5;
|
555
|
670
|
}
|
556
|
671
|
}
|