匿名通过本文主要向大家介绍了微信开发等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
我们上一节课介绍了电影网的核心部分ckplayer播放器,那么我们按照上一节课的基础上来完成这个电影网。
我们先来穿件一个index.html,代码如下所示:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>夺命雷公狗之电影在线点播网</title>
<!--宽高禁缩放 -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<!--类webapp-->
<meta name="apple-mobile-web-app-capable" content="yes">
<!--状态条 -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!--电话号码不是链接 -->
<meta name="format-detection" content="telephone=no">
<link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
</head>
<body>
<div data-role="page" id="page1">
<div>
<img src="banner.png" width="100%" />
</div>
<div data-role="content">
<ul data-role="listview">
<li><a href="#page2">第二页</a></li>
<li><a href="#page3">第三页</a></li>
<li><a href="#page4">第四页</a></li>
<li><a href="#page5">第五页</a></li>
</ul>
</div>
<div data-role="footer">
<h1>页面脚注</h1>
</div>
</div>
<div data-role="page" id="page2">
<div data-role="header">
<h1>header2</h1>
</div>
<div data-role="content">
<img width="200px" src="http://i.cnblogs.com/images/adminlogo.gif" />
</div>
<div data-role="footer">
<h1>页面脚注</h1>
</div>
</div>
<div data-role="page" id="page3">
<div data-role="header">
<h1>header3</h1>
</div>
<div data-role="content">
内容3
</div>
<div data-role="footer">
<h1>footer3</h1>
</div>
</div>
<div data-role="page" id="page4">
<div data-role="header">
<h1>header4</h1>
</div>
<div data-role="content">
<b>内容4</b>
</div>
<div data-role="footer">
<h1>footer4 </h1>
</div>
</div>
<div data-role="page" id="page5">
<div data-role="header">
<h1>header5</h1>
</div>
<div data-role="content">
<h1>内容5</h1>
</div>
<div data-role="footer">
<h1>footer5</h1>
</div>
</div>
</body>
<html>首页写好了,那么下一步就到他的电影详情页了,movie.html代码如下所示:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>电影详情页</title>
<!--宽高禁缩放 -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<!--类webapp-->
<meta name="apple-mobile-web-app-capable" content="yes">
<!--状态条 -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!--电话号码不是链接 -->
<meta name="format-detection" content="telephone=no">
<link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header">
<img src="mv1.png" width="100%" />
</div>
<div data-role="content">
<font style="font-size:24px;color:red;"><b>剧情介绍</b></font><br /><br />
<font style="font-size:20px;color:red;"><b>白发魔女传之明月天国</b></font><br /><br />
明朝万历年间,刚刚被推举为武当派新任掌门的卓一航(黄晓明饰)奉命带红丸入京进贡,沿途偶遇魔教妖女练霓裳(范冰冰饰),二人从不打不相识到情难自禁坠入爱河,并在练霓裳所驻扎的明月寨中互许终身。不久,锦衣卫攻入明月寨,指出练霓裳就是杀死川陕总督卓仲廉的凶手,卓一航为查明真相只身前往京城。不久后却传来他归顺朝廷并另娶娇妻的消息,练霓裳悲愤交集,一夜间黑发尽数变白。<br /><br />
<font style="font-size:24px;color:red;"><b>点击播放</b></font><br /><br />
<!--如果我们是在实际的开发的时候这里面一定是动态的,如href=“/ckplayer/index.php?id=100”-->
<a target="_self" href="/ckplayer/index.htm">
<img src="movie1.png">
</a>
</div>
<div data-role="footer">
<h3>夺命雷公狗出品2015-2016</h3>
</div>
</div>
<div data-role="page" id="page2">
<div data-role="header">
<h1>header2</h1>
</div>
<div data-role="content">
<img width="200px" src="http://i.cnblogs.com/images/adminlogo.gif" />
</div>
<div data-role="footer">
<h1>页面脚注</h1>
</div>
</div>
<div data-role="page" id="page3">
<div data-role="header">
<h1>header3</h1>
</div>
<div data-role="content">
内容3
</div>

