Showing
8 changed files
with
9 additions
and
9 deletions
@@ -122,7 +122,6 @@ seajs.use('yohood',function(yohood){ | @@ -122,7 +122,6 @@ seajs.use('yohood',function(yohood){ | ||
122 | yohood.layout(); | 122 | yohood.layout(); |
123 | }) | 123 | }) |
124 | </script> | 124 | </script> |
125 | -</script> | ||
126 | <?php $this->_block('js');?> | 125 | <?php $this->_block('js');?> |
127 | <?php $this->_endblock();?> | 126 | <?php $this->_endblock();?> |
128 | </body> | 127 | </body> |
@@ -46,6 +46,11 @@ | @@ -46,6 +46,11 @@ | ||
46 | <?php $this->_js('index.js', array( | 46 | <?php $this->_js('index.js', array( |
47 | SITE_JS . '/lib/seajs.js', | 47 | SITE_JS . '/lib/seajs.js', |
48 | ));?> | 48 | ));?> |
49 | +<script type="text/javascript"> | ||
50 | +seajs.use('mobile',function(mobile){ | ||
51 | + mobile.common(); | ||
52 | +}) | ||
53 | +</script> | ||
49 | <?php $this->_block('js');?> | 54 | <?php $this->_block('js');?> |
50 | <?php $this->_endblock();?> | 55 | <?php $this->_endblock();?> |
51 | </body> | 56 | </body> |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <div id="pageContent" style="text-align: center;" class="pagination"> | 13 | <div id="pageContent" style="text-align: center;" class="pagination"> |
14 | <?php $this->_component('Common_Pagination',array( | 14 | <?php $this->_component('Common_Pagination',array( |
15 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', | 15 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', |
16 | - 'prev_label' => '<span class="iconfont"></span> PREV', | 16 | + 'prev_label' => '<span class="iconfont"></span> PREV','next_class'=>'next', |
17 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', | 17 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', |
18 | 'page_class'=>'pagination-inner clearfix', 'id'=>'img_page' | 18 | 'page_class'=>'pagination-inner clearfix', 'id'=>'img_page' |
19 | ));?> | 19 | ));?> |
@@ -30,7 +30,6 @@ | @@ -30,7 +30,6 @@ | ||
30 | <?php $this->_block('js');?> | 30 | <?php $this->_block('js');?> |
31 | <script type="text/javascript"> | 31 | <script type="text/javascript"> |
32 | seajs.use(['zepto', 'mobile'],function($, mobile){ | 32 | seajs.use(['zepto', 'mobile'],function($, mobile){ |
33 | - mobile.common(); | ||
34 | mobile.brand(); | 33 | mobile.brand(); |
35 | }) | 34 | }) |
36 | </script> | 35 | </script> |
@@ -89,7 +89,6 @@ | @@ -89,7 +89,6 @@ | ||
89 | <?php $this->_block('js');?> | 89 | <?php $this->_block('js');?> |
90 | <script type="text/javascript"> | 90 | <script type="text/javascript"> |
91 | seajs.use(['zepto', 'mobile'],function($, mobile){ | 91 | seajs.use(['zepto', 'mobile'],function($, mobile){ |
92 | - mobile.common(); | ||
93 | mobile.index(); | 92 | mobile.index(); |
94 | }) | 93 | }) |
95 | </script> | 94 | </script> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', | 23 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', |
24 | 'prev_label' => '<span class="iconfont"></span> PREV', | 24 | 'prev_label' => '<span class="iconfont"></span> PREV', |
25 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', | 25 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', |
26 | - 'page_class'=>'pagination-inner clearfix', 'id'=>'img_page' | 26 | + 'next_class'=>'next','page_class'=>'pagination-inner clearfix', 'id'=>'img_page' |
27 | ));?> | 27 | ));?> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
@@ -32,7 +32,6 @@ | @@ -32,7 +32,6 @@ | ||
32 | <script type="text/javascript"> | 32 | <script type="text/javascript"> |
33 | seajs.use("mobile", function(mobile) | 33 | seajs.use("mobile", function(mobile) |
34 | { | 34 | { |
35 | - mobile.common(); | ||
36 | mobile.news(); | 35 | mobile.news(); |
37 | }); | 36 | }); |
38 | </script> | 37 | </script> |
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | <div id="pageContent" style="text-align: center;" class="pagination"> | 27 | <div id="pageContent" style="text-align: center;" class="pagination"> |
28 | <?php $this->_component('Common_Pagination',array( | 28 | <?php $this->_component('Common_Pagination',array( |
29 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', | 29 | 'pagination' => $this->view->pagination,'next_label' => 'NEXT <span class="iconfont"></span>', |
30 | - 'prev_label' => '<span class="iconfont"></span> PREV', | 30 | + 'prev_label' => '<span class="iconfont"></span> PREV','next_class'=>'next', |
31 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', | 31 | 'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont', |
32 | 'page_class'=>'pagination-inner clearfix', 'id'=>'img_page' | 32 | 'page_class'=>'pagination-inner clearfix', 'id'=>'img_page' |
33 | ));?> | 33 | ));?> |
@@ -37,7 +37,6 @@ | @@ -37,7 +37,6 @@ | ||
37 | <?php $this->_block('js');?> | 37 | <?php $this->_block('js');?> |
38 | <script type="text/javascript"> | 38 | <script type="text/javascript"> |
39 | seajs.use('mobile',function(mobile){ | 39 | seajs.use('mobile',function(mobile){ |
40 | - mobile.common(); | ||
41 | mobile.show(); | 40 | mobile.show(); |
42 | }) | 41 | }) |
43 | </script> | 42 | </script> |
1 | <?php $this->_extends('layout/default_layout_mobile');?> | 1 | <?php $this->_extends('layout/default_layout_mobile');?> |
2 | <?php $this->_block('main');?> | 2 | <?php $this->_block('main');?> |
3 | -<h2 class="main-title">热门视频</h2> | 3 | +<h2 class="main-title">热点视频</h2> |
4 | <div class="video-main content-main"> | 4 | <div class="video-main content-main"> |
5 | <div class="video-wrap"> | 5 | <div class="video-wrap"> |
6 | <div class="main-layout clearfix"> | 6 | <div class="main-layout clearfix"> |
-
Please register or login to post a comment