blob: 03837f3bd3f48e28b50480e8906f827922081601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<header>
<div id="top"></div>
<!-- 导航栏 -->
<nav class="navbar navbar-default navbar-fixed-top" id="nav" <?php if($this->options->lgimg_url && $this->options->lgimg_url!='') :?>style="opacity:0.8"<?php endif; ?>>
<Div class="container-fluid">
<div class="nav-logo">
<span class="nav-logo-icon">
<i class="<?php $this->options->IndexIcon(); ?> mobile-none"></i>
</span>
<span class="nav-logo-indexname mobile-none">
<?php $this->options->IndexName(); ?>
</span>
</div>
<div class="nav-content">
<ul class="nav navbar-nav">
<?php if($this->options->custom_nav && $this->options->custom_nav!='') :?>
<?php $this->options->custom_nav() ?>
<?php else: ?>
<?php $this->widget('Widget_Contents_Page_List')
->parse('<li><a href="{permalink}"><i class="fa fa-paper-plane" aria-hidden="true"></i> {title}</a></li>'); ?>
<li><a href="<?php $this->options->SiteUrl(); ?>"><i class="fa fa-home" aria-hidden="true"></i> 首页</a></li>
<?php endif; ?>
</ul>
</div>
</div>
</nav>
<!-- 首页大图 -->
<?php if($this->options->lgimg_url && $this->options->lgimg_url!='') :?>
<div class="jumbotron" style="margin-bottom:-80px;background:url('<?php $this->options->lgimg_url(); ?>');background-size:cover;background-repeat:no-repeat;">
<h1><?php $this->options->IndexName(); ?></h1>
<p><?php $this->options->IndexDecoration(); ?></p>
</div>
<?php endif; ?>
<br />
<br />
<br />
<br />
<br />
<!-- 能偷懒不写样式为什么不用br? -->
</header>
|