-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmfNews.html
1 lines (1 loc) · 2.18 KB
/
mfNews.html
1
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"><title>阅读新闻</title><link rel="stylesheet" href="./css/reset.css"><link rel="stylesheet" href="./css/common.css"><link rel="stylesheet" href="./css/mfNews.css"></head><body><div class="actiBg"><img src="./img/nfNewsBg.png" alt=""></div><section id="main" style="opacity:0"><div class="nfNewsText1"><img src="./img/nfNewsText1.png" alt=""></div><div class="nfNewsText2"><img src="./img/nfNewsMan.png" alt=""><div class="nfNewsTime" style="width:100%;height:.22rem;text-align:center;line-height:.22rem;background:#feed4c;border-radius:.11rem">活动时间:7月1号—7月30号</div></div><div class="nfNewsCon"><img src="./img/nfNewsConBg.png" alt=""><p class="p1">每阅读一篇<span>新闻或视频</span>,即有机会获得<span>10金币奖励</span>10金币奖励,培养良好的阅读习惯,将百分百掉落金币</p><div class="border"></div><p class="p2">当天分享三篇以上文章,次日您可获得<span>30金币</span></p><div class="border"></div><p class="p3">看新闻时不要忘记写评论。成为优质评论,您可获得<span>200金币奖励</span></p></div></section><footer id="footer"><a href="javascript:;" onclick="newsRead()"><img src="./img/nfNewsBtn.png" alt=""></a></footer></body><script src="./js/rem.js"></script><script src="./js/loading.js"></script><script src="./js/zepto.js"></script><script src="./js/fastclick.js"></script><script src="https://unpkg.com/axios/dist/axios.min.js"></script><script>function newsRead(){var e=navigator.userAgent,o=-1<e.indexOf("Android")||-1<e.indexOf("Adr"),t=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);o?window.jsi.newsRead("ok"):t&&window.webkit.messageHandlers.newsRead.postMessage("ok")}var overscroll=function(n){n.addEventListener("touchstart",function(){var e=n.scrollTop,o=n.scrollHeight,t=e+n.offsetHeight;0===e?n.scrollTop=1:t===o&&(n.scrollTop=e-1)}),n.addEventListener("touchmove",function(e){n.offsetHeight<n.scrollHeight&&(e._isScroller=!0)})};overscroll(document.querySelector("#main")),document.body.addEventListener("touchmove",function(e){e._isScroller||e.preventDefault()})</script></html>