你肯定调换的时候没有把所有的模块代码调换,比如移动资讯就要把下面这些代码全部移动,我本地测试过了,没问题的。
- <div class="column">
- <div class="col1">
- <div class="global_module">
- <div class="global_module1_caption"><h3>资讯</h3><a class="more" href="#action/news#">更多>></a></div>
- <ul class="global_tx_list1">
- <!--{if !empty($_SBLOCK['hotnews'])}-->
- <!--{eval $hotnews2 = @array_slice($_SBLOCK['hotnews'], 5, 17)}-->
- <!--{/if}-->
- <!--{loop $hotnews2 $value}-->
- <li><span class="box_r">#date('m-d',$value['dateline'])#</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div><!--col1 end-->
-
- <!--{block name="spacenews" parameter="digest/1,2,3/order/i.viewnum DESC,i.dateline DESC/limit/0,6/cachetime/89877/subjectlen/34/subjectdot/0/cachename/hotnews2"}-->
- <div class="col2">
- <div class="global_module bg_fff">
- <div class="global_module2_caption"><h3>本月精华</h3></div>
- <ul class="global_tx_list2">
- <!--{loop $_SBLOCK['hotnews2'] $value}-->
- <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div><!--col2 end-->
- </div><!--column end-->
复制代码 |