Authored by lore-w

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

1 -{{# home320_js}} 1 +{{# default}}
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 seajs.use(['js/common','js/channel/home'], function (common,home) { 3 seajs.use(['js/common','js/channel/home'], function (common,home) {
4 common.init(); 4 common.init();
5 home.init(); 5 home.init();
6 }); 6 });
7 </script> 7 </script>
8 -{{/ home320_js}} 8 +{{/ default}}
9 9
10 -{{# fashion320_js}} 10 +{{# fashion}}
11 <script type="text/javascript"> 11 <script type="text/javascript">
12 seajs.use(['js/common'], function (common) { 12 seajs.use(['js/common'], function (common) {
13 common.init(); 13 common.init();
14 //home.init(); 14 //home.init();
15 }); 15 });
16 </script> 16 </script>
17 -{{/ fashion320_js}} 17 +{{/ fashion}}
18 18
19 -{{# beauty320_js}} 19 +{{# beauty}}
20 <script type="text/javascript"> 20 <script type="text/javascript">
21 seajs.use(['js/common'], function (common) { 21 seajs.use(['js/common'], function (common) {
22 common.init(); 22 common.init();
23 //home.init(); 23 //home.init();
24 }); 24 });
25 </script> 25 </script>
26 -{{/ beauty320_js}} 26 +{{/ beauty}}
27 27
28 -{{# sport320_js}} 28 +{{# sport}}
29 <script type="text/javascript"> 29 <script type="text/javascript">
30 seajs.use(['js/common'], function (common) { 30 seajs.use(['js/common'], function (common) {
31 common.init(); 31 common.init();
32 //home.init(); 32 //home.init();
33 }); 33 });
34 </script> 34 </script>
35 -{{/ sport320_js}} 35 +{{/ sport}}
36 36
37 -{{# lifestyle320_js}} 37 +{{# lifestyle}}
38 <script type="text/javascript"> 38 <script type="text/javascript">
39 seajs.use(['js/common'], function (common) { 39 seajs.use(['js/common'], function (common) {
40 common.init(); 40 common.init();
41 //home.init(); 41 //home.init();
42 }); 42 });
43 </script> 43 </script>
44 -{{/ lifestyle320_js}} 44 +{{/ lifestyle}}
45 45
46 -{{# magazine320_js}} 46 +{{# magazine}}
47 <script type="text/javascript"> 47 <script type="text/javascript">
48 seajs.use(['js/common','js/channel/magazine'], function (common, magazine) { 48 seajs.use(['js/common','js/channel/magazine'], function (common, magazine) {
49 common.init(); 49 common.init();
50 magazine.init(); 50 magazine.init();
51 }); 51 });
52 </script> 52 </script>
53 -{{/ magazine320_js}} 53 +{{/ magazine}}
54 54
55 -{{# video320_js}} 55 +{{# video}}
56 <script type="text/javascript"> 56 <script type="text/javascript">
57 seajs.use(['js/common'], function (common) { 57 seajs.use(['js/common'], function (common) {
58 common.init(); 58 common.init();
59 }); 59 });
60 </script> 60 </script>
61 -{{/ video320_js}} 61 +{{/ video}}
62 62
63 -{{# search320_js}} 63 +{{# search}}
64 <script type="text/javascript"> 64 <script type="text/javascript">
65 seajs.use(['js/common','js/channel/search'], function (common,search) { 65 seajs.use(['js/common','js/channel/search'], function (common,search) {
66 common.init(); 66 common.init();
67 search.init(); 67 search.init();
68 }); 68 });
69 </script> 69 </script>
70 -{{/ search320_js}} 70 +{{/ search}}
71 71
72 -{{# writer320_js}} 72 +{{# writer}}
73 <script type="text/javascript"> 73 <script type="text/javascript">
74 -  
75 - /*function updateState() {  
76 - seajs.use("channel/edit320", function(edit) {  
77 - edit.updateLogin();  
78 - });  
79 - }*/  
80 seajs.use(["js/channel/edit320"], function(edit){ 74 seajs.use(["js/channel/edit320"], function(edit){
81 edit.init(); 75 edit.init();
82 -  
83 }); 76 });
84 77
85 </script> 78 </script>
86 -{{/ writer320_js}} 79 +{{/ writer}}
87 80
88 81
89 {{# detail}} 82 {{# detail}}
@@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
17 <p>CopyRight © 2014 南京新与力文化传播有限公司<br />苏ICP备09011225号</p> 17 <p>CopyRight © 2014 南京新与力文化传播有限公司<br />苏ICP备09011225号</p>
18 </footer> 18 </footer>
19 </div> 19 </div>
20 -<script type="text/javascript" src="http://cmsres.dev.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>  
21 -<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/mobile.js"></script> 20 +<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>
  21 +<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/mobile.js"></script>
22 {{> common/script320}} 22 {{> common/script320}}
23 </body> 23 </body>
24 </html> 24 </html>
@@ -21,6 +21,18 @@ @@ -21,6 +21,18 @@
21 </head> 21 </head>
22 <body id="{{channel}}"> 22 <body id="{{channel}}">
23 <div id="mobile-wrap"> 23 <div id="mobile-wrap">
  24 + <!--下载GIRLS-->
  25 + <div class="header-download-wrap">
  26 + <div class="header-download">
  27 + <span class="tip-pic">YOHO GIRLS</span>
  28 + <div class="tip-info">
  29 + <h2>YOHO!GIRLS</h2>
  30 + <p>No Fashion,No Life!</p>
  31 + <a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a>
  32 + </div>
  33 + <span class="tip-c" onclick="">关闭</span>
  34 + </div>
  35 + </div>
24 <!--header--> 36 <!--header-->
25 <header class="girl-header"> 37 <header class="girl-header">
26 <span class="header-logo">Logo</span> 38 <span class="header-logo">Logo</span>
@@ -30,7 +42,7 @@ @@ -30,7 +42,7 @@
30 <div class="girl-nav-wrapper"> 42 <div class="girl-nav-wrapper">
31 <nav class="girl-nav swiper-container"> 43 <nav class="girl-nav swiper-container">
32 <ul class="swiper-wrapper"> 44 <ul class="swiper-wrapper">
33 - <li class="swiper-slide nav-home"><a href="/mobile.html">home</a></li> 45 + <li class="swiper-slide nav-default"><a href="/mobile.html">home</a></li>
34 <li class="swiper-slide nav-fashion"><a href="/fashion/mobile.html">fashion</a></li> 46 <li class="swiper-slide nav-fashion"><a href="/fashion/mobile.html">fashion</a></li>
35 <li class="swiper-slide nav-beauty"><a href="/beauty/mobile.html">beauty</a></li> 47 <li class="swiper-slide nav-beauty"><a href="/beauty/mobile.html">beauty</a></li>
36 <li class="swiper-slide nav-sport"><a href="/sports/mobile.html">sport</a></li> 48 <li class="swiper-slide nav-sport"><a href="/sports/mobile.html">sport</a></li>