home.html
2.79 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{template 'common/header'}
<style>
body{
font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
color:{$_W['styles']['fontcolor']};
padding:0;
margin:0;
background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
background-color:{if empty($_W['styles']['indexbgcolor'])}#D7E0E4{else}{$_W['styles']['indexbgcolor']}{/if};
background-size:cover;
{$_W['styles']['indexbgextra']}
}
a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
{$_W['styles']['css']}
.box{width:100%; height:336px; background:url('./themes/style46/images/bg_index.jpg') no-repeat; background-size:cover;}
.box .box-item{display:block; height:67px; overflow:hidden; line-height:67px; text-decoration:none; color:#14647b; border-radius:0.25em; margin-bottom:1px;}
.box .box-item i{float:right; display:block; font-size:35px; height:51px; width:51px; margin:8px 20px 8px 0; text-align:center;line-height:51px; border-radius:50%; vertical-align:middle; overflow:hidden;}
.box .box-item span{color:{$_W['styles']['fontnavcolor']}; display:inline-block; font-weight:bold; overflow:hidden; width:50%; margin-left:20px;}
.box .box-item:hover span{color:#ffffff;}
.img a{display:block; width:100%; text-align:center;height:200px; line-height:200px; border-bottom:1px solid #eeeeee;}
.img img{height:198px; margin:0 auto; vertical-align:middle;}
.img i{width:70px; height:70px; margin:65px auto; font-size:70px; }
.column,.column li{padding:0px ;margin:0px; list-style:none;}
.column{margin:4.4% 3.45%;}
.column li{background:rgba(255,255,255,0.9); border-bottom:#e0e0e0 solid 1px; box-shadow:0 0 0.2em rgba(0,0,0,0.1);}
.column li a{ display:block; height:55px; line-height:55px; border-left:#fff solid 0.26em; font-weight:bold; color:#727071; padding:0 15px; text-decoration:none;}
.column li a:hover{border-left:#097a97 solid 0.26em; color:#097a97;}
.column li a i{color:#D2D2D3;}
.column li a span{color:{$_W['styles']['fontnavcolor']};}
</style>
<div class="box clearfix">
{data func="site_navs" section="1" item="row"}
<div class="box2">
{$row['html']}
</div>
{php if($row['iteration'] > 4) break;}
{/data}
</div>
<div class="img clearfix">
{data func="site_navs" section="3" item="row"}
<a href="{$row['url']}" class="box-item">
{if !empty($row['icon'])}
<img src="{$_W['attachurl']}{$row['icon']}">
{else}
<i class="fa {$row['css']['icon']['icon']}" style="{$row['css']['icon']['style']}"></i>
{/if}
</a>
{php if($row['iteration'] > 0) break;}
{/data}
</div>
<ul class="column">
{data func="site_navs" section="2" item="row"}
<li>
<a href="{$row['url']}" class="clearfix">
<span style="{$row['css']['name']}" title="{$row['name']}">{$row['name']}</span>
<span class="pull-right"><i class="fa fa-chevron-right"></i></span>
</a>
</li>
{/data}
</ul>
{template 'common/footer'}