Authored by lore-w

修改测试环境页面显示异常bug

{{# home320_js}}
{{# default}}
<script type="text/javascript">
seajs.use(['js/common','js/channel/home'], function (common,home) {
common.init();
home.init();
});
</script>
{{/ home320_js}}
{{/ default}}
{{# fashion320_js}}
{{# fashion}}
<script type="text/javascript">
seajs.use(['js/common'], function (common) {
common.init();
//home.init();
});
</script>
{{/ fashion320_js}}
{{/ fashion}}
{{# beauty320_js}}
{{# beauty}}
<script type="text/javascript">
seajs.use(['js/common'], function (common) {
common.init();
//home.init();
});
</script>
{{/ beauty320_js}}
{{/ beauty}}
{{# sport320_js}}
{{# sport}}
<script type="text/javascript">
seajs.use(['js/common'], function (common) {
common.init();
//home.init();
});
</script>
{{/ sport320_js}}
{{/ sport}}
{{# lifestyle320_js}}
{{# lifestyle}}
<script type="text/javascript">
seajs.use(['js/common'], function (common) {
common.init();
//home.init();
});
</script>
{{/ lifestyle320_js}}
{{/ lifestyle}}
{{# magazine320_js}}
{{# magazine}}
<script type="text/javascript">
seajs.use(['js/common','js/channel/magazine'], function (common, magazine) {
common.init();
magazine.init();
});
</script>
{{/ magazine320_js}}
{{/ magazine}}
{{# video320_js}}
{{# video}}
<script type="text/javascript">
seajs.use(['js/common'], function (common) {
common.init();
});
</script>
{{/ video320_js}}
{{/ video}}
{{# search320_js}}
{{# search}}
<script type="text/javascript">
seajs.use(['js/common','js/channel/search'], function (common,search) {
common.init();
search.init();
});
</script>
{{/ search320_js}}
{{/ search}}
{{# writer320_js}}
{{# writer}}
<script type="text/javascript">
/*function updateState() {
seajs.use("channel/edit320", function(edit) {
edit.updateLogin();
});
}*/
seajs.use(["js/channel/edit320"], function(edit){
edit.init();
});
</script>
{{/ writer320_js}}
{{/ writer}}
{{# detail}}
... ...
... ... @@ -17,8 +17,8 @@
<p>CopyRight © 2014 南京新与力文化传播有限公司<br />苏ICP备09011225号</p>
</footer>
</div>
<script type="text/javascript" src="http://cmsres.dev.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/mobile.js"></script>
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/mobile.js"></script>
{{> common/script320}}
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -21,6 +21,18 @@
</head>
<body id="{{channel}}">
<div id="mobile-wrap">
<!--下载GIRLS-->
<div class="header-download-wrap">
<div class="header-download">
<span class="tip-pic">YOHO GIRLS</span>
<div class="tip-info">
<h2>YOHO!GIRLS</h2>
<p>No Fashion,No Life!</p>
<a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a>
</div>
<span class="tip-c" onclick="">关闭</span>
</div>
</div>
<!--header-->
<header class="girl-header">
<span class="header-logo">Logo</span>
... ... @@ -30,7 +42,7 @@
<div class="girl-nav-wrapper">
<nav class="girl-nav swiper-container">
<ul class="swiper-wrapper">
<li class="swiper-slide nav-home"><a href="/mobile.html">home</a></li>
<li class="swiper-slide nav-default"><a href="/mobile.html">home</a></li>
<li class="swiper-slide nav-fashion"><a href="/fashion/mobile.html">fashion</a></li>
<li class="swiper-slide nav-beauty"><a href="/beauty/mobile.html">beauty</a></li>
<li class="swiper-slide nav-sport"><a href="/sports/mobile.html">sport</a></li>
... ...