Open lcgyh opened 6 years ago
<!DOCTYPE html> <html> <head> <title>时钟</title> <meta charset="utf-8" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> <meta name="format-detection" content="telephone=no" /> <link rel="stylesheet" href="http://ohiy5a45u.bkt.clouddn.com/asubject.css"> <link href="styles/shizhong.css" rel="stylesheet" /> <script src='http://www.zeptojs.cn/zepto.min.js'></script> <script src='http://ohiy5a45u.bkt.clouddn.com/touch.js'></script> <script src='scripts/shizhong.js'></script> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="con"> </div> </body> </html>
注意事项: 1.在写移动端项目的时候要做自适应 2.移动端不是用jquery,而是用zeptojs 3.引入touch.js文件,否则触屏事件不能成功响应
注意事项: 1.在写移动端项目的时候要做自适应 2.移动端不是用jquery,而是用zeptojs 3.引入touch.js文件,否则触屏事件不能成功响应