开始使用Mocha指引...
使用Mocha,页面必须引入 mocha-1.1.min.css、mocha.min.js两个文件
<head>
...
<link href="http://game.gtimg.cn/images/js/mocha/mocha-1.1.min.css" rel="stylesheet">
<script src="http://game.gtimg.cn/images/js/mocha/mocha.min.js"></script>
</head>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta name="applicable-device" content="mobile">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,maximum-scale=1"/>
<meta name="robots" content="all" />
<meta name="author" content="Tencent-TGideas" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<title>Page Name - TGideas Mocha</title>
<link href="http://game.gtimg.cn/images/js/mocha/mocha-1.1.min.css" rel="stylesheet">
<script src="http://game.gtimg.cn/images/js/mocha/mocha.min.js"></script>
</head>
<body>
<div class="mocha-box mocha-box-scheme1 mocha-box-skin1">
<div class="mocha-box-hd">
<h3 class="mocha-box-hd-title">模块标题</h3>
</div>
<div class="mocha-box-bd">
<p>{模块内容显示区}</p>
</div>
<div class="mocha-box-fd">
<a href="#" class="mocha-box-fd-more">查看更多></a>
</div>
</div>
</body>
</html>