Home section
For the moment, regardless of the CSS and IMG section, because it is very good to deal with, just give CSS to set something, as a debugging use, then, began to formally write-
First, all kinds of third-party plug-ins are loaded in, i.e.
<script src= "Js/zepto.js" ></script>
<script src= "Js/director.js" ></script>
And then load the following stuff up.
<script src= "Js/module/basemodule.js" ></script>--basic template
<script src= "Js/module/home.js" ></script>--sub-Module Special home Page section
<script src= "Js/module/rank.js" ></script>--sub-module special rank Web Part
<script src= "Js/module/login.js" ></script>--sub-module special login Web Part
<script src= "Js/route.js" ></script> js for routing adjustment
<script src= "js/init.js" ></script> Transit station JS
Of course, everything inside is empty.
Then we first write the Basemodule section.
We will write the code of multiple pages in an HTML, through display to control, show or hide, to achieve similar quick jump role. And most of the sub-pages are duplicated, or need a template, so we specifically built this Web common mode (mú) board.
Building a complete Mobile project-Framing 2