<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<title>邻食</title>
</head>
<style>
html { -ms-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; font-size: 62.5% }
body { height: 100%; margin: 0; color: #333;background-color: #fff; -webkit-overflow-scrolling: touch; font-family:sans-serif,Microsoft YaHei; }
body, html, img { margin: 0; padding: 0; border: 0; }
.img-responsive { display: block; max-width: 100%; height: auto; }
.img_full { width: 100%; }
.row { position: relative; width: 100%; height: 100%; }
.down { width: 100%; position: absolute; top: 770px; }
.down_menu { width: 45%; margin: 0 auto; }
.down_menu img { display: block; cursor: pointer; }
.m1 { padding: 8px 6px; background: #5db820; border: none; color: #fff; }
</style>
<body>
<div class="row" id="down"><img src="../images/download/down_bg.jpg" class="img-responsive img_full">
  <div class="down" id="down-m">
    <div class="down_menu"> <img src="../images/download/down_menu@x2.png" class="img-responsive img_full" id="down-btn2" onClick="down();"> </div>
  </div>
</div>
<script type="text/javascript">
        
        var userAgent = window.navigator.userAgent.toLowerCase();

window.onload = function(){
            re_size();
            url_redirect();
        }
        window.onresize = function(){
            re_size();
        }
        function re_size(){
            var height = document.getElementById('down').offsetHeight;
            document.getElementById('down-m').style.top = parseInt(height*0.225)+'px';
        }
        
        function down(){
            if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
                window.location.href ="http://itunes.apple.com/cn/app/id999310673?mt=8";
            } else if (/(Android)/i.test(navigator.userAgent)) {
                window.location.href ="http://zybapp.com/res/app/android/Linshi-2.0.0.apk";
            } else {
                window.location.href ="http://linshiapp.com/";
            };
        }
    </script>
</body>
</html>

最新文章

  1. NSOperation实现线程间通信
  2. nginx root&amp;alias文件路径配置
  3. c++中级 STL基础学习(二)
  4. modeler与activiti进行整合
  5. 【手机走 ipv6】
  6. 2013年信1204-1-2班小学期&lt;程序设计技能训练&gt;作品
  7. HTML5要点_CSS(三)
  8. 156 Useful Run Commands
  9. 在CentOS6上使用YUM安装php5.5.x
  10. python linecache标准库基础学习
  11. 兼容性之IOS下label 无法点击
  12. js基础(一)
  13. [ZJOI 2006]超级麻将
  14. MFC中使用SDL播放音频没有声音的解决方法
  15. 重装系统windows10/8/7,绝对纯净版永久激活的详细步骤和固态硬盘找不到分区的原因
  16. 【LeetCode每天一题】Longest Common Prefix(最长前缀)
  17. Xcode 常用命令
  18. Linux 文件编码格式转换
  19. 空基类优化—— EBCO—— empty base class optimization
  20. VC++编程之道读书笔记

热门文章

  1. Prefix the choice with ! to persist it to bower.json ? Answer (问你选择哪个1,2,3.........)
  2. libguestfs-tools 虚拟机磁盘管理工具
  3. jmeter压力测试的简单实例+badboy脚本录制(一个简单的网页用户登录测试的结果)
  4. 标准I/O 缓存
  5. struts2.0中struts.xml配置文件详解
  6. SQL 判断 ‘表,存储过程,函数 ...’ 已是否存在
  7. C#基础--属性
  8. xaml中的依赖属性
  9. Tomcat下的work目录
  10. Java版经典兔子繁殖迭代问题——斐波那契(Fibonacci)数列