修改点击下载传参
This commit is contained in:
2
view/peko/home/css/animate.css
vendored
2
view/peko/home/css/animate.css
vendored
File diff suppressed because one or more lines are too long
@@ -245,14 +245,14 @@
|
||||
html .h5 .pagesBox {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: all .6s;
|
||||
transition: all .4s;
|
||||
transform: translateY(0%);
|
||||
}
|
||||
body .h5 .pagesBox .page1,
|
||||
html .h5 .pagesBox .page1 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url(../images/h51.png) no-repeat center;
|
||||
background: url(../images/h51.png) no-repeat;
|
||||
background-size: 100% 17.78667rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
@@ -260,13 +260,13 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// overflow: hidden;
|
||||
transition: all .6s;
|
||||
transition: all .4s;
|
||||
transform: translateY(-0%);
|
||||
|
||||
.page1 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url(../images/h51.png) no-repeat center;
|
||||
background: url(../images/h51.png) no-repeat ;
|
||||
background-size: 100% px2rem(1334);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
@@ -71,11 +71,11 @@
|
||||
|
||||
<!-- 頁面2 -->
|
||||
<div class="pages page2">
|
||||
<img src="./images/pageText2.png" alt="" class="pageText2 animate__animated animate__slow__2s">
|
||||
<img src="./images/pageText2.png" alt="" class="pageText2 animate__animated ">
|
||||
<img src="./images/page2.png" alt="" class="page2_in">
|
||||
<img src="./images/pagetx1.png" alt="" class="pagetx1 animate__animated animate__slow__2s">
|
||||
<img src="./images/pagetx2.png" alt="" class="pagetx2 animate__animated animate__delay-1s ">
|
||||
<img src="./images/downioad.png" alt="" class="downioad animate__animated animate__slow__2s">
|
||||
<img src="./images/pagetx1.png" alt="" class="pagetx1 animate__animated ">
|
||||
<img src="./images/pagetx2.png" alt="" class="pagetx2 animate__animated ">
|
||||
<img src="./images/downioad.png" alt="" class="downioad animate__animated ">
|
||||
<img src="./images/down.png" alt="" class="down">
|
||||
</div>
|
||||
|
||||
@@ -83,10 +83,10 @@
|
||||
<div class="pages page3">
|
||||
<img src="./images/pageText3.png" alt="" class="pageText3 animate__animated">
|
||||
<img src="./images/page3.png" alt="" class="page3_in">
|
||||
<img src="./images/page3Icon1.png" alt="" class="page3Icon1 animate__animated">
|
||||
<img src="./images/page3Icon2.png" alt="" class="page3Icon2 animate__animated">
|
||||
<img src="./images/page3Icon3.png" alt="" class="page3Icon3 animate__animated">
|
||||
<img src="./images/page3Icon4.png" alt="" class="page3Icon4 animate__animated">
|
||||
<img src="./images/page3Icon1.png" alt="" class="page3Icon1 animate__animated animate__delay-2s">
|
||||
<img src="./images/page3Icon2.png" alt="" class="page3Icon2 animate__animated animate__delay-1s">
|
||||
<img src="./images/page3Icon3.png" alt="" class="page3Icon3 animate__animated animate__delay-4s">
|
||||
<img src="./images/page3Icon4.png" alt="" class="page3Icon4 animate__animated animate__delay-3s">
|
||||
<img src="./images/downioad.png" alt="" class="downioad animate__animated">
|
||||
<img src="./images/down.png" alt="" class="down">
|
||||
</div>
|
||||
|
@@ -116,12 +116,12 @@ $('body .h5').on('touchend', function (e) {
|
||||
// 動畫調用
|
||||
function animatedImplementFun (index) {
|
||||
if (index == 0) {
|
||||
animatedFun($(`body .h5 .pagesBox .page1 .pageTxte1`), ['animate__fadeInUp',]);
|
||||
animatedFun($(`body .h5 .pagesBox .page1 .pageTxte1`), ['animate__zoomInDown',]);
|
||||
// animatedFun($(`body .h5 .pagesBox .page1 .downioad`), ['animate__wobble',]);
|
||||
} else if (index == 1) {
|
||||
// animatedFun($(`body .h5 .pagesBox .page2 .pageText2`), ['animate__bounce',]);
|
||||
animatedFun($(`body .h5 .pagesBox .page2 .pagetx1`), ['animate__shakeX',]);
|
||||
animatedFun($(`body .h5 .pagesBox .page2 .pagetx2`), ['animate__shakeX',]);
|
||||
animatedFun($(`body .h5 .pagesBox .page2 .pagetx1`), ['animate__bounceInRight',]);
|
||||
animatedFun($(`body .h5 .pagesBox .page2 .pagetx2`), ['animate__bounceInLeft',]);
|
||||
// animatedFun($(`body .h5 .pagesBox .page2 .downioad`), ['animate__wobble',]);
|
||||
} else if (index == 2) {
|
||||
// animatedFun($(`body .h5 .pagesBox .page3 .pageText3`), ['animate__rubberBand',]);
|
||||
@@ -160,7 +160,7 @@ $('body .pc .header .diamound, html .pc .header .diamound').click(function () {
|
||||
// PC蘋果下載按鈕
|
||||
$('html .pc .pcIos').click(function () {
|
||||
if (ios) {
|
||||
officialClick(iosSkipType);
|
||||
officialClick(0);
|
||||
window.location = ios;
|
||||
} else {
|
||||
toastMsg('暫未開放下載,詳情請聯繫客服')
|
||||
@@ -169,7 +169,7 @@ $('html .pc .pcIos').click(function () {
|
||||
// PC安卓下載按鈕
|
||||
$('html .pc .pcAnd').click(function () {
|
||||
if (and) {
|
||||
officialClick(androidSkipType);
|
||||
officialClick(1);
|
||||
window.location = and;
|
||||
} else {
|
||||
toastMsg('暫未開放下載,詳情請聯繫客服')
|
||||
@@ -215,7 +215,7 @@ $('.page5 .contactUs').click(function () {
|
||||
// h5首頁安卓下載
|
||||
$('body .h5 .pagesBox .page1 .h5And').click(function () {
|
||||
if (and) {
|
||||
officialClick(androidSkipType);
|
||||
officialClick(1);
|
||||
window.location = and;
|
||||
} else {
|
||||
toastMsg('暫未開放下載,詳情請聯繫客服')
|
||||
@@ -224,7 +224,7 @@ $('body .h5 .pagesBox .page1 .h5And').click(function () {
|
||||
// h5首頁蘋果下載
|
||||
$('body .h5 .pagesBox .page1 .h5Ios').click(function () {
|
||||
if (ios) {
|
||||
officialClick(iosSkipType);
|
||||
officialClick(0);
|
||||
window.location = ios;
|
||||
} else {
|
||||
toastMsg('暫未開放下載,詳情請聯繫客服')
|
||||
@@ -234,10 +234,10 @@ $('body .h5 .pagesBox .page1 .h5Ios').click(function () {
|
||||
$('body .h5 .pagesBox .pages .downioad').click(function () {
|
||||
if (url) {
|
||||
if (browser.ios) {
|
||||
officialClick(iosSkipType);
|
||||
officialClick(0);
|
||||
window.location = url;
|
||||
} else if (browser.android) {
|
||||
officialClick(androidSkipType);
|
||||
officialClick(1);
|
||||
window.location = url;
|
||||
} else {
|
||||
$('.menu').css("z-index", "1");
|
||||
|
Reference in New Issue
Block a user