修改了页面视图
This commit is contained in:
parent
4d544ee293
commit
8145b7f80f
|
@ -5,7 +5,8 @@ $this->headTitle()->setSeparator(' - ');
|
|||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb($this->config->title->data);
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/static/js/jqFancyTransitions.1.8.js');
|
||||
$this->headScript()->appendFile('/static/js/jqgalscroll.js');
|
||||
$this->headLink()->appendStylesheet('/static/css/jqGalScroll.css');
|
||||
?>
|
||||
<div id="metadata" class="full clear">
|
||||
<div class="width2 fleft">
|
||||
|
@ -95,18 +96,22 @@ $this->headScript()->appendFile('/static/js/jqFancyTransitions.1.8.js');
|
|||
</div>
|
||||
</div>
|
||||
<div class="tbox mt12">
|
||||
<div id='slideshowHolder'>
|
||||
<ul id='slideshowHolder'>
|
||||
<?php
|
||||
foreach ($this->mdrandoms as $v)
|
||||
{
|
||||
echo '<img src="/service/thumb/id/'.$v['id'].'" alt="'.$v['title'].'" />
|
||||
<a href="/data/'.$v['uuid'].'"></a>';
|
||||
echo '<li><a href="/data/'.$v['uuid'].'" target="_blank"><img src="/service/thumb/id/'.$v['id'].'" alt="'.$v['title'].'" /></a></li>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</ul>
|
||||
<script>
|
||||
$(document).ready( function(){
|
||||
$('#slideshowHolder').jqFancyTransitions({ 'width': 280, 'height': 300,'links': true });
|
||||
$(document).ready(function(){
|
||||
$("#slideshowHolder").jqGalScroll({
|
||||
speed:1,
|
||||
width: 270,
|
||||
height: 245,
|
||||
direction : 'vertical'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle('首页');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headScript()->appendFile('/static/js/jqFancyTransitions.1.8.js');
|
||||
$this->headScript()->appendFile('/static/js/jqgalscroll.js');
|
||||
$this->headLink()->appendStylesheet('/static/css/jqGalScroll.css');
|
||||
$auth = Zend_Auth::getInstance();
|
||||
?>
|
||||
<div id="index" class="full clear">
|
||||
|
@ -56,22 +57,26 @@
|
|||
</div>
|
||||
</div><!-- left -->
|
||||
<div class="width3 fright">
|
||||
<div class="tbox">
|
||||
<div id='slideshowHolder'>
|
||||
<div class="tbox">
|
||||
<ul id='slideshowHolder'>
|
||||
<?php
|
||||
foreach ($this->mdrandoms as $v)
|
||||
{
|
||||
echo '<img src="/service/thumb/id/'.$v->id.'" alt="'.$v->title.'" />
|
||||
<a href="/data/'.$v->uuid.'"></a>';
|
||||
echo '<li><a href="/data/'.$v->uuid.'" target="_blank"><img src="/service/thumb/id/'.$v->id.'" alt="'.$v->title.'" /></a></li>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready( function(){
|
||||
$('#slideshowHolder').jqFancyTransitions({ 'width': 280, 'height': 300,'links': true });
|
||||
$(document).ready(function(){
|
||||
$("#slideshowHolder").jqGalScroll({
|
||||
speed:1,
|
||||
width: 270,
|
||||
height: 300,
|
||||
direction : 'vertical'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<div class="tbox mt12">
|
||||
<div class="title corners-top">在线下载热门数据</div>
|
||||
<div class="content" style="width:258px;">
|
||||
|
|
Loading…
Reference in New Issue