diff --git a/yazhaiTest/download.html b/download.html similarity index 50% rename from yazhaiTest/download.html rename to download.html index f00e1fc..74036ab 100644 --- a/yazhaiTest/download.html +++ b/download.html @@ -1,5 +1,12 @@ <script src="lib/jquery-3.1.1.min.js"></script> <script src="lib/default.js"></script> <script> - + var ua = window.navigator.userAgent.toLowerCase(); + if (/iphone|ipad|ipod/.test(ua)) { + window.location.href = 'https://app.footseen.com/download.html'; + } else if (/android/.test(ua)) { + window.location.href='https://bgps2.yazhai.co/footseexyz/apk/ftsBH5PC.apk' + }else{ + window.location.href='https://bgps2.yazhai.co/footseexyz/apk/ftsBH5PC.apk' + } </script> \ No newline at end of file diff --git a/yazhaiTest/css/login.css b/yazhaiTest/css/login.css index 40c0297..40219a9 100644 --- a/yazhaiTest/css/login.css +++ b/yazhaiTest/css/login.css @@ -580,9 +580,48 @@ position: absolute; top: 0; left: 1120px; + cursor: pointer; } .down-tips > img { vertical-align: middle; margin-right: 6px; margin-left: 6px; } +.down-tips .down-tip-content { + display: none; + background: #FBFBFB; + width: 216px; + height: 226px; + border-radius: 8px; + position: absolute; + left: -50px; + top: 53px; +} +.down-tips .code-img { + width: 118px; + position: absolute; + left: 40px; + top: 44px; + padding: 8px; + border: 2px solid #E53985; + border-radius: 8px; +} +.anzhuo-tips { + color: #333333; + text-align: center; + line-height: 44px; +} +.anzhuo-tips img { + vertical-align: middle; + margin-top: -2px; + margin-right: 4px; +} +.code-tips { + color: #999999; + font-size: 12px; + text-align: center; + position: absolute; + height: 18px; + width: 216px; + top: 172px; +} diff --git a/yazhaiTest/css/login.less b/yazhaiTest/css/login.less index 42a1239..abb95b9 100644 --- a/yazhaiTest/css/login.less +++ b/yazhaiTest/css/login.less @@ -600,9 +600,49 @@ position: absolute; top: 0; left: 1120px; + cursor: pointer; >img{ vertical-align: middle; margin-right: 6px; margin-left: 6px; } + .down-tip-content{ + display: none; + background: #FBFBFB; + width: 216px; + height: 226px; + border-radius: 8px; + position: absolute; + left: -50px; + top: 53px; + + } + .code-img{ + width: 118px; + position: absolute; + left: 40px; + top: 44px; + padding: 8px; + border: 2px solid #E53985; + border-radius: 8px; + } + } + .anzhuo-tips{ + color: #333333; + text-align: center; + line-height: 44px; + img{ + vertical-align: middle; + margin-top: -2px; + margin-right: 4px; + } + } + .code-tips{ + color: #999999; + font-size: 12px; + text-align: center; + position: absolute; + height: 18px; + width: 216px; + top: 172px; } \ No newline at end of file diff --git a/yazhaiTest/css/neck.css b/yazhaiTest/css/neck.css index 5442445..40a19b4 100644 --- a/yazhaiTest/css/neck.css +++ b/yazhaiTest/css/neck.css @@ -533,6 +533,12 @@ html * { top: 535px; right: 70px; } +.down-cotnent > img { + width: 220px; + position: absolute; + top: 26px; + left: 26px; +} .down-btn-box { position: absolute; width: 270px; diff --git a/yazhaiTest/css/neck.less b/yazhaiTest/css/neck.less index bac8346..06cb101 100644 --- a/yazhaiTest/css/neck.less +++ b/yazhaiTest/css/neck.less @@ -558,6 +558,12 @@ position: absolute; top: 535px; right: 70px; + >img{ + width: 220px; + position: absolute; + top: 26px; + left: 26px; + } } .down-btn-box{ position: absolute; diff --git a/yazhaiTest/lib/login.js b/yazhaiTest/lib/login.js index ca3a308..3677713 100644 --- a/yazhaiTest/lib/login.js +++ b/yazhaiTest/lib/login.js @@ -165,8 +165,24 @@ function loginGo(){ html+='<img class="search-icon" src="https://www.footseen.xyz/yazhaiTest/images/front/search2.png">' $(".neck-nav-content").append(html) var html=[]; - html+='<div class="down-tips"><img class="phone-icon" src="https://www.footseen.xyz/yazhaiTest/images/phone.png">APP下載<img src="https://www.footseen.xyz/yazhaiTest/images/down-arrow.png"></div>' + html+='<div class="down-tips"><img class="phone-icon" src="https://www.footseen.xyz/yazhaiTest/images/phone.png">APP下載<img src="https://www.footseen.xyz/yazhaiTest/images/down-arrow.png">'; + html+='<div class="down-tip-content"><div style="left: 103px;" class="nav-login-more-jiao"></div>'; + html+='<p class="anzhuo-tips"><img src="https://www.footseen.xyz/yazhaiTest/images/anzhuo.png">Download APK</p>' + html+='<p class="code-tips">掃描下載APP</p>' + html+='<img class="code-img" src="https://www.footseen.xyz/yazhaiTest/images/code.png"></div>' + html+='</div>' $(".neck-nav-content").append(html) + var tDown=null + $(".down-tips").on("mouseover",function(){ + clearInterval(tDown) + $(".down-tip-content").fadeIn(150) + + }) + $(".down-tips ").on("mouseout",function(){ + tDown = setTimeout(function () { + $(".down-tip-content").fadeOut(150) + }, 350) + }) $(".search-icon").on("click",function(event){ if(localStorage.uid==undefined){ loginLayer() diff --git a/yazhaiTest/pc.html b/yazhaiTest/pc.html index 59dcc88..098c987 100644 --- a/yazhaiTest/pc.html +++ b/yazhaiTest/pc.html @@ -85,7 +85,7 @@ <div class="down-phone"></div> <video class="down-video" autoplay muted loop src="images/front/down.mp4"></video> <div class="down-logo"></div> - <div class="down-cotnent"></div> + <div class="down-cotnent"><img src="images/code.png"></div> <div class="down-btn-box"> <p>1v1甜美約會</p> <p>下載app體驗更多功能</p> diff --git a/yazhaiTest/room/css/room.css b/yazhaiTest/room/css/room.css index d4e34f3..4609de7 100644 --- a/yazhaiTest/room/css/room.css +++ b/yazhaiTest/room/css/room.css @@ -512,8 +512,8 @@ html * { .left-gift-ul .subimg { position: absolute; height: 16px; - left: 0; - top: 0; + left: -1px; + top: -1px; width: auto; } .left-gift-ul li { @@ -1374,7 +1374,7 @@ input::-webkit-input-placeholder { cursor: pointer; } .big-gift-content-ul .subimg { - height: 18px; + height: 17px; position: absolute; top: 0px; left: 0px; diff --git a/yazhaiTest/room/css/room.less b/yazhaiTest/room/css/room.less index b7595f4..9781d15 100644 --- a/yazhaiTest/room/css/room.less +++ b/yazhaiTest/room/css/room.less @@ -518,8 +518,8 @@ html{ .subimg{ position: absolute; height: 16px; - left: 0; - top: 0; + left: -1px; + top: -1px; width: auto; } height: 60px; @@ -1421,7 +1421,7 @@ input::-webkit-input-placeholder{ cursor: pointer; } .subimg{ - height:18px; + height:17px; position: absolute; top: 0px; left: 0px; diff --git a/yazhaiTest/room/liveRoom.html b/yazhaiTest/room/liveRoom.html index 52c5826..d351c6a 100644 --- a/yazhaiTest/room/liveRoom.html +++ b/yazhaiTest/room/liveRoom.html @@ -2306,7 +2306,7 @@ $(function () { if(list.content.isBigGift){ trackNum++ var html=[] - if(list.content.giftDuration!==0&&list.content.giftDuration!=undefined)html+='<div data-type="'+list.content.giftDuration+'" data-type2="0" data-type3="https://zhibocdn.yabolive.net/comm'+list.content.webp+'" class="gift-show-ing gift-show-content show'+trackNum+'">'; + if(list.content.giftDuration!==0&&list.content.giftDuration!=undefined)html+='<div data-type="'+list.content.giftDuration*1000+'" data-type2="0" data-type3="https://zhibocdn.yabolive.net/comm'+list.content.webp+'" class="gift-show-ing gift-show-content show'+trackNum+'">'; else html+='<div data-type="5000" data-type2="0" data-type3="https://zhibocdn.yabolive.net/comm'+list.content.webp+'" class="gift-show-ing gift-show-content show'+trackNum+'">'; // html+='<img class="gift-show-img" src="https://zhibocdn.yabolive.net/comm'+list.content.webp+'" alt="">'; html+='<div class="gift-show-text">';