文章详细页样式修改。
This commit is contained in:
parent
13c48ed9be
commit
ce6c5354a2
|
@ -8,9 +8,8 @@ $this->headMeta()->appendName('description', mb_substr($this->infos['description
|
|||
================================================== -->
|
||||
<!-- Wrap the rest of the page in another container to center all the content. -->
|
||||
|
||||
<div class="container marketing">
|
||||
|
||||
<!-- Three columns of text below the carousel -->
|
||||
<div class="container marketing">
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="Lbox">
|
||||
|
@ -18,27 +17,28 @@ $this->headMeta()->appendName('description', mb_substr($this->infos['description
|
|||
<ul class="unstyled nav nav-pills nav-stacked">
|
||||
<?php if(!empty($this->categories)) { ?>
|
||||
<?php foreach($this->categories as $k=>$v) { ?>
|
||||
<li <?= $v['ROOTDEEP'] > 0 ? 'style="padding-left:'. (12 * $v['ROOTDEEP']) .'px"':"" ?>><a href="/news/<?= $v['code'] ?>"><?= $v['title'] ?></a></li>
|
||||
<li <?= $v['ROOTDEEP'] > 0 ? 'style="padding-left:'. (12 * $v['ROOTDEEP']) .'px"':"" ?>><a href="/news/<?= $v['code'] ?>">
|
||||
<?= $v['title'] ?>
|
||||
</a></li>
|
||||
<?php } } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.span4 -->
|
||||
</div><!-- /.span3 -->
|
||||
|
||||
<div class="span9">
|
||||
<div class="Lbox">
|
||||
<h2 class="box-title"><?php echo $this->info['title'];?></h2>
|
||||
<div class="text-left">
|
||||
发布时间:<span style="color:#0088cc"><?php echo date("Y-m-d",strtotime($this->info['ts_published']));?></span>
|
||||
来源:<span style="color:#0088cc">青海省生态环境遥感监测中心</span>
|
||||
</div>
|
||||
<div class="text-center" style=" margin-bottom:30px;font-family:'宋体'; font-size:12px; color:#999999; text-align:center;"> 发布时间:<span style="color:#0088cc"><?php echo date("Y-m-d",strtotime($this->info['ts_published']));?></span> 来源:<span style="color:#0088cc">青海省生态环境遥感监测中心</span> </div>
|
||||
<p class="lead">
|
||||
<?php if(!empty($this->mdinfo)){?>
|
||||
<?php foreach($this->mdinfo as $v){ ?>
|
||||
<div class="info">相关数据:《<a href="/data/<?= $v['uuid']?>"><?= $v['title']?></a>》</div>
|
||||
<div class="info">相关数据:《<a href="/data/<?= $v['uuid']?>">
|
||||
<?= $v['title']?>
|
||||
</a>》
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
<div class="media">
|
||||
|
||||
<div class="pull-left">
|
||||
<?php
|
||||
if(!empty($this->info['image']))
|
||||
|
@ -47,15 +47,11 @@ $this->headMeta()->appendName('description', mb_substr($this->infos['description
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php echo $this->info['body'];?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php echo $this->info['body'];?> </div>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.span9 -->
|
||||
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<!-- /.row-fluid -->
|
||||
</div>
|
Loading…
Reference in New Issue